Switch 7700 Command reference Guide, v2.0

Table Of Contents
338 CHAPTER 8: USING STP COMMANDS
Parameter
None
Description
Use the stp mcheck command to perform an 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.
Related command: stp mode, stp interface mcheck.
Example
Set mcheck parameter for Ethernet5/0/1.
[SW7700-Ethernet5/0/1]stp mcheck
stp mode Syntax
stp mode { stp | mstp }
undo stp mode
View
System view
Parameter
stp: Configure the MSTP operation mode as STP-compatible.
mstp: Configure the MSTP operation mode as MSTP.
Description
Use the stp mode command to configure the MSTP operation mode of the
switch.
Use the undo stp mode command to restore the default MSTP operation
mode.
By default, switch work in MSTP mode
MSTP and RSTP are compatible and they can recognize the packets of each other.
However, STP cannot recognize MSTP packets. To implement the compatibility,
MSTP provides two operation modes, STP-compatible mode and MSTP mode. In
STP-compatible mode, the switch sends STP BPDU packets via every port and
serves as a region itself. In MSTP mode, the switch ports send MSTP BPDU packets
(when connected to the STP switch) and the switch provides multiple spanning
tree function.
Related command: stp mcheck, stp, stp interface, stp interface mcheck.