16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
show spanning-tree
232
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
show spanning-tree
To display spanning-tree information for the specified spanning-tree instances, use the show
spanning-tree
command in privileged EXEC mode.
show spanning-tree [bridge-group] [active | backbonefast | blockedports | bridge | brief |
inconsistentports | interface interface-id | pathcost method | root | summary [totals] |
uplinkfast | vlan vlan-id]
Syntax Description
Command Modes
Privileged EXEC
Command History
Usage Guidelines
If the variable vlan-id is omitted, the command applies to the spanning-tree instance for all VLANs.
bridge-group
(Optional) Specifies the bridge group number. The range is 1 to 255.
active
(Optional) Displays spanning-tree information on active interfaces only.
backbonefast
(Optional) Displays spanning-tree BackboneFast status.
blockedports
(Optional) Displays blocked port information.
bridge
(Optional) Displays status and configuration of this switch.
brief
(Optional) Specifies a brief summary of interface information.
inconsistentports
(Optional) Displays inconsistent port information.
interface interface-id
(Optional) Specifies a list of interfaces for which spanning-tree
information appears. Enter each interface separated by a space. Ranges
are not supported. Valid interfaces include physical ports and VLANs.
pathcost method
(Optional) Displays the default path cost method.
root
(Optional) Displays root-switch status and configuration.
summary
(Optional) Specifies a summary of port states.
total
(Optional) Displays the total lines of the spanning-tree state section.
uplinkfast
(Optional) Displays spanning-tree UplinkFast status.
vlan vlan-id
(Optional) Specifies the VLAN ID. The range is 1 to 1005.
Release
Modification
12.0(5.2)WC(1)
This command was introduced.
12.1(6)EA2
The bridge-group argument and the active, backbonefast, blockedports,
bridge, inconsistentports, pathcost method, root, total, and uplinkfast
keywords were added.
12.2(15)ZJ
This command was implemented on the Cisco 2600 series,
Cisco 3600 series, and Cisco 3700 series routers.