User Manual

6.3.12 Show spanning tree status
[Syntax]
show spanning-tree [interface ifname]
[Keyword]
interface : Specifies the interface to show
[Parameter]
ifname : Name of LAN/SFP port or logical interface
Interface to show
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows the spanning tree status.
If "interface" is omitted, the status of all interfaces is shown.
In the case of MSTP, shows CIST (instance #0) information.
The following items are shown.
Item Description
Bridge up Spanning tree protocol enabled/disabled
Root Path Cost Path cost of the root bridge
Root Port
Interface index number of the root port. Shows 0 if it is the
root bridge. In the case of a logical interface, this is shown as
the interface index number of the logical interface.
Bridge Priority Bridge priority
Forward Delay Root bridge forwarding delay time setting
Hello Time Hello time setting of the root bridge
Max Age Maximum ageing time setting of the root bridge
Root Id
Root bridge identifier. This consists of the root bridge priority
(the first four hexadecimal digits) and MAC address
Bridge Id
Bridge identifier. This consists of the bridge priority (the first
four hexadecimal digits) and MAC address
topology change(s)
Number of times that a topology change has occurred (to be
precise, this indicates the number of BPDU that have the TC
flag)
last topology change Date and time at which the last topology change occurred
Ifindex Interface index number
Port Id Interface's port ID
Role
Role of the interface. This is either Disabled, Designated,
Rootport, or Alternate
State
State of the interface. This is either Listening, Learning,
Forwarding, or Discarding
Designated Path Cost Path cost
Configured Path Cost Path cost setting of the interface
Add type Explicit ref count Number of STP domains associated with the interface
Designated Port Id ID of the designated port
Priority Priority of the interface
190 | Command Reference | Layer 2 functions