Command Manual - STP
Quidway S6500 Series Ethernet Switches Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-23
Example
# Set the Max Hops of an MST region to 35.
[Quidway] stp max-hops 35
1.1.25 stp mcheck
Syntax
stp mcheck
View
Ethernet port view
Parameter
None
Description
Using stp mcheck command, you can perform mcheck on the current port.
If a port of an MSTP switch on a switching network has ever been connected to an STP
switch, the port will automatically transit to operate in STP-compatible mode. However,
when the STP switch is removed, the port stays in STP-compatible mode and cannot
automatically transit back to MSTP mode. In this case, you can perform mCheck
operation to transit the port to MSTP mode by force.
For the related command, see stp mode, stp interface mcheck.
Example
# Set mcheck parameter for Ethernet2/0/1.
[Quidway-Ethernet2/0/1] stp mcheck
1.1.26 stp mode
Syntax
stp mode { stp | rstp | mstp }
undo stp mode
View
System view
Parameter
stp: Configure the MSTP operation mode as STP-compatible.
rstp: Configure the MSTP operation mode as RSTP.