Chapter 19
| Spanning Tree Commands
– 521 –
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 command to display the spanning tree
configuration for all instances within the Multiple Spanning Tree (MST),
including global settings and settings for active interfaces.
â—† Use the show spanning-tree mst instance-id command to display the
spanning tree configuration for an instance within the Multiple Spanning Tree
(MST), including global settings and settings for all interfaces.
Example
Console#show spanning-tree
Spanning Tree Mode : MSTP
Spanning Tree Enabled/Disabled : Enabled
Instance : 0
VLANs Configured : 1-4094
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.00E00C0000FD
Current Root Port : 0
Current Root Cost : 0
Number of Topology Changes : 6
Last Topology Change Time (sec.): 8
Transmission Limit : 3
Path Cost Method : Long
Flooding Behavior : To VLAN
---------------------------------------------------------------
Eth 1/ 1 information
---------------------------------------------------------------
Admin Status : Enabled
Role : Designate
State : Forwarding
External Admin Path Cost : 0
Internal Admin Path Cost : 0
External Oper Path Cost : 100000
Internal Oper Path Cost : 100000
Priority : 128
Designated Cost : 0
Designated Port : 128.1
Designated Root : 32768.0.00E00C0000FD
Designated Bridge : 32768.0.00E00C0000FD
Forward Transitions : 6