R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
58
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
0/1 through GigabitEthernet 0/4.
<Sysname> display stp instance 0 interface GigabitEthernet 0/1 to GigabitEthernet 0/4 brief
MSTID Port Role STP State Protection
0 GigabitEthernet0/1 ALTE DISCARDING LOOP
0 GigabitEthernet0/2 DESI FORWARDING NONE
0 GigabitEthernet0/3 DESI FORWARDING NONE
0 GigabitEthernet0/4 DESI FORWARDING NONE
Table 13 display stp brief command output description
Field Description
MSTID MSTI ID in the MST region.
Port Port name, corresponding to each MSTI or VLAN.
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:
ROOTRoot guard.
LOOP—Loop guard.
BPDU—BPDU guard.
BPDU/ROOT—BPDU guard and root guard.
NONE—No protection.
# In MSTP mode, display the spanning tree status and statistics of all MSTIs on all ports.
<Sysname> display stp
-------[CIST Global Info][Mode MSTP]-------
CIST Bridge :32768.000f-e200-2200
Bridge Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC :0.00e0-fc0e-6554 / 200200
CIST RegRoot/IRPC :32768.000f-e200-2200 / 0