112
Field Description
Role
Port role:
• ALTE—The port is an alternate port.
• BACK—The port is a backup port.
• ROOT—The port is a root port.
• DESI—The port is a designated port.
• MAST—The port is a master port.
• DISA—The port is disabled.
STP State
Spanning tree status on the port:
• FORWARDING—The port can receive and send BPDUs and also
forward user traffic.
• DISCARDING—The port can receive and send BPDUs but cannot
forward user traffic.
• LEARNING—The port is in a transitional state. It can receive and send
BPDUs but cannot forward user traffic.
Protection
Effective spanning tree protection feature on the port:
• ROOT—Root guard.
• LOOP—Loop guard.
• BPDU—BPDU guard.
If no spanning tree protection feature is configured or spanning tree protection
is not triggered, this field displays
NONE
.
# In MSTP mode, display the detailed spanning tree status and statistics for all MSTIs on all ports.
<Sysname> display stp
-------[CIST Global Info][Mode MSTP]-------
Bridge ID : 32768.0001-0000-0000
Bridge times : Hello 2s MaxAge 20s FwdDelay 15s MaxHops 20
Root ID/ERPC : 32768.0001-0000-0000, 0
RegRoot ID/IRPC : 32768.0001-0000-0000, 0
RootPort ID : 0.0
BPDU-Protection : Disabled
Bridge Config-
Digest-Snooping : Disabled
TC or TCN received : 2
Time since last TC : 0 days 0h:0m:58s
----[Port1(GigabitEthernet1/0/1)][FORWARDING]----
Port protocol : Enabled
Port role : Designated Port (Boundary)
Port ID : 128.3
Port cost(Legacy) : Config=auto, Active=200
Desg.bridge/port : 32768.0001-0000-0000, 128.3
Port edged : Config=disabled, Active=disabled
Point-to-Point : Config=auto, Active=true
Transmit limit : 10 packets/hello-time
TC-Restriction : Disabled
Role-Restriction : Disabled
Protection type : Config=none, Active=none
MST BPDU format : Config=auto, Active=802.1s