Configuration example
# Set the priority of port GigabitEthernet 1/0/1 to 16 in MSTI 1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp instance 1 port priority 16
Setting the Link Type of a Port to P2P
Refer to
Setting the Link Type of a Port to P2P
Configuring the Mode a Port Uses to Recognize/Send MSTP Packets
Refer to
Configuring the Mode a Port Uses to Recognize/Send MSTP Packets
bridge configuration.
Enabling Output of Port State Transition Information
Refer to
Enabling the Output of Port State Transition Information
configuration.
Enabling the MSTP Feature
Refer to
Enabling the MSTP Feature
Performing mCheck
Ports on an MSTP-enabled device have three working modes: STP compatible mode, RSTP mode, and
MSTP mode.
In a switched network, if a port on the device running MSTP (or RSTP) connects to a device running
STP, this port will automatically migrate to the STP-compatible mode. However, if the device running
STP is removed, the port on the MSTP (or RSTP) device will not be able to migrate automatically to the
MSTP (or RSTP) mode, but will remain working in the STP-compatible mode. In this case, you can
perform an mCheck operation to force the port to migrate to the MSTP (or RSTP) mode.
You can perform mCheck on a port through two approaches, which lead to the same result.
Configuration Prerequisites
MSTP has been correctly configured on the device.
MSTP is configured to operate in MSTP mode or RSTP-compatible mode.
Configuration Procedure
Performing mCheck globally
Follow these steps to perform global mCheck:
To do...
Enter system view
Perform mCheck
in the section about root bridge configuration.
in the section about root bridge configuration.
Use the command...
system-view
stp mcheck
1-31
in the section about root
in the section about root bridge
Remarks
—
Required