43
{
Designated bridge
{
Designated port
{
Remaining hops
{
Status of rapid state transition (enabled or disabled) for designated ports
The statistics in STP/RSTP/MSTP mode include the following items:
•
The number of TCN BPDUs, configuration BPDUs, RST BPDUs, and MST BPDUs sent from each port
•
The number of TCN BPDUs, configuration BPDUs, RST BPDUs, MST BPDUs, and wrong BPDUs
received on each port
•
The number of BPDUs discarded on each port
Related commands:
reset stp
.
Examples
# In MSTP mode, display the brief spanning tree status and statistics of MSTI 0 on ports GigabitEthernet
1/0/1 through GigabitEthernet 1/0/2.
<Sysname> display stp instance 0 interface gigabitethernet 1/0/1 to gigabitethernet 1/0/2
brief
MSTID Port Role STP State Protection
0 GigabitEthernet1/0/1 ALTE DISCARDING LOOP
0 GigabitEthernet1/0/2 DESI FORWARDING NONE
Table 11
display stp brief command output description
Field
Description
MSTID
MSTI ID in the MST region.
Port
Port name, corresponding to each MSTI.
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
Protection type on the port:
•
ROOT—Root guard.
•
LOOP—Loop guard.
•
BPDU—BPDU guard.
•
NONE—No protection.
# In MSTP mode, display the spanning tree status and statistics of all MSTIs on all ports.