HP VPN Firewall Appliances Network Management Command Reference

78
Examples
# In MSTP mode, display the brief spanning tree status and statistics information 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 16 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.
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
CIST Root/ERPC :0.00e0-fc0e-6554 / 200200
CIST RegRoot/IRPC :32768.000f-e200-2200 / 0
CIST RootPortId :128.48
BPDU-Protection :disabled
Bridge Config-
Digest-Snooping :disabled