Configuring the MSTP Protocol Packet Format on an Interface
Context
MSTP protocol packets have two formats: dot1s (IEEE 802.1s standard packets) and legacy (proprietary protocol packets).
You can specify the packet format or use the auto mode. In auto mode, the switch switches the MSTP protocol packet format based on the received MSTP protocol packet format so that the switch can communicate with the peer device.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
interface interface-type interface-number
The Ethernet interface view is displayed.
- Run:
stp compliance { auto | dot1s | legacy }
The MSTP protocol packet format is configured on the interface.
The auto mode is used by default.
The negotiation will fail if the format of MSTP packets is set to dot1s at one end and legacy at the other end.