C
HAPTER
35
| Spanning Tree Commands
– 829 –
show spanning-tree This command shows the configuration for the common spanning tree
(CST) or for an instance within the multiple spanning tree (MST).
SYNTAX
show spanning-tree [interface | mst instance-id]
interface
ethernet unit/port
unit - Stack unit. (Range: 1)
port - Port number. (Range: 1-24)
port-channel channel-id (Range: 1-32)
instance-id - Instance identifier of the multiple spanning tree.
(Range: 0-4094, no leading zeroes)
DEFAULT SETTING
None
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 for STA" on page 199.
For a description of the items displayed for specific interfaces, see
"Displaying Interface Settings for STA" on page 209.
EXAMPLE
Console#show spanning-tree
Spanning Tree Information
---------------------------------------------------------------
Spanning Tree Mode : MSTP
Spanning Tree Enabled/Disabled : Enabled
Instance : 0
VLANs Configuration : 1-4093
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