show spantree stats
9-6 Spanning Tree Configuration
Mode
Switchcommand,read‐only.
Example
Thisexampleshowshowtodisplaythedevice’sSpanningTreeconfiguration:
B5(su)->show spantree stats
Spanning tree status - enabled
Spanning tree instance - 0
Designated Root MacAddr - 00-e0-63-9d-c1-c8
Designated Root Priority - 0
Designated Root Cost - 10000
Designated Root Port - lag.0.1
Root Max Age - 20 sec
Root Hello Time - 2 sec
Root Forward Delay - 15 sec
Bridge ID MAC Address - 00-01-f4-da-5e-3d
Bridge ID Priority - 32768
Bridge Max Age - 20 sec
Bridge Hello Time - 2 sec
Bridge Forward Delay - 15 sec
Topology Change Count - 7
Time Since Top Change - 00 days 03:19:15
Max Hops - 20
Table 9‐1showsadetailedexplanationofcommandoutput.
Table 9-1 show spantree Output Details
Output What It Displays...
Spanning tree instance Spanning Tree ID.
Spanning tree status Whether Spanning Tree is enabled or disabled.
Designated Root MacAddr MAC address of the designated Spanning Tree root bridge.
Designated Root Port Port through which the root bridge can be reached.
Designated Root Priority Priority of the designated root bridge.
Designated Root Cost Total path cost to reach the root.
Root Max Age Amount of time (in seconds) a BPDU packet should be considered valid.
Root Hello Time Interval (in seconds) at which the root device sends BPDU (Bridge Protocol
Data Unit) packets.
Root Forward Delay Amount of time (in seconds) the root device spends in listening or learning
mode.
Bridge ID MAC Address Unique bridge MAC address, recognized by all bridges in the network.
Bridge ID Priority Bridge priority, which is a default value, or is assigned using the set
spantree priority command. For details, refer to “set spantree priority” on
page 9-17.
Bridge Max Age Maximum time (in seconds) the bridge can wait without receiving a
configuration message (bridge “hello”) before attempting to reconfigure.
This is a default value, or is assigned using the set spantree maxage
command. For details, refer to “set spantree maxage” on page 9-19.