
Spanning Tree Commands
show spanning-tree
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
393
28
Example
The following example displays spanning-tree information.
Console# show spanning-tree
Spanning tree enabled mode MSTP
Default port cost method: short
CST Root ID Priority
32768
Address
00:01:42:97:e0:00
Path Cost
20000
Root Port
1 (e1)
This switch is the IST master
Hello Time 2 sec Max Age 20 sec
Forward Delay 15 sec
Bridge ID Priority
36864
Address
00:02:4b:29:7a:00
Hello Time 2 sec Max Age 20 sec
Forward Delay 15 sec
Max Hops
20
Interfaces
Name State
Pro.Nbr
Cost
Sts
Role
PortFast Type
---- ------- -------- -----
---
----
-------- ----------
e1
Enabled 128.1
20000
FWD
Root
No
P2p bound (RSTP)
e2
Enabled 128.2
20000
FWD
Desg
No
Shared (STP)
e3
Disabled128.3
20000
-
-
-
-
e4
Enabled 128.4
20000
BLK
ALTN
No
Shared (STP)
e5
Enabled 128.5
20000
DIS
-
-
-
Console# show spanning-tree
Spanning tree enabled mode RSTP
Default port cost method: long
Root ID
Priority
36864
Address
00:02:4b:29:7a:00
This switch is the root.
Hello Time 2 sec Max Age 20 sec
Forward Delay 15 sec
Interfaces