R3303-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference
45
• If you specify some ports but not an MSTI, this command displays the spanning tree information of
all MSTIs on the specified ports. The displayed information is sorted by MSTI ID and by port name
in each MSTI.
• If you specify both an MSTI ID and a port list, this command displays the spanning tree information
on the specified ports in the specified MSTI. The displayed information is sorted by port name.
Examples
# In MSTP mode, display the brief spanning tree status and statistics information of MSTI 0 on ports
GigabitEthernet 4/0/1 through GigabitEthernet 4/0/4.
<Sysname> display stp instance 0 interface GigabitEthernet 4/0/1 to GigabitEthernet 4/0/4
brief
MSTID Port Role STP State Protection
0 GigabitEthernet4/0/1 ALTE DISCARDING LOOP
0 GigabitEthernet4/0/2 DESI FORWARDING NONE
0 GigabitEthernet4/0/3 DESI FORWARDING NONE
0 GigabitEthernet4/0/4 DESI FORWARDING NONE
Table 12 Command output
Field Descri
p
tion
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.
• BPDU/ROOT—BPDU guard and root guard.
• NONE—No protection.
# In MSTP mode, display the spanning tree status and statistics information 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










