Specifications
2-228
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
show spanning-tree
Command Modes User EXEC; indicated keywords available only in privileged EXEC mode
Command History
Usage Guidelines If the vlan-id variable is omitted, the command applies to the spanning-tree instance for all VLANs.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
are not displayed, but the lines that contain Output are displayed.
Examples This is an example of output from the show spanning-tree active command:
Switch# show spanning-tree active
mst [configuration |
instance-id] [detail |
interface interface-id
[detail]]
These keywords and options are available only if your switch is running
the EI.
(Optional) Display the multiple spanning-tree (MST) region
configuration and status (all options only available in privileged EXEC
mode).
Valid interfaces include physical ports, VLANs, and port channels. The
valid VLAN range is 1 to 4094; do not enter leading zeros. The valid
port-channel range is 1 to 6.
pathcost method (Optional) Display the default path cost method (only available in
privileged EXEC mode).
root [address | cost | detail
| forward-time | hello-time
| id | max-age | port |
priority [system-id]]
(Optional) Display root switch status and configuration (all options only
available in privileged EXEC mode).
summary [totals] (Optional) Display a summary of port states or the total lines of the
spanning-tree state section (only available in privileged EXEC mode).
uplinkfast (Optional) Display spanning-tree UplinkFast status (only available in
privileged EXEC mode).
vlan vlan-id [active
[detail] | backbonefast |
blockedports | bridge
[address | detail |
forward-time | hello-time |
id | max-age | priority
[system-id] | protocol]
(Optional) Display spanning-tree information for the specified VLAN
(only available in privileged EXEC mode). The range is 1 to 4094 when
the enhanced software image (EI) is installed and 1 to 1005 when the
standard software image (SI) is installed. Do not enter leading zeros.
| begin (Optional) Display begins with the line that matches the expression.
| exclude (Optional) Display excludes lines that match the expression.
| include (Optional) Display includes lines that match the specified expression.
expression Expression in the output to use as a reference point.
Release Modification
12.1(9)EA1 The mst keyword and options were added. The brief keyword was removed,
and the detail keyword was added.