HP MSR2000/3000/4000 Router Series Layer 2 - LAN Switching Command Reference
Table Of Contents
- Title Page
- Contents
- MAC address table commands
- Port isolation commands
- Spanning tree commands
- active region-configuration
- check region-configuration
- display stp
- display stp abnormal-port
- display stp bpdu-statistics
- display stp down-port
- display stp history
- display stp region-configuration
- display stp root
- display stp tc
- instance
- region-name
- reset stp
- revision-level
- stp bpdu-protection
- stp bridge-diameter
- stp compliance
- stp config-digest-snooping
- stp cost
- stp edged-port
- stp enable
- stp global config-digest-snooping
- stp global enable
- stp global mcheck
- stp loop-protection
- stp max-hops
- stp mcheck
- stp mode
- stp no-agreement-check
- stp pathcost-standard
- stp point-to-point
- stp port priority
- stp port-log
- stp priority
- stp region-configuration
- stp role-restriction
- stp root primary
- stp root secondary
- stp root-protection
- stp tc-protection
- stp tc-protection threshold
- stp tc-restriction
- stp timer forward-delay
- stp timer hello
- stp timer max-age
- stp timer-factor
- stp transmit-limit
- vlan-mapping modulo
- Loop detection commands
- VLAN commands
- LLDP commands
- display lldp local-information
- display lldp neighbor-information
- display lldp statistics
- display lldp status
- display lldp tlv-config
- lldp admin-status
- lldp check-change-interval
- lldp enable
- lldp encapsulation snap
- lldp fast-count
- lldp global enable
- lldp hold-multiplier
- lldp management-address-format string
- lldp max-credit
- lldp mode
- lldp notification med-topology-change enable
- lldp notification remote-change enable
- lldp timer fast-interval
- lldp timer notification-interval
- lldp timer reinit-delay
- lldp timer tx-interval
- lldp tlv-enable
- Support and other resources
- Index

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