Command Manual - STP
Quidway S3500 Series Ethernet Switches Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-28
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 Ethernet0/1.
[Quidway-Ethernet0/1] stp mcheck
1.1.30 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.
mstp: Configure the MSTP operation mode as MSTP.
Description
Using stp mode command, you can configure MSTP operation mode of the switch.
Using undo stp mode command, you can 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.
For the related command, see stp mcheck, stp, stp interface, stp interface mcheck.