Quick Reference Guide

364 Spanning-Tree Commands
Example
The following example restarts the protocol migration process (forces the renegotiation with neighboring
switches) on g1.
show spanning-tree
The show spanning-tree Privileged EXEC mode command displays spanning-tree configuration.
Syntax
show
spanning-tree
[
ethernet
interface-number
|
port-channel
port-channel-number
] [
instance
instance-id
]
show
spanning-tree [detail] [active | blockedports]
[
instance
instance-id
]
show
spanning-tree mst-configuration
detail
Display detailed information.
active
Display active ports only.
blockedports
Display blocked ports only.
mst-configuration
Display the MST configuration identifier.
interface-number
Ethernet port number. (Range: Valid Ethernet port)
port-channel-number
Port channel index. (Range: Valid Ethernet port)
instance-id
ID associated with a spanning-tree instance.
Default Configuration
This command has no default configuration.
Command Modes
Privileged EXEC mode.
User Guidelines
There are no user guidelines for this command.
Console# clear spanning-tree detected-protocols ethernet g1
5400_CLI.book Page 364 Wednesday, December 17, 2008 4:33 PM