Spanning-Tree Commands 375
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
•
interface -number
— A valid Ethernet port.
•
port-channel-number
— A valid port channel number.
•
detail
— Indicates detailed information.
•
active
— Indicates active ports only.
•
blockedports
— Indicates blocked ports only.
•
mst-configuration
— Indicates the MST configuration identifier.
•
instance-id
— Specifies ID of the Spanning Tree instance.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode.
User Guidelines
There are no user guidelines for this command.
Examples
The following example displays spanning-tree information.
Console# show spanning-tree
Spanning tree enabled mode RSTP
Default port cost method: long
Root ID Priority 32768
Address 00:01:42:97:e0:00
book.book Page 375 Thursday, December 18, 2008 7:40 PM