show spanning-tree
To display spanning-tree information for the specified spanning-tree instances, use the showspanning-tree
command in privileged EXEC mode or user EXEC mode.
show spanning-tree [active| backbonefast| blockedports| bridge| detail| inconsistentports| interface
interface-type interface-number| mst| pathcost| root| summary [totals]| uplinkfast| vlan vlan-id]
Syntax Description
(Optional) Displays spanning-tree information on active interfaces
only.
active
(Optional) Displays spanning-tree BackboneFast status.backbonefast
(Optional) Displays blocked port information.blockedports
(Optional) Displays status and configuration of this switch.bridge
(Optional) Displays detailed information.detail
(Optional) Displays information about inconsistent ports.inconsistentports
(Optional) Specifies the type and number of the interface.
interface interface-type
interface-number
(Optional) Specifies multiple spanning-tree.mst
(Optional) Displays spanning-tree pathcost options.pathcost
(Optional) Displays root-switch status and configuration.root
(Optional) Specifies a summary of port states.summary
(Optional) Displays the total lines of the spanning-tree state section.totals
(Optional) Displays spanning-tree UplinkFast status.uplinkfast
(Optional) Specifies the VLAN ID. The range is 1 to 4094.
vlan vlan-id
Command Modes
User EXEC
Privileged EXEC
Command History
ModificationRelease
This command was introduced.Cisco IOS 15.0(2)EX
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
OL-29043 -01 71
Layer 2 Commands
show spanning-tree