In auto mode, if a port frequently receives MSTP packets of different formats alternately, the port will be
forcibly placed in the discarding state and no longer forwards MSTP packets. The physical state of the
port will be displayed as STP DOWN. To restore such a port, you can first run the shutdown command
and then the undo shutdown command on it.
Configuration procedure
Follow these steps to configure how a port recognizes and sends MSTP packets (in system view):
To do...
Enter system view
Configure how a port
recognizes and sends
MSTP packets
Follow these steps to configure how a port recognizes and sends MSTP packets (in Ethernet port view):
To do...
Enter system view
Enter Ethernet port view
Configure how a port
recognizes and sends
MSTP packets
Configuration example
# Configure Ethernet 1/0/1 to recognize and send packets in dot1s format.
<Sysname> system-view
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] stp compliance dot1s
# Restore the default mode for Ethernet 1/0/1 to recognize/send MSTP packets.
[Sysname-Ethernet1/0/1] undo stp compliance
Configuring the MSTP Operation Mode
To make an MSTP-enabled switch compatible with STP/RSTP, MSTP provides the following three
operation modes:
Use the command...
system-view
stp interface
interface-list
compliance { auto | dot1s |
legacy }
Use the command...
system-view
interface interface-type
interface-number
stp compliance { auto |
dot1s | legacy }
1-21
Remarks
—
Required
By default, a port recognizes and sends
MSTP packets in the automatic mode.
That is, it determines the format of
packets to be sent according to the
format of the packets received.
Remarks
—
—
Required
By default, a port recognizes and sends
MSTP packets in the automatic mode.
That is, it determines the format of
packets to be sent according to the
format of the packets received.