F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100
94
You can configure the MSTP packet format on a port. When operating in MSTP mode after the
configuration, the port sends and receives only MSTP packets of the format that you have configured to
communicate with devices that send packets of the same format.
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 if it receives a packet in a format different
from the specified type, the port becomes a designated port and remains 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 different
formats frequently, the MSTP packet format configuration contains errors. If the port is operating 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.
To configure the MSTP packet format to be supported on a port:
Ste
p
Command
Remarks
161. Enter system view. system-view N/A
162. Enter Ethernet interface view or Layer 2
aggregate interface view.
interface interface-type
interface-number
N/A
163. Configure the mode that the port uses to
recognize/send MSTP packets.
stp compliance { auto |
dot1s | legacy }
The default setting is auto.
440BEnabling the spanning tree feature
You must enable the spanning tree feature for the device before any other spanning tree related
configurations can take effect. You can disable the spanning tree feature for certain ports with the undo
stp enable command to exclude them from spanning tree calculation and save CPU resources of the
device.
In STP, RSTP, or MSTP mode, make sure the spanning tree feature is enabled globally and on the desired
ports.
To enable the spanning tree feature in STP, RSTP, or MSTP mode:
Ste
p
Command
Remarks
164. Enter system view. system-view N/A
165. Enable the spanning tree
feature globally.
stp enable
By default, the spanning tree
feature is disabled globally.
166. Enter Ethernet interface
view or Layer 2 aggregate
interface view.
interface interface-type
interface-number
N/A
167. Enable the spanning tree
feature for the port.
stp enable
Optional.
By default, the spanning tree
feature is enabled on all ports.
441BPerforming mCheck
If a port on a device that is running MSTP or RSTP connects to an STP device, this port automatically
migrates to STP mode. However, it cannot automatically transition back to the original mode when: