H3C LS-3100-52P-OVS-H3 Operation Manual - page 267
1-31
Configuration example
# Set the priority of port GigabitEthernet 1/0/1 to 16 in MSTI 1.
[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
in the section about root bridge configuration.
Configuring the Mode a Port Uses to Recognize/Send MSTP Packets
Refer to
Configuring the Mode a Port Uses to Recognize/Send MSTP Packets
in the section about root
bridge configuration.
Enabling Output of Port State Transition Information
Refer to
Enabling the Output of Port State Transition Information
in the section about root bridge
configuration.
Enabling the MSTP Feature
Refer to
Enabling the MSTP Feature
in the section about root bridge configuration.
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
z
MSTP has been correctly configured on the device.
z
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...
Use the command...
Remarks
Enter system view
system-view
—
Perform mCheck
stp mcheck
Required