Command Line Interface
4-236
4
Command Mode
Privileged Exec
Command Usage
•Use the show spanning-tree command with no parameters to display the
spanning tree configuration for the switch for the Common Spanning Tree
(CST) and for every interface in the tree.
• Use the show spanning-tree interface command to display the spanning tree
configuration for an interface within the Common Spanning Tree (CST).
•Use the show spanning-tree mst instance_id command to display the
spanning tree configuration for an instance within the Multiple Spanning Tree
(MST).
• For a description of the items displayed under “Spanning-tree information,”
see “Configuring Global Settings” on page 3-141. For a description of the
items displayed for specific interfaces, see “Displaying Interface Settings” on
page 3-144.
Example
Console#show spanning-tree
Spanning-tree information
---------------------------------------------------------------
Spanning tree mode: MSTP
Spanning tree enable/disable: enable
Instance: 0
Vlans configuration: 1-4092
Priority: 32768
Bridge Hello Time (sec.): 2
Bridge Max Age (sec.): 20
Bridge Forward Delay (sec.): 15
Root Hello Time (sec.): 2
Root Max Age (sec.): 20
Root Forward Delay (sec.): 15
Max hops: 20
Remaining hops: 20
Designated Root: 32768.0.0000ABCD0000
Current root port: 1
Current root cost: 10000
Number of topology changes: 1
Last topology changes time (sec.): 22
Transmission limit: 3
Path Cost Method: long