2-384
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
show spanning-tree
show spanning-tree
To display spanning tree state information, use the show spanning-tree command.
show spanning-tree [bridge_group | active | backbonefast | bridge [id] | inconsistentports |
interface type | root | summary [total] | uplinkfast | vlan vlan_id | pathcost method |detail]
Syntax Description
Defaults Interface information summary is displayed.
Command Modes Privileged EXEC
Command History
Examples This example shows how to display spanning tree information on active interfaces only:
Switch# show spanning-tree active
UplinkFast is disabled
BackboneFast is disabled
VLAN1 is executing the ieee compatible Spanning Tree protocol
Bridge Identifier has priority 32768, address 0050.3e8d.6401
Configured hello time 2, max age 20, forward delay 15
Current root has priority 16384, address 0060.704c.7000
Root port is 265 (FastEthernet5/9), cost of root path is 38
Topology change flag not set, detected flag not set
bridge_group (Optional) Specifies the bridge group number; valid values are from 1 to 255.
active (Optional) Displays spanning tree information on active interfaces only.
backbonefast (Optional) Displays spanning tree BackboneFast status.
bridge (Optional) Displays bridge status and configuration information.
id (Optional) Name of the bridge.
inconsistentports (Optional) Displays root inconsistency state.
interface type (Optional) Specifies the interface type and number; valid values are
FastEthernet, GigabitEthernet, port-channel (1 to 64), and vlan (1 to 4094).
root (Optional) Displays root bridge 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; valid values are from 1 to 4094.
pathcost method (Optional) Displays the default path cost calculation method used.
detail (Optional) Displays a summary of interface information.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.1(12c)EW Support for extended addressing was added.