Specifications

2-762
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
show spanning-tree
show spanning-t ree
To display spanning-tree state informatio n, us e 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 I nterface information summary is d isplayed.
Command Modes Privileged EXE C mode
Examples This exampl e shows how to display spanning -tree informati on on the active interfaces on ly:
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
Number of topology changes 0 last change occurred 18:13:54 ago
Times: hold 1, topology change 24, notification 2
hello 2, max age 14, forward delay 10
Timers: hello 0, topology change 0, notification 0
Port 265 (FastEthernet5/9) of VLAN1 is forwarding
bridge_group (Optional) Specifies the bridge group number; valid values are from 1 to 255.
active (Optional) Displays the spanning-tree information on active interfaces only.
backbo ne fa st (Optional) Displays the spanning-tree BackboneFast status.
bridge (Optional) Displays the bridge status and configuration information.
id (Optional) N ame of the bridge.
inconsistentports (Optional) Displays the root inconsistency state.
interface type (Optional) Specifies the interface type and number; valid values are fastethernet,
gigabitethernet, tengigabitethernet, port-channel (1 to 64), and vlan (1 to
4094).
root (Optional) Displays the 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 the 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.