You are on page 1of 2
SPANNING TREE «= PART 1 packetlife.net Spanning Tree Protocols Legacy STP PST Pyst+ RSTP. RevsT+ st Algorithm LegacyST LegacyST — Legacy ST_—Rapid ST Rapid ST Rapid ST 802.1, 802.15, Defined By 802.1D-1998 Cisco Cisco 8021D-2004 Cisco 80210-2003 Instances 1 Per VLAN Per VLAN 1 Per VLAN Configurable Trunking N/A ISL 802.10, ISL N/A 802.19, ISL 802.19, ISL Spanning Tree Instance Comparison ste PvsT+ ust Root VLAN 1,10Root VLAN 20,20Root = MSTIORoot = MSTI1 Root MAIVLANs x mL 10 mVLAN20 VLAN 30 BPDU Format Spanning Tree Specifications Link Costs Feld sits Bandwtath cost Protocol 1D 16 — CLEEEID | vine 250 Version 8 10 Mbps 100 BPDUType 8 | 16 Mbps 62 Flags 45 Mbps 29 Root ID 64 100 Mbps 19 Root Path Cost 32 155 Mbps 14 Bridge ID 64 ee sh siti 622 Mbps. 6 Port ID 16 IEEE 802,1D-1998 - Deprecated legacy STP standard 1 SPS 4 Eero ATS ie IEEE 802.1w - Introduced RSTP poise B Max Age 16 IEEE 802.1D-2004 - Replaced legacy STP with RsTP_ 20+ Gbps 1 Poe c anes IEEE 802.18 - Introduced MST Port States Forward Delay 16 IEEE 802.19-2003 - Added MST to 802.10 Legacy st Rapid st Default Timers IEEE 802.1Q-2005 - Most recent 802.1Q revision Disabled Hello 2s PVST - Per-VLAN implementation of legacy STP Blocking ead Forward Delay 15s [Eq] PYST+ - Added 802.1Q trunking to PVST Pte Max Age 20s () RPVST+ - Per-VLAN implementation of RSTP Learning Learning 7 . Forwarding Forwarding Spanning Tree Operation 1 Determine root bridge Eoran ores: The bridge advertising the lowest bridge ID becomes the root bridge Legacy st Rapid st 2. Select root port Root Root Each bridge selects its primary port facing the root 4g Select designated ports One designated port is selected per segment Alternate Blocki 4 Block ports with loops ocking packup All non-root and non-desginated ports are blocked Designated Designated SPANNING TREE = PART 2 packetlife.net PVST+ and RPVST+ Configuration Bridge ID Format 4 12 4 spanning-tree mode {pvst | repid-pvst penning (owes | rapiovet Se es spanning-tree vlan 1-4998 priority 32768 BT 4-bit bridge priority (configurable from 0 to 61440 in spanning-trae vlan 1-4994 helto-tine 2 sistema eto s0o 0) spanning-tree vlan 1-4994 forward-tine 15 ‘System ID Extension spanning-tree vlan 1-499 max-age 20 12-bit value taken from VLAN number (IEEE 802.1t) MAC Address spanning-tree backbonefast 48-bit unique identifier spanning-tree uplinkfast Path Selection 1. Bridge with lowest root ID becomes the root interface FastEthernet0/1 spanning-tree [vlan 1-464] port-priority 123 2 Prefer the neighbor with the lowest cost to root spanning-tree [vlan 1-4894] cost 19 3 Prefer the neighbor with the lowest bridge 1D 4 Prefer the lowest sender port ID spanning-tree Lnk-type {point-to-point | shared) Optional PVST+ Ehancements PortFast spanning-tree portfast Enables immediate transition into the forwarding state (designates edge ports under MST) UplinkFast Enables switches to main spanning-tree guard {loop | root | none} Jin backup paths to root BackboneFast spanning-tree bpduguard enable Enables immediate expiration of the Max Age timer in [_spanning-tree bpdufilter enable the event of an indirect link failure MST Configuration Spanning Tree Protection spanning-tree mode mst ) Bessouaes Prevents a port from becoming the root port BPDU Guard spanning-tree mst configuration Error-disables a port if @ BPDU is received revision 1 waza) Prevents a blocked port from transitioning to listening after the Max Age timer has expired instance 1 vlan 26, 30 BPDU Filter instance 2 vlan 46, 99 Blocks BPDUs on an interface (disables STP) RSTP Link Types Point-to-Point Connects to exactly one other bridge (full duplex) spanning-trae mst hallo-time 2 Shared spanning-tree mst forward-tine 15 i Spanning tree mst fomere ss Potentially connects to multiple bridges (half duplex) Edge Connects to a single host; designated by PortFast spanning-tree mst 1 priority 32768 spanning-tree mst max-hops 29 Troubleshooting interface FactEthorset0/1 show spanning-tree [summary | detail | root] spanning-tree mst 1 port-priority 128 show spanning-tree [interface | vlan] spanning-tree mst 1 cost 19 ~ show spanning-tree mst [.

You might also like