7-27
To do...
Use the command...
Remarks
Enable MSTP for the ports
stp
enable
Optional
By default, MSTP is enabled for all ports
after it is enabled for the AP globally.
To control MSTP flexibly, you can use the
undo stp enable
command to disable MSTP for certain ports
so that they will not take part in spanning tree calculation and thus to save the CPU resources of the AP.
Performing mCheck
MSTP has three working modes: STP compatible mode, RSTP mode, and MSTP mode.
If a port on a bridge running MSTP (or RSTP) connects to a bridge running STP, this port will
automatically migrate to the STP-compatible mode. However, it will not be able to migrate automatically
back to the MSTP (or RSTP) mode, but will remain in the STP-compatible mode under the following
circumstances:
z
The bridge running STP is shut down or removed.
z
The bridge running STP migrates to the MSTP (or RSTP) mode.
By then, 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 using one of the following two approaches, which lead to the same
result.
Performing mCheck globally
Follow these steps to perform global mCheck:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Perform mCheck globally
stp mcheck
Required
Performing mCheck in interface view
Follow these steps to perform mCheck in interface view:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter Ethernet interface view or WLAN
Mesh interface view
interface interface-type
interface-number
—
Perform mCheck
stp mcheck
Required