HP MSR2000/3000/4000 Router Series Layer 2 - LAN Switching Command Reference

Table Of Contents
14
If you specify an MSTI but not a port, this command displays the spanning tree information on all
ports in that MSTI. The displayed information is sorted by port name.
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 of MSTI 0 on ports Ethernet 2/1
through Ethernet 2/4.
<Sysname> display stp instance 0 interface ethernet 2/1 to ethernet 2/4 brief
MSTID Port Role STP State Protection
0 Ethernet2/1 ALTE DISCARDING LOOP
0 Ethernet2/2 DESI FORWARDING NONE
0 Ethernet2/3 DESI FORWARDING NONE
0 Ethernet2/4 DESI FORWARDING NONE
Table 5 Command output
Field Descri
p
tion
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:
ROOT—Root guard.
LOOP—Loop guard.
BPDU—BPDU guard.
NONE—No protection.
# In MSTP mode, display the detailed spanning tree status and statistics of all MSTIs on all ports.
<Sysname> display stp
-------[CIST Global Info][Mode MSTP]-------
Bridge ID : 32768.000f-e200-2200
Bridge times : Hello 2s MaxAge 20s FwdDelay 15s MaxHops 20