MSTP provides the MSTP packet format incompatibility guard function. 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 will become a designated port and remain in
the discarding state to prevent the occurrence of a loop.
MSTP provides the MSTP packet format frequent change guard function. If a port receives MSTP
packets of different formats frequently, this means that the MSTP packet format configuration
contains errors. In this case, if the port is working in MSTP mode, it will be disabled for protection.
Those ports closed thereby can be restored only by the network administers.
Configuration example
# Configure GigabitEthernet 1/0/1 to receive and send standard-format MSTP packets.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp compliance dot1s
Enabling the Output of Port State Transition Information
In a large-scale, MSTP-enabled network, there are a large number of MSTIs, so ports may frequently
transition from one state to another. In this situation, you can enable devices to output the port state
transition information of all MSTIs or the specified MSTI so as to monitor the port states in real time.
Follow these steps to enable output of port state transition information:
To do...
Enter system view
Enable output of port state transition
information of all MSTIs or a
particular MSTI
Enabling the MSTP Feature
Configuration procedure
Follow these steps to enable the MSTP feature:
To do...
Enter system view
Enable the MSTP feature for the
device
Use the command...
system-view
stp port-log { all |
instance instance-id }
Use the command...
system-view
stp enable
1-27
Remarks
—
Optional
Enabled by default.
Remarks
—
Required
By default, MSTP is disabled
globally.