Nxld51 difference b w stp, rstp, pvst & mstp

Page 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 In stable topology all bridges generate BPDU every Hello (2 sec) : used root sends BPDU and relayed by as“keepalives� mechanism. others. Port states Disabled Blocking Listening Learning Forwarding

Discarding (replaces Learning Forwarding

disabled,

blocking

and

listening)


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 edge port (end node port) is an integrated Link type which an end node port aport fast (in depends on the duplex : Point-to-point for full duplex & shared for case a BPDU is received). half duplex). Topology changes and convergence Use timers for convergence - Introduce proposal and agreement process for synchronization (< 1 (advertised by the root): sec).- Hello, Max Age and Forward delay timer used only for backward compatibility with standard STP Hello(2 sec) Max Age(20 sec = 10 missed Only RSTP port receiving STP (802.1d) messages will behaves as hellos) standard STP. Forward delay timer (15 sec) Faster transition on point-to-point and edge ports only:Less states – Slow transition (50sec): Blocking No learning state, doesn’t wait to be informed by others, (20s) =>Listening (15s) =>Learning instead, actively looks for possible failure by RLQ (Request Link Query) (15s) =>Forwarding a feedback mechanism. Use only 2 bits from the flag Use other 6 bits of the flag octet (BPDU type 2/version 2): octet:Bit 7 : Topology Change Bit 1 : ProposalBit 2, 3 : Port roleBit 4 : LearningBit 5 : ForwardingBit 6 Acknowledgment.Bit 0 : Topology : AgreementBit 0, 7 : TCA & TCN for backward compatibility Change The bridge that discover a change in the network inform the root, that in turns informs all others by TC is flooded through the network, every bridge generate TC sending BPDU with TCA bit set and (Topology change) and inform its neighbors when it is aware of a instruct them to clear their DB topology change andimmediately delete old DB entries. entries after “short timer” (~Forward delay) expire.


Difference b/w STP, RSTP, PVST & MSTP If a non-root bridge doesn’t receive Hello for 10*Hello (advertised from Wait for 3*Hello on a root port (advertised from the root) before the root), start claiming the root deciding to act. role by generating its own Hello. Wait until TC reach the root + short Delete immediately local DB except MAC of the port receiving the timer (~Forward delay) expires, topology changes (proposal) then flash all root DB entries

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).


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.