R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
95
dot1s—802.1s-compliant standard format
legacy—Compatible format
By default, the packet format recognition mode of a port is auto. The port automatically distinguishes the
two MSTP packet formats, and determines the format of packets it will send based on the recognized
format.
You can configure the MSTP packet format on a port. When working in MSTP mode after the
configuration, the port sends and receives only MSTP packets of the format you have configured to
communicate with devices that send packets of the same format.
To configure the MSTP packet format to be supported on a port or a group of ports:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter Ethernet interface view or Layer
2 aggregate interface view.
interface interface-type
interface-number
N/A
3. Configure the mode the port uses to
recognize/send MSTP packets.
stp compliance { auto | dot1s |
legacy }
auto by default.
NOTE:
MSTP provides MSTP packet format incompatibility guard. In MSTP mode, if a port is configured to
recognize/send MSTP packets in a mode other than auto, and receives a packet in a format different
from the specified type, the port will become a designated port and remain in the discarding state to
prevent the occurrence of a loop.
MSTP provides MSTP packet format frequent change guard. If a port receives MSTP packets of differen
t
formats frequently, the MSTP packet format configuration contains errors. If the port is workin
g
in MSTP
mode, it will be shut down for protection. Ports disabled in this way can be re-activated after a detection
interval. For more information about the detection interval, see
Getting Started Guide
.
Enabling the spanning tree feature
You must enable the spanning tree feature for the device before any other spanning tree related
configurations can take effect. In STP/RSTP/MSTP mode, make sure that the spanning tree feature is
enabled globally and on the desired ports.
To enable the spanning tree feature:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable the spanning tree feature
globally.
stp enable
Whether the spanning tree
feature is enabled globally or on
VLANs by default depends on
your device model.
3. Enter Ethernet interface view or
Layer 2 aggregate interface view.
interface interface-type
interface-number
N/A
4. Enable the spanning tree feature for
the port or group of ports.
stp enable
Optional.
By default, the spanning tree
feature is enabled for all ports.