1-31Configuration example# Set the priority of port GigabitEthernet 1/0/1 to 16 in MSTI 1. system-view[Sysname] interface gigabitethernet 1/0/1[Sysname-GigabitEthernet1/0/1] stp instance 1 port priority 16Setting the Link Type of a Port to P2PRefer 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 PacketsRefer to Configuring the Mode a Port Uses to Recognize/Send MSTP Packets in the section about rootbridge configuration.Enabling Output of Port State Transition InformationRefer to Enabling the Output of Port State Transition Information in the section about root bridgeconfiguration.Enabling the MSTP FeatureRefer to Enabling the MSTP Feature in the section about root bridge configuration.Performing mCheckPorts on an MSTP-enabled device have three working modes: STP compatible mode, RSTP mode, andMSTP mode.In a switched network, if a port on the device running MSTP (or RSTP) connects to a device runningSTP, this port will automatically migrate to the STP-compatible mode. However, if the device runningSTP is removed, the port on the MSTP (or RSTP) device will not be able to migrate automatically to theMSTP (or RSTP) mode, but will remain working in the STP-compatible mode. In this case, you canperform 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 Prerequisitesz MSTP has been correctly configured on the device.z MSTP is configured to operate in MSTP mode or RSTP-compatible mode.Configuration ProcedurePerforming mCheck globallyFollow these steps to perform global mCheck:To do... Use the command... RemarksEnter system view system-view —Perform mCheck stp mcheck Required