Chapter 19
| Spanning Tree Commands
ā 550 ā
show spanning-tree This command shows the configuration for the common spanning tree (CST), for all
instances within the multiple spanning tree (MST), or for a specific instance within
the multiple spanning tree (MST).
Syntax
show spanning-tree [interface | mst instance-id | brief | stp-enabled-only]
interface
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-28/52)
port-channel channel-id (Range: 1-16)
instance-id - Instance identifier of the multiple spanning tree.
(Range: 0-4094)
brief - Shows a summary of global and interface settings.
stp-enabled-only - Displays global settings, and settings for interfaces for
which STP is enabled.
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 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 Information
---------------------------------------------------------------
Spanning Tree Mode : MSTP
Spanning Tree Enabled/Disabled : Enabled
Instance : 0