Spanning Tree Protocol (STP)
Example 1
Bridge ID of Switch1 < Switch0
Switch0 Switch1
Is Root Bridge? --- Yes
Root Ports Fa0/0 None
Designated Ports None All (Fa0/0, Fa0/1)
Blocked Ports Fa0/1 None
Example 2
Bridge ID of Switch2 < Switch 0 <Switch 1
Switch0 Switch1 Switch2
Is Root Bridge? --- --- Yes
Root Ports Fa0/3 Fa0/2 None
Designated Ports Fa0/1 None All (Fa0/2, Fa0/3)
Blocked Ports None Fa0/1 None
Page 1 of 4
Spanning Tree Protocol (STP)
Example 3
Bridge ID of Switch0 < Switch 1 < Switch 3 < Switch2
Switch0 Switch1 Switch2 Switch3
Is Root Bridge? Yes --- --- ---
Root Ports None Fa0/1 Fa0/2 Fa0/4
Designated Ports All (Fa0/1, Fa0/4) Fa0/2 None Fa0/3
Blocked Ports None None Fa0/3 None
Example 4
Bridge ID of Switch0 < Switch 1 < Switch 3 < Switch2
Switch0 Switch1 Switch2 Switch3
Is Root Bridge? Yes --- --- ---
Root Ports None Fa0/1 Fa0/6 Fa0/4
Designated Ports All (Fa0/1, Fa0/4, Fa0/6 ) Fa0/2, Fa0/5 None Fa0/3
Blocked Ports None None Fa0/2, Fa0/3 Fa0/5
Page 2 of 4
Spanning Tree Protocol (STP)
Example 5
Bridge ID of ALS2 < DLS2 < DLS1 < ALS1
ALS1 ALS2 DLS1 DSL2
Is Root Bridge? --- Yes --- ---
Root Ports Fa0/11 None Fa0/9 Fa0/7
Designated None All Fa0/7, Fa0/8 Fa0/9, Fa0/10,
Ports (Fa0/7, Fa0/8, Fa0/11, Fa0/12
Fa0/9, Fa0/10,
Fa0/11, Fa0/12)
Blocked Ports Fa0/7,
Fa0/8,
Fa0/10, Fa0/11,
Fa0/9, None Fa0/8
Fa0/12
Fa0/10,
Fa0/12
Page 3 of 4
Spanning Tree Protocol (STP)
Example 6
Bridge ID of SwitchA < SwitchB < SwitchD < SwitchC
STP cost of each giga bit link is 4 while STP cost of each fast ethernet link is 19.
Switch A Switch B Switch C Switch D
Is Root Bridge? Yes --- --- ---
Root Ports None G1/0/5 G1/0/10 G1/0/1
Designated All (Fa1/0/1, None G1/0/2 G1/0/2
Ports G1/0/3, G1/0/4,
G1/0/10)
Blocked Ports None Fa1/0/1, G1/0/7 G1/0/11 None
Page 4 of 4