SlideShare a Scribd company logo
2
Most read
3
Most read
Difference b/w STP, RSTP, PVST & MSTP
Difference between Spanning Tree Protocol (STP) and Rapid Spanning Tree
Protocol (RSTP)
1. The main difference between Rapid Spanning Tree Protocol (RSTP IEEE 802.1W) and Spanning
Tree Protocol (STP IEEE 802.1D) is that Rapid Spanning Tree Protocol (RSTP IEEE 802.1W)
assumes the three Spanning Tree Protocol (STP) ports states Listening, Blocking, and Disabled are
same (these states do not forward Ethernet frames and they do not learn MAC addresses).
Hence Rapid Spanning Tree Protocol (RSTP IEEE 802.1W) places them all into a new called
Discarding state. Learning and forwarding ports remain more or less the same.
2. In Spanning Tree Protocol (STP IEEE 802.1D), bridges would only send out a BPDU when they
received one on their Root Port. They only forward BPDUs that are generated by the Root Switch
(Root Bridge). Rapid Spanning Tree Protocol (RSTP IEEE 802.1W) enabled switches send out
BPDUs every hello time, containing current information.
3. Spanning Tree Protocol (STP IEEE 802.1D) includes two port types; STP Root Port and Designated
Port. Rapid Spanning Tree Protocol (RSTP IEEE 802.1W) includes two additional port types called
as alternate ports and backup ports.
An alternate port is a port that has an alternative path or paths to the Root Switch (Root Bridge) but is
currently in a discarding state (can be considered as an additional unused Root Port). A backup port is a
port on a network segment that could be used to reach the root switch, but there is already an active
STP Designated Port for the segment (can be considered as an additional unused designated port).
Table View
STP (802.1d) Rapid STP (802.1w)
In stable topology only the
root sends BPDU and relayed by
others.
In stable topology all bridges generate BPDU every Hello (2 sec) : used
as“keepalives” mechanism.
Port states
Disabled
Blocking
Listening
Learning
Forwarding
Discarding (replaces disabled, blocking and listening)
Learning
Forwarding
Difference b/w STP, RSTP, PVST & MSTP
To avoid flapping, it takes 3 seconds for a port to migrate from one protocol to another (STP / RSTP) in a
mixed segment.
Port roles
Root (Forwarding)
Designated (Forwarding)
Non-Designated (Blocking)
Root (Forwarding)
Designated (Forwarding)
Alternate(Discarding)Backup (Discarding)
Additional configuration to make
an end node port aport fast (in
case a BPDU is received).
- An edge port (end node port) is an integrated Link type which
depends on the duplex : Point-to-point for full duplex & shared for
half duplex).
Topology changes and convergence
Use timers for convergence
(advertised by the root):
Hello(2 sec)
Max Age(20 sec = 10 missed
hellos)
Forward delay timer (15 sec)
- Introduce proposal and agreement process for synchronization (< 1
sec).- Hello, Max Age and Forward delay timer used only for backward
compatibility with standard STP
Only RSTP port receiving STP (802.1d) messages will behaves as
standard STP.
Slow transition (50sec): Blocking
(20s) =>Listening (15s) =>Learning
(15s) =>Forwarding
Faster transition on point-to-point and edge ports only:Less states –
No learning state, doesn’t wait to be informed by others,
instead, actively looks for possible failure by RLQ (Request Link Query)
a feedback mechanism.
Use only 2 bits from the flag
octet:Bit 7 : Topology Change
Acknowledgment.Bit 0 : Topology
Change
Use other 6 bits of the flag octet (BPDU type 2/version 2):
Bit 1 : ProposalBit 2, 3 : Port roleBit 4 : LearningBit 5 : ForwardingBit 6
: AgreementBit 0, 7 : TCA & TCN for backward compatibility
The bridge that discover a change
in the network inform the root,
that in turns informs all others by
sending BPDU with TCA bit set and
instruct them to clear their DB
entries after “short timer”
(~Forward delay) expire.
TC is flooded through the network, every bridge generate TC
(Topology change) and inform its neighbors when it is aware of a
topology change andimmediately delete old DB entries.
Difference b/w STP, RSTP, PVST & MSTP
If a non-root bridge doesn’t receive
Hello for 10*Hello (advertised from
the root), start claiming the root
role by generating its own Hello.
Wait for 3*Hello on a root port (advertised from the root) before
deciding to act.
Wait until TC reach the root + short
timer (~Forward delay) expires,
then flash all root DB entries
Delete immediately local DB except MAC of the port receiving the
topology changes (proposal)
Difference between PVST+ (Per VLan Spanning Tree) & MST (Multiple
Spanning Tree)
1. PVST+ (Per VLan Spanning Tree)- It's difference from 802.1Q CST because instead of having
a single root switch for all VLAN, The PVST+ mean STP is run in each VLAN.
2. MST (Multiple Spanning Tree)- MST maps multiple VLANs into a spanning tree instance,
with each instance having a spanning tree topology independent of other spanning tree
instances.This architecture provides multiple forwarding paths for data traffic, enables load
balancing, and reduces the number of STP instances required to support a large number of
VLANs. MST improves the fault tolerance of the network because a failure in one instance
(forwarding path) does not affect other instances (forwarding paths).

More Related Content

PPTX
Spanning tree protocol
PDF
Spanning tree protocol (stp)
PDF
STP (spanning tree protocol)
PDF
Overview of Spanning Tree Protocol
PPT
Spanning Tree Protocol
PPT
Spannig tree
PDF
Overview of Spanning Tree Protocol (STP & RSTP)
PDF
RSTP (rapid spanning tree protocol)
Spanning tree protocol
Spanning tree protocol (stp)
STP (spanning tree protocol)
Overview of Spanning Tree Protocol
Spanning Tree Protocol
Spannig tree
Overview of Spanning Tree Protocol (STP & RSTP)
RSTP (rapid spanning tree protocol)

What's hot (20)

PDF
Eigrp
PPT
CCNA PPT
PPTX
Open shortest path first (ospf)
PPTX
CCNA v6.0 ITN - Chapter 02
PDF
Cisco ospf
PPT
PPTX
Rip presentation
PPT
Sigtran protocol
PDF
VLAN Trunking Protocol
PDF
Mpls basics introduction
PPTX
IP Multicasting
PPTX
Fools your enemy with MikroTik
PPT
CCNA IP Addressing
PPTX
Ospf area types
PPT
Spanning tree protocol
PDF
MPLS Concepts and Fundamentals
PPT
Ospf
PPT
IP Routing
Eigrp
CCNA PPT
Open shortest path first (ospf)
CCNA v6.0 ITN - Chapter 02
Cisco ospf
Rip presentation
Sigtran protocol
VLAN Trunking Protocol
Mpls basics introduction
IP Multicasting
Fools your enemy with MikroTik
CCNA IP Addressing
Ospf area types
Spanning tree protocol
MPLS Concepts and Fundamentals
Ospf
IP Routing
Ad

Similar to Difference b/w STP RSTP PVST & MSTP (20)

PPTX
STP_Overview_with_Notes for student.pptx
PPTX
STP protocols in Layer 2 cheat sheet.pptx
PDF
This presentation assumes you are already familiar with 802.1d and PVST Span...
PPTX
Proper spanning tree.pptx
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 3
PDF
Spanning Tree Protocol, from a future CCNA´s perspective.
PPTX
CCNA3 Verson6 Chapter3
PDF
Spanning Tree Protocol Cheat Sheet
DOCX
Packet Tracer: Cisco, Spanning tree protocol
PPTX
Networking Certification Essentials Week 2.pptx
PPT
Protocolo Spanning Tree
PPT
Exploration lan switching_chapter5
PPT
Exploration lan switching_chapter5
PDF
Stp. cli command reference, quiz
PPT
PDF
PLNOG 17 - Piotr Wojciechowski - 802.1s MST, czyli STP u operatora i w DC nie...
PPTX
Stp premdeep gill-lu045310-14aug12
PPTX
9-STP-Collision Domain, Broadcast Domain.pptx
PPT
02_Layer2_Network_Design.ppt
PPTX
ENCOR_Capitulo 2.pptx
STP_Overview_with_Notes for student.pptx
STP protocols in Layer 2 cheat sheet.pptx
This presentation assumes you are already familiar with 802.1d and PVST Span...
Proper spanning tree.pptx
CCNA (R & S) Module 04 - Scaling Networks - Chapter 3
Spanning Tree Protocol, from a future CCNA´s perspective.
CCNA3 Verson6 Chapter3
Spanning Tree Protocol Cheat Sheet
Packet Tracer: Cisco, Spanning tree protocol
Networking Certification Essentials Week 2.pptx
Protocolo Spanning Tree
Exploration lan switching_chapter5
Exploration lan switching_chapter5
Stp. cli command reference, quiz
PLNOG 17 - Piotr Wojciechowski - 802.1s MST, czyli STP u operatora i w DC nie...
Stp premdeep gill-lu045310-14aug12
9-STP-Collision Domain, Broadcast Domain.pptx
02_Layer2_Network_Design.ppt
ENCOR_Capitulo 2.pptx
Ad

More from Netwax Lab (20)

PDF
Eincop Netwax Lab: Lab 1 static route
PDF
Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)
PDF
Eincop Netwax Lab: Redistribution
PDF
Eincop Netwax Lab: Route Redistribution
PDF
Nxll12 zone based firewall
PDF
Nxll11 bgp
PDF
Nxll09 access list
PDF
Nxll21 ospf filtering & summarization
PDF
Nxll10 v lan and trunking
PDF
Nxll16 basic asa v8.2
PDF
Nxll20 na ting
PDF
Nxll14 cut through-proxy on asa
PDF
Nxll17 dynamic routing with asa
PDF
Nxll18 vpn (s2 s gre & dmvpn)
PDF
Nxll19 vrrp (virtual router redundancy protocol)
PDF
Nxll22 role based cli
PDF
Nxll25 hsrp with failover
PDF
Nxll26 bgp ii
PDF
Nxll28 ospf iii
PDF
Nxll23 i pv6
Eincop Netwax Lab: Lab 1 static route
Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)
Eincop Netwax Lab: Redistribution
Eincop Netwax Lab: Route Redistribution
Nxll12 zone based firewall
Nxll11 bgp
Nxll09 access list
Nxll21 ospf filtering & summarization
Nxll10 v lan and trunking
Nxll16 basic asa v8.2
Nxll20 na ting
Nxll14 cut through-proxy on asa
Nxll17 dynamic routing with asa
Nxll18 vpn (s2 s gre & dmvpn)
Nxll19 vrrp (virtual router redundancy protocol)
Nxll22 role based cli
Nxll25 hsrp with failover
Nxll26 bgp ii
Nxll28 ospf iii
Nxll23 i pv6

Recently uploaded (20)

PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
project resource management chapter-09.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
August Patch Tuesday
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Mushroom cultivation and it's methods.pdf
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Hybrid model detection and classification of lung cancer
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Encapsulation theory and applications.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
1. Introduction to Computer Programming.pptx
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
project resource management chapter-09.pdf
A Presentation on Artificial Intelligence
Building Integrated photovoltaic BIPV_UPV.pdf
August Patch Tuesday
Programs and apps: productivity, graphics, security and other tools
Enhancing emotion recognition model for a student engagement use case through...
Digital-Transformation-Roadmap-for-Companies.pptx
Mushroom cultivation and it's methods.pdf
cloud_computing_Infrastucture_as_cloud_p
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Hybrid model detection and classification of lung cancer
1 - Historical Antecedents, Social Consideration.pdf
NewMind AI Weekly Chronicles - August'25-Week II
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Encapsulation theory and applications.pdf
DP Operators-handbook-extract for the Mautical Institute
Group 1 Presentation -Planning and Decision Making .pptx
Encapsulation_ Review paper, used for researhc scholars
1. Introduction to Computer Programming.pptx

Difference b/w STP RSTP PVST & MSTP

  • 1. Difference b/w STP, RSTP, PVST & MSTP Difference between Spanning Tree Protocol (STP) and Rapid Spanning Tree Protocol (RSTP) 1. The main difference between Rapid Spanning Tree Protocol (RSTP IEEE 802.1W) and Spanning Tree Protocol (STP IEEE 802.1D) is that Rapid Spanning Tree Protocol (RSTP IEEE 802.1W) assumes the three Spanning Tree Protocol (STP) ports states Listening, Blocking, and Disabled are same (these states do not forward Ethernet frames and they do not learn MAC addresses). Hence Rapid Spanning Tree Protocol (RSTP IEEE 802.1W) places them all into a new called Discarding state. Learning and forwarding ports remain more or less the same. 2. In Spanning Tree Protocol (STP IEEE 802.1D), bridges would only send out a BPDU when they received one on their Root Port. They only forward BPDUs that are generated by the Root Switch (Root Bridge). Rapid Spanning Tree Protocol (RSTP IEEE 802.1W) enabled switches send out BPDUs every hello time, containing current information. 3. Spanning Tree Protocol (STP IEEE 802.1D) includes two port types; STP Root Port and Designated Port. Rapid Spanning Tree Protocol (RSTP IEEE 802.1W) includes two additional port types called as alternate ports and backup ports. An alternate port is a port that has an alternative path or paths to the Root Switch (Root Bridge) but is currently in a discarding state (can be considered as an additional unused Root Port). A backup port is a port on a network segment that could be used to reach the root switch, but there is already an active STP Designated Port for the segment (can be considered as an additional unused designated port). Table View STP (802.1d) Rapid STP (802.1w) In stable topology only the root sends BPDU and relayed by others. In stable topology all bridges generate BPDU every Hello (2 sec) : used as“keepalives” mechanism. Port states Disabled Blocking Listening Learning Forwarding Discarding (replaces disabled, blocking and listening) Learning Forwarding
  • 2. Difference b/w STP, RSTP, PVST & MSTP To avoid flapping, it takes 3 seconds for a port to migrate from one protocol to another (STP / RSTP) in a mixed segment. Port roles Root (Forwarding) Designated (Forwarding) Non-Designated (Blocking) Root (Forwarding) Designated (Forwarding) Alternate(Discarding)Backup (Discarding) Additional configuration to make an end node port aport fast (in case a BPDU is received). - An edge port (end node port) is an integrated Link type which depends on the duplex : Point-to-point for full duplex & shared for half duplex). Topology changes and convergence Use timers for convergence (advertised by the root): Hello(2 sec) Max Age(20 sec = 10 missed hellos) Forward delay timer (15 sec) - Introduce proposal and agreement process for synchronization (< 1 sec).- Hello, Max Age and Forward delay timer used only for backward compatibility with standard STP Only RSTP port receiving STP (802.1d) messages will behaves as standard STP. Slow transition (50sec): Blocking (20s) =>Listening (15s) =>Learning (15s) =>Forwarding Faster transition on point-to-point and edge ports only:Less states – No learning state, doesn’t wait to be informed by others, instead, actively looks for possible failure by RLQ (Request Link Query) a feedback mechanism. Use only 2 bits from the flag octet:Bit 7 : Topology Change Acknowledgment.Bit 0 : Topology Change Use other 6 bits of the flag octet (BPDU type 2/version 2): Bit 1 : ProposalBit 2, 3 : Port roleBit 4 : LearningBit 5 : ForwardingBit 6 : AgreementBit 0, 7 : TCA & TCN for backward compatibility The bridge that discover a change in the network inform the root, that in turns informs all others by sending BPDU with TCA bit set and instruct them to clear their DB entries after “short timer” (~Forward delay) expire. TC is flooded through the network, every bridge generate TC (Topology change) and inform its neighbors when it is aware of a topology change andimmediately delete old DB entries.
  • 3. Difference b/w STP, RSTP, PVST & MSTP If a non-root bridge doesn’t receive Hello for 10*Hello (advertised from the root), start claiming the root role by generating its own Hello. Wait for 3*Hello on a root port (advertised from the root) before deciding to act. Wait until TC reach the root + short timer (~Forward delay) expires, then flash all root DB entries Delete immediately local DB except MAC of the port receiving the topology changes (proposal) Difference between PVST+ (Per VLan Spanning Tree) & MST (Multiple Spanning Tree) 1. PVST+ (Per VLan Spanning Tree)- It's difference from 802.1Q CST because instead of having a single root switch for all VLAN, The PVST+ mean STP is run in each VLAN. 2. MST (Multiple Spanning Tree)- MST maps multiple VLANs into a spanning tree instance, with each instance having a spanning tree topology independent of other spanning tree instances.This architecture provides multiple forwarding paths for data traffic, enables load balancing, and reduces the number of STP instances required to support a large number of VLANs. MST improves the fault tolerance of the network because a failure in one instance (forwarding path) does not affect other instances (forwarding paths).