SlideShare a Scribd company logo
1 of 2
Download to read offline
IEEECisco
SPANNING TREE PART 1
BPDU Format
Protocol ID 16
Spanning Tree Protocols
Algorithm
Legacy STP PVST
Defined By
Instances
Trunking
PVST+ RPVST+ MST
Legacy ST
802.1D-1998
1
N/A
Legacy ST
Cisco
Per VLAN
ISL
Legacy ST
Cisco
Per VLAN
802.1Q, ISL
Rapid ST
Cisco
Per VLAN
802.1Q, ISL
Rapid ST
802.1s,
802.1Q-2003
Configurable
802.1Q, ISL
RSTP
Rapid ST
802.1w,
802.1D-2004
1
N/A
Spanning Tree Instance Comparison
STP
C
A B
All VLANs
x
Root
PVST+
C
A B
VLAN 1
VLAN 10
VLAN 20
VLAN 30
xx xx
VLAN 1,10 Root VLAN 20,30 Root
MST
C
A B
MSTI 0 (1, 10)
MSTI 1 (20, 30)x x
MSTI 0 Root MSTI 1 Root
Field Bits
Version 8
BPDU Type 8
Flags 8
Root ID 64
Root Path Cost 32
Bridge ID 64
Port ID 16
Message Age 16
Max Age 16
Hello Time 16
Forward Delay 16
Spanning Tree Specifications
802.1D-1998
PVSTISL PVST+ RPVST+
802.1w
802.1s
802.1D-2004
802.1Q-2003
802.1Q-1998
802.1Q-2005
Link Costs
4 Mbps 250
Bandwidth Cost
10 Mbps 100
16 Mbps 62
45 Mbps 39
100 Mbps 19
155 Mbps 14
622 Mbps 6
1 Gbps 4
10 Gbps 2
Default Timers
Hello
Forward Delay
Max Age
2s
15s
20s
Port States
Disabled
Discarding
Legacy ST Rapid ST
Blocking
Listening
Learning Learning
Forwarding Forwarding
IEEE 802.1D-1998 Deprecated legacy STP standard
IEEE 802.1w Introduced RSTP
IEEE 802.1D-2004 Replaced legacy STP with RSTP
IEEE 802.1s Introduced MST
IEEE 802.1Q-2003 Added MST to 802.1Q
PVST Per-VLAN implementation of legacy STP
PVST+ Added 802.1Q trunking to PVST
RPVST+ Per-VLAN implementation of RSTP
Port Roles
Root Root
Legacy ST Rapid ST
Designated Designated
Blocking
Alternate
Backup
Spanning Tree Operation
Determine root bridge
The bridge advertising the lowest bridge ID becomes the root bridge
Select root port
Each bridge selects its primary port facing the root
Select designated ports
One designated port is selected per segment
Block ports with loops
All non-root and non-desginated ports are blocked
1
2
3
4
IEEE 802.1Q-2005 Most recent 802.1Q revision
20+ Gbps 1
SPANNING TREE PART 2
PVST+ and RPVST+ Configuration
spanning-tree mode {pvst | rapid-pvst}
! Bridge priority
spanning-tree vlan 1-4094 priority 32768
! Timers, in seconds
spanning-tree vlan 1-4094 hello-time 2
spanning-tree vlan 1-4094 forward-time 15
spanning-tree vlan 1-4094 max-age 20
! PVST+ Enhancements
spanning-tree backbonefast
spanning-tree uplinkfast
! Interface attributes
interface FastEthernet0/1
spanning-tree [vlan 1-4094] port-priority 128
spanning-tree [vlan 1-4094] cost 19
! Manual link type specification
spanning-tree link-type {point-to-point | shared}
! Enables PortFast if running PVST+, or
! designates an edge port under RPVST+
spanning-tree portfast
! Spanning tree protection
spanning-tree guard {loop | root | none}
! Per-interface toggling
spanning-tree bpduguard enable
spanning-tree bpdufilter enable
Troubleshooting
show spanning-tree [summary | detail | root]
show spanning-tree [interface | vlan]
MST Configuration
spanning-tree mode mst
! MST Configuration
spanning-tree mst configuration
name MyTree
revision 1
! Map VLANs to instances
instance 1 vlan 20, 30
instance 2 vlan 40, 50
! Bridge priority (per instance)
spanning-tree mst 1 priority 32768
! Timers, in seconds
spanning-tree mst hello-time 2
spanning-tree mst forward-time 15
spanning-tree mst max-age 20
! Maximum hops for BPDUs
spanning-tree mst max-hops 20
! Interface attributes
interface FastEthernet0/1
spanning-tree mst 1 port-priority 128
spanning-tree mst 1 cost 19
Bridge ID Format
Pri Sys ID Ext MAC Address
4 12 48
System ID Extension
12-bit value taken from VLAN number (IEEE 802.1t)
Priority
4-bit bridge priority (configurable from 0 to 61440 in
increments of 4096)
MAC Address
48-bit unique identifier
Path Selection
1 Bridge with lowest root ID becomes the root
2
3
4
Prefer the neighbor with the lowest cost to root
Prefer the neighbor with the lowest bridge ID
Prefer the lowest sender port ID
Optional PVST+ Ehancements
PortFast
Enables immediate transition into the forwarding state
(designates edge ports under MST)
UplinkFast
Enables switches to maintain backup paths to root
BackboneFast
Enables immediate expiration of the Max Age timer in
the event of an indirect link failure
Spanning Tree Protection
Root Guard
Prevents a port from becoming the root port
BPDU Guard
Error-disables a port if a BPDU is received
Loop Guard
Prevents a blocked port from transitioning to listening
after the Max Age timer has expired
BPDU Filter
Blocks BPDUs on an interface (disables STP)
RSTP Link Types
Point-to-Point
Connects to exactly one other bridge (full duplex)
Shared
Potentially connects to multiple bridges (half duplex)
Edge
Connects to a single host; designated by PortFast
show spanning-tree mst […]

More Related Content

What's hot

IOS Cisco - Cheat sheets
IOS Cisco - Cheat sheetsIOS Cisco - Cheat sheets
IOS Cisco - Cheat sheetsAlejandro Marin
 
Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)DH Da Lat
 
Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Peter R. Egli
 
CCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansCCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansVuz Dở Hơi
 
CCNAv5 - S2: Chapter 9 Access Control Lists
CCNAv5 - S2: Chapter 9 Access Control ListsCCNAv5 - S2: Chapter 9 Access Control Lists
CCNAv5 - S2: Chapter 9 Access Control ListsVuz Dở Hơi
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorialIT Tech
 
Ccna rse chp6 VLAN
Ccna rse chp6 VLANCcna rse chp6 VLAN
Ccna rse chp6 VLANnewbie2019
 
Cisco router-commands
Cisco router-commandsCisco router-commands
Cisco router-commandsRobin Rohit
 
cisco ccna cheat_sheet
cisco ccna cheat_sheetcisco ccna cheat_sheet
cisco ccna cheat_sheetGuntaka Reddy
 
Cisco CCNA-CCNP IP SLA Configuration
Cisco CCNA-CCNP IP SLA ConfigurationCisco CCNA-CCNP IP SLA Configuration
Cisco CCNA-CCNP IP SLA ConfigurationHamed Moghaddam
 
CCNP Route - EIGRP
CCNP Route - EIGRPCCNP Route - EIGRP
CCNP Route - EIGRPmdyabi
 
Ncat ccna cheat sheet
Ncat ccna cheat sheetNcat ccna cheat sheet
Ncat ccna cheat sheetEZREIG OMAR
 
VLANs_Module_3.pptx
VLANs_Module_3.pptxVLANs_Module_3.pptx
VLANs_Module_3.pptxBOURY1
 
MikroTik Basic Training Class - Online Moduls - English
 MikroTik Basic Training Class - Online Moduls - English MikroTik Basic Training Class - Online Moduls - English
MikroTik Basic Training Class - Online Moduls - EnglishAdhie Lesmana
 

What's hot (20)

IOS Cisco - Cheat sheets
IOS Cisco - Cheat sheetsIOS Cisco - Cheat sheets
IOS Cisco - Cheat sheets
 
Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)
 
Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)
 
CCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansCCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 Vlans
 
CCNAv5 - S2: Chapter 9 Access Control Lists
CCNAv5 - S2: Chapter 9 Access Control ListsCCNAv5 - S2: Chapter 9 Access Control Lists
CCNAv5 - S2: Chapter 9 Access Control Lists
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorial
 
Ccna rse chp6 VLAN
Ccna rse chp6 VLANCcna rse chp6 VLAN
Ccna rse chp6 VLAN
 
Cours3 ospf-eigrp
Cours3 ospf-eigrpCours3 ospf-eigrp
Cours3 ospf-eigrp
 
Cisco router-commands
Cisco router-commandsCisco router-commands
Cisco router-commands
 
cisco ccna cheat_sheet
cisco ccna cheat_sheetcisco ccna cheat_sheet
cisco ccna cheat_sheet
 
vlan
vlanvlan
vlan
 
Cisco CCNA-CCNP IP SLA Configuration
Cisco CCNA-CCNP IP SLA ConfigurationCisco CCNA-CCNP IP SLA Configuration
Cisco CCNA-CCNP IP SLA Configuration
 
Virtuals LAN
Virtuals LANVirtuals LAN
Virtuals LAN
 
Ccna command
Ccna commandCcna command
Ccna command
 
Ccnp3 lab 3_4_en
Ccnp3 lab 3_4_enCcnp3 lab 3_4_en
Ccnp3 lab 3_4_en
 
CCNP Route - EIGRP
CCNP Route - EIGRPCCNP Route - EIGRP
CCNP Route - EIGRP
 
Ncat ccna cheat sheet
Ncat ccna cheat sheetNcat ccna cheat sheet
Ncat ccna cheat sheet
 
HSRP ccna
HSRP ccna HSRP ccna
HSRP ccna
 
VLANs_Module_3.pptx
VLANs_Module_3.pptxVLANs_Module_3.pptx
VLANs_Module_3.pptx
 
MikroTik Basic Training Class - Online Moduls - English
 MikroTik Basic Training Class - Online Moduls - English MikroTik Basic Training Class - Online Moduls - English
MikroTik Basic Training Class - Online Moduls - English
 

Viewers also liked

2.3.1.5 packet tracer configuring rapid pvst+ answer
2.3.1.5 packet tracer   configuring rapid pvst+ answer2.3.1.5 packet tracer   configuring rapid pvst+ answer
2.3.1.5 packet tracer configuring rapid pvst+ answerNarayana Samy
 
CCNA R&S-12-Spanning Tree Protocol Concepts
CCNA R&S-12-Spanning Tree Protocol ConceptsCCNA R&S-12-Spanning Tree Protocol Concepts
CCNA R&S-12-Spanning Tree Protocol ConceptsAmir Jafari
 
Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...
Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...
Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...Prasanna Shanmugasundaram
 
Ccna3 vlsm
Ccna3 vlsmCcna3 vlsm
Ccna3 vlsm1 2d
 
Ccna 3 chapter 1 exam answer v5
Ccna 3 chapter 1 exam answer v5Ccna 3 chapter 1 exam answer v5
Ccna 3 chapter 1 exam answer v5friv4schoolgames
 

Viewers also liked (8)

2.3.1.5 packet tracer configuring rapid pvst+ answer
2.3.1.5 packet tracer   configuring rapid pvst+ answer2.3.1.5 packet tracer   configuring rapid pvst+ answer
2.3.1.5 packet tracer configuring rapid pvst+ answer
 
CCNA R&S-12-Spanning Tree Protocol Concepts
CCNA R&S-12-Spanning Tree Protocol ConceptsCCNA R&S-12-Spanning Tree Protocol Concepts
CCNA R&S-12-Spanning Tree Protocol Concepts
 
Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...
Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...
Performance Analysis of Creido Enhanced Chord Overlay Protocol for Wireless S...
 
Ccna3 vlsm
Ccna3 vlsmCcna3 vlsm
Ccna3 vlsm
 
Ccna 3 chapter 1 exam answer v5
Ccna 3 chapter 1 exam answer v5Ccna 3 chapter 1 exam answer v5
Ccna 3 chapter 1 exam answer v5
 
OSPF Basics
OSPF BasicsOSPF Basics
OSPF Basics
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 
Ppt of routing protocols
Ppt of routing protocolsPpt of routing protocols
Ppt of routing protocols
 

Similar to Spanning Tree Protocol Cheat Sheet

PLNOG 17 - Piotr Wojciechowski - 802.1s MST, czyli STP u operatora i w DC nie...
PLNOG 17 - Piotr Wojciechowski - 802.1s MST, czyli STP u operatora i w DC nie...PLNOG 17 - Piotr Wojciechowski - 802.1s MST, czyli STP u operatora i w DC nie...
PLNOG 17 - Piotr Wojciechowski - 802.1s MST, czyli STP u operatora i w DC nie...PROIDEA
 
ACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACITACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACITSleek International
 
huawei-s3700-28tp-ei-dc-brochure-datasheet.pdf
huawei-s3700-28tp-ei-dc-brochure-datasheet.pdfhuawei-s3700-28tp-ei-dc-brochure-datasheet.pdf
huawei-s3700-28tp-ei-dc-brochure-datasheet.pdfHi-Network.com
 
cisco-ws-c2960x-48fpd-l-datasheet.pdf
cisco-ws-c2960x-48fpd-l-datasheet.pdfcisco-ws-c2960x-48fpd-l-datasheet.pdf
cisco-ws-c2960x-48fpd-l-datasheet.pdfHi-Network.com
 
huawei-ls-s5328c-ei-brochure-datasheet.pdf
huawei-ls-s5328c-ei-brochure-datasheet.pdfhuawei-ls-s5328c-ei-brochure-datasheet.pdf
huawei-ls-s5328c-ei-brochure-datasheet.pdfHi-Network.com
 
huawei-s5710-108c-pwr-hi-brochure-datasheet.pdf
huawei-s5710-108c-pwr-hi-brochure-datasheet.pdfhuawei-s5710-108c-pwr-hi-brochure-datasheet.pdf
huawei-s5710-108c-pwr-hi-brochure-datasheet.pdfHi-Network.com
 
cisco-ws-c2960x-48lps-l-datasheet.pdf
cisco-ws-c2960x-48lps-l-datasheet.pdfcisco-ws-c2960x-48lps-l-datasheet.pdf
cisco-ws-c2960x-48lps-l-datasheet.pdfHi-Network.com
 
huawei-s5710-28c-pwr-ei-ac-brochure-datasheet.pdf
huawei-s5710-28c-pwr-ei-ac-brochure-datasheet.pdfhuawei-s5710-28c-pwr-ei-ac-brochure-datasheet.pdf
huawei-s5710-28c-pwr-ei-ac-brochure-datasheet.pdfHi-Network.com
 
ComNet CNGE2FE8MSPOE2 Data Sheet
ComNet CNGE2FE8MSPOE2 Data SheetComNet CNGE2FE8MSPOE2 Data Sheet
ComNet CNGE2FE8MSPOE2 Data SheetJMAC Supply
 
huawei-ls-s3352p-pwr-ei-brochure-datasheet.pdf
huawei-ls-s3352p-pwr-ei-brochure-datasheet.pdfhuawei-ls-s3352p-pwr-ei-brochure-datasheet.pdf
huawei-ls-s3352p-pwr-ei-brochure-datasheet.pdfHi-Network.com
 
ComNet CNGE2FE8MSPOEPLUS Data Sheet
ComNet CNGE2FE8MSPOEPLUS Data SheetComNet CNGE2FE8MSPOEPLUS Data Sheet
ComNet CNGE2FE8MSPOEPLUS Data SheetJMAC Supply
 
huawei-ls-s3328tp-ei-mc-brochure-datasheet.pdf
huawei-ls-s3328tp-ei-mc-brochure-datasheet.pdfhuawei-ls-s3328tp-ei-mc-brochure-datasheet.pdf
huawei-ls-s3328tp-ei-mc-brochure-datasheet.pdfHi-Network.com
 
huawei-ls-s3352p-ei-48s-dc-brochure-datasheet.pdf
huawei-ls-s3352p-ei-48s-dc-brochure-datasheet.pdfhuawei-ls-s3352p-ei-48s-dc-brochure-datasheet.pdf
huawei-ls-s3352p-ei-48s-dc-brochure-datasheet.pdfHi-Network.com
 
huawei-ls-s3328tp-si-dc-brochure-datasheet.pdf
huawei-ls-s3328tp-si-dc-brochure-datasheet.pdfhuawei-ls-s3328tp-si-dc-brochure-datasheet.pdf
huawei-ls-s3328tp-si-dc-brochure-datasheet.pdfHi-Network.com
 
huawei-ls-s3328tp-ei-dc-brochure-datasheet.pdf
huawei-ls-s3328tp-ei-dc-brochure-datasheet.pdfhuawei-ls-s3328tp-ei-dc-brochure-datasheet.pdf
huawei-ls-s3328tp-ei-dc-brochure-datasheet.pdfHi-Network.com
 
cisco-ws-c2960x-48fps-l-datasheet.pdf
cisco-ws-c2960x-48fps-l-datasheet.pdfcisco-ws-c2960x-48fps-l-datasheet.pdf
cisco-ws-c2960x-48fps-l-datasheet.pdfHi-Network.com
 

Similar to Spanning Tree Protocol Cheat Sheet (20)

PLNOG 17 - Piotr Wojciechowski - 802.1s MST, czyli STP u operatora i w DC nie...
PLNOG 17 - Piotr Wojciechowski - 802.1s MST, czyli STP u operatora i w DC nie...PLNOG 17 - Piotr Wojciechowski - 802.1s MST, czyli STP u operatora i w DC nie...
PLNOG 17 - Piotr Wojciechowski - 802.1s MST, czyli STP u operatora i w DC nie...
 
Spanning tree
Spanning treeSpanning tree
Spanning tree
 
Spanning tree
Spanning treeSpanning tree
Spanning tree
 
ACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACITACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACIT
 
huawei-s3700-28tp-ei-dc-brochure-datasheet.pdf
huawei-s3700-28tp-ei-dc-brochure-datasheet.pdfhuawei-s3700-28tp-ei-dc-brochure-datasheet.pdf
huawei-s3700-28tp-ei-dc-brochure-datasheet.pdf
 
cisco-ws-c2960x-48fpd-l-datasheet.pdf
cisco-ws-c2960x-48fpd-l-datasheet.pdfcisco-ws-c2960x-48fpd-l-datasheet.pdf
cisco-ws-c2960x-48fpd-l-datasheet.pdf
 
Ccnp3 lab 3_4_en
Ccnp3 lab 3_4_enCcnp3 lab 3_4_en
Ccnp3 lab 3_4_en
 
huawei-ls-s5328c-ei-brochure-datasheet.pdf
huawei-ls-s5328c-ei-brochure-datasheet.pdfhuawei-ls-s5328c-ei-brochure-datasheet.pdf
huawei-ls-s5328c-ei-brochure-datasheet.pdf
 
5 Jenis Switch
5 Jenis Switch5 Jenis Switch
5 Jenis Switch
 
huawei-s5710-108c-pwr-hi-brochure-datasheet.pdf
huawei-s5710-108c-pwr-hi-brochure-datasheet.pdfhuawei-s5710-108c-pwr-hi-brochure-datasheet.pdf
huawei-s5710-108c-pwr-hi-brochure-datasheet.pdf
 
cisco-ws-c2960x-48lps-l-datasheet.pdf
cisco-ws-c2960x-48lps-l-datasheet.pdfcisco-ws-c2960x-48lps-l-datasheet.pdf
cisco-ws-c2960x-48lps-l-datasheet.pdf
 
huawei-s5710-28c-pwr-ei-ac-brochure-datasheet.pdf
huawei-s5710-28c-pwr-ei-ac-brochure-datasheet.pdfhuawei-s5710-28c-pwr-ei-ac-brochure-datasheet.pdf
huawei-s5710-28c-pwr-ei-ac-brochure-datasheet.pdf
 
ComNet CNGE2FE8MSPOE2 Data Sheet
ComNet CNGE2FE8MSPOE2 Data SheetComNet CNGE2FE8MSPOE2 Data Sheet
ComNet CNGE2FE8MSPOE2 Data Sheet
 
huawei-ls-s3352p-pwr-ei-brochure-datasheet.pdf
huawei-ls-s3352p-pwr-ei-brochure-datasheet.pdfhuawei-ls-s3352p-pwr-ei-brochure-datasheet.pdf
huawei-ls-s3352p-pwr-ei-brochure-datasheet.pdf
 
ComNet CNGE2FE8MSPOEPLUS Data Sheet
ComNet CNGE2FE8MSPOEPLUS Data SheetComNet CNGE2FE8MSPOEPLUS Data Sheet
ComNet CNGE2FE8MSPOEPLUS Data Sheet
 
huawei-ls-s3328tp-ei-mc-brochure-datasheet.pdf
huawei-ls-s3328tp-ei-mc-brochure-datasheet.pdfhuawei-ls-s3328tp-ei-mc-brochure-datasheet.pdf
huawei-ls-s3328tp-ei-mc-brochure-datasheet.pdf
 
huawei-ls-s3352p-ei-48s-dc-brochure-datasheet.pdf
huawei-ls-s3352p-ei-48s-dc-brochure-datasheet.pdfhuawei-ls-s3352p-ei-48s-dc-brochure-datasheet.pdf
huawei-ls-s3352p-ei-48s-dc-brochure-datasheet.pdf
 
huawei-ls-s3328tp-si-dc-brochure-datasheet.pdf
huawei-ls-s3328tp-si-dc-brochure-datasheet.pdfhuawei-ls-s3328tp-si-dc-brochure-datasheet.pdf
huawei-ls-s3328tp-si-dc-brochure-datasheet.pdf
 
huawei-ls-s3328tp-ei-dc-brochure-datasheet.pdf
huawei-ls-s3328tp-ei-dc-brochure-datasheet.pdfhuawei-ls-s3328tp-ei-dc-brochure-datasheet.pdf
huawei-ls-s3328tp-ei-dc-brochure-datasheet.pdf
 
cisco-ws-c2960x-48fps-l-datasheet.pdf
cisco-ws-c2960x-48fps-l-datasheet.pdfcisco-ws-c2960x-48fps-l-datasheet.pdf
cisco-ws-c2960x-48fps-l-datasheet.pdf
 

Recently uploaded

ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...FIDO Alliance
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!Memoori
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGDSC PJATK
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfSrushith Repakula
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxFIDO Alliance
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctBrainSell Technologies
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdfMuhammad Subhan
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptxFIDO Alliance
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfFIDO Alliance
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfFIDO Alliance
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentationyogeshlabana357357
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch TuesdayIvanti
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingScyllaDB
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceSamy Fodil
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuidePixlogix Infotech
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxFIDO Alliance
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...ScyllaDB
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewDianaGray10
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...FIDO Alliance
 

Recently uploaded (20)

ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 

Spanning Tree Protocol Cheat Sheet

  • 1. IEEECisco SPANNING TREE PART 1 BPDU Format Protocol ID 16 Spanning Tree Protocols Algorithm Legacy STP PVST Defined By Instances Trunking PVST+ RPVST+ MST Legacy ST 802.1D-1998 1 N/A Legacy ST Cisco Per VLAN ISL Legacy ST Cisco Per VLAN 802.1Q, ISL Rapid ST Cisco Per VLAN 802.1Q, ISL Rapid ST 802.1s, 802.1Q-2003 Configurable 802.1Q, ISL RSTP Rapid ST 802.1w, 802.1D-2004 1 N/A Spanning Tree Instance Comparison STP C A B All VLANs x Root PVST+ C A B VLAN 1 VLAN 10 VLAN 20 VLAN 30 xx xx VLAN 1,10 Root VLAN 20,30 Root MST C A B MSTI 0 (1, 10) MSTI 1 (20, 30)x x MSTI 0 Root MSTI 1 Root Field Bits Version 8 BPDU Type 8 Flags 8 Root ID 64 Root Path Cost 32 Bridge ID 64 Port ID 16 Message Age 16 Max Age 16 Hello Time 16 Forward Delay 16 Spanning Tree Specifications 802.1D-1998 PVSTISL PVST+ RPVST+ 802.1w 802.1s 802.1D-2004 802.1Q-2003 802.1Q-1998 802.1Q-2005 Link Costs 4 Mbps 250 Bandwidth Cost 10 Mbps 100 16 Mbps 62 45 Mbps 39 100 Mbps 19 155 Mbps 14 622 Mbps 6 1 Gbps 4 10 Gbps 2 Default Timers Hello Forward Delay Max Age 2s 15s 20s Port States Disabled Discarding Legacy ST Rapid ST Blocking Listening Learning Learning Forwarding Forwarding IEEE 802.1D-1998 Deprecated legacy STP standard IEEE 802.1w Introduced RSTP IEEE 802.1D-2004 Replaced legacy STP with RSTP IEEE 802.1s Introduced MST IEEE 802.1Q-2003 Added MST to 802.1Q PVST Per-VLAN implementation of legacy STP PVST+ Added 802.1Q trunking to PVST RPVST+ Per-VLAN implementation of RSTP Port Roles Root Root Legacy ST Rapid ST Designated Designated Blocking Alternate Backup Spanning Tree Operation Determine root bridge The bridge advertising the lowest bridge ID becomes the root bridge Select root port Each bridge selects its primary port facing the root Select designated ports One designated port is selected per segment Block ports with loops All non-root and non-desginated ports are blocked 1 2 3 4 IEEE 802.1Q-2005 Most recent 802.1Q revision 20+ Gbps 1
  • 2. SPANNING TREE PART 2 PVST+ and RPVST+ Configuration spanning-tree mode {pvst | rapid-pvst} ! Bridge priority spanning-tree vlan 1-4094 priority 32768 ! Timers, in seconds spanning-tree vlan 1-4094 hello-time 2 spanning-tree vlan 1-4094 forward-time 15 spanning-tree vlan 1-4094 max-age 20 ! PVST+ Enhancements spanning-tree backbonefast spanning-tree uplinkfast ! Interface attributes interface FastEthernet0/1 spanning-tree [vlan 1-4094] port-priority 128 spanning-tree [vlan 1-4094] cost 19 ! Manual link type specification spanning-tree link-type {point-to-point | shared} ! Enables PortFast if running PVST+, or ! designates an edge port under RPVST+ spanning-tree portfast ! Spanning tree protection spanning-tree guard {loop | root | none} ! Per-interface toggling spanning-tree bpduguard enable spanning-tree bpdufilter enable Troubleshooting show spanning-tree [summary | detail | root] show spanning-tree [interface | vlan] MST Configuration spanning-tree mode mst ! MST Configuration spanning-tree mst configuration name MyTree revision 1 ! Map VLANs to instances instance 1 vlan 20, 30 instance 2 vlan 40, 50 ! Bridge priority (per instance) spanning-tree mst 1 priority 32768 ! Timers, in seconds spanning-tree mst hello-time 2 spanning-tree mst forward-time 15 spanning-tree mst max-age 20 ! Maximum hops for BPDUs spanning-tree mst max-hops 20 ! Interface attributes interface FastEthernet0/1 spanning-tree mst 1 port-priority 128 spanning-tree mst 1 cost 19 Bridge ID Format Pri Sys ID Ext MAC Address 4 12 48 System ID Extension 12-bit value taken from VLAN number (IEEE 802.1t) Priority 4-bit bridge priority (configurable from 0 to 61440 in increments of 4096) MAC Address 48-bit unique identifier Path Selection 1 Bridge with lowest root ID becomes the root 2 3 4 Prefer the neighbor with the lowest cost to root Prefer the neighbor with the lowest bridge ID Prefer the lowest sender port ID Optional PVST+ Ehancements PortFast Enables immediate transition into the forwarding state (designates edge ports under MST) UplinkFast Enables switches to maintain backup paths to root BackboneFast Enables immediate expiration of the Max Age timer in the event of an indirect link failure Spanning Tree Protection Root Guard Prevents a port from becoming the root port BPDU Guard Error-disables a port if a BPDU is received Loop Guard Prevents a blocked port from transitioning to listening after the Max Age timer has expired BPDU Filter Blocks BPDUs on an interface (disables STP) RSTP Link Types Point-to-Point Connects to exactly one other bridge (full duplex) Shared Potentially connects to multiple bridges (half duplex) Edge Connects to a single host; designated by PortFast show spanning-tree mst […]