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
Parameters
■
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 Setting
This command has no default configuration.
Command Mode
Privileged EXEC mode
Command Usage
There are no user guidelines for this command.
Example
The following commands display spanning-tree information.
Console# show spanning-tree
Spanning tree enabled mode RSTP
Default port cost method: long
Root ID
Priority
Address
Path Cost
Root Port
Hello Time 2 sec
HP PC Blade Switch CLI Reference Guide
32768
00:01:42:97:e0:00
20000
1 (1/e1)
Max Age 20 sec
Forward Delay 15 sec
www.hp.com
Spanning-Tree Commands
22-27