2-384
Catalyst 2960 Switch Command Reference
78-16882-01
Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
show spanning-tree
Command Modes User EXEC
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
do not appear, but the lines that contain Output appear.
mst [configuration]
[instance-id [detail |
interface interface-id
[detail]]
(Optional) Display the multiple spanning-tree (MST) region
configuration and status (available only in privileged EXEC mode).
The keywords have these meanings:
• instance-id—You can specify a single instance ID, a range of IDs
separated by a hyphen, or a series of IDs separated by a comma. The
range is 1 to 15.
• interface interface-id—(Optional) Valid interfaces include physical
ports, VLANs, and port channels. The VLAN range is 1 to 4094. The
port-channel range is 1 to 6.
• detail—(Optional) Display detailed information for the instance or
interface.
pathcost method (Optional) Display the default path cost method (available only 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 keywords
available only in privileged EXEC mode).
summary [totals] (Optional) Display a summary of port states or the total lines of the
spanning-tree state section.
uplinkfast (Optional) Display spanning-tree UplinkFast status.
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
(some keywords available only in privileged EXEC mode). You can
specify a single VLAN identified by VLAN ID number, a range of
VLANs separated by a hyphen, or a series of VLANs separated by a
comma. The range is 1 to 4094.
| 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.2(25)FX This command was introduced.