
65
Description
Use
stp mcheck
to perform the mCheck operation globally or on a port.
If a port on a device running MSTP or RSTP mode connects to an STP device, this port automatically
transits to the STP-compatible mode. However, under the following circumstances, it cannot automatically
transit back to the original mode:
•
The STP device is shut down or removed.
•
The STP device transits to the MSTP or RSTP mode.
Then, you can perform an mCheck operation to forcibly transit the port to operation in the original mode.
The device works in STP-compatible, RSTP or MSTP mode depending on the spanning tree mode setting.
The
stp mcheck
command is effective only when the device works in MSTP or RSTP mode.
Configured in system view, the setting takes effect globally.
Configured in Ethernet interface view or WLAN mesh interface view, the setting takes effect on the
interface only.
Related commands:
stp mode
.
Examples
# Perform mCheck on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp mcheck
stp mode
Syntax
stp mode
{
stp
|
rstp
|
mstp
}
undo stp mode
View
System view
Default level
2: System level
Parameters
stp
: Configures the spanning tree device to work in STP-compatible mode.
rstp
: Configures the spanning tree device to work in RSTP mode.
mstp
: Configures the spanning tree device to work in MSTP mode.
Description
Use
stp mode
to configure the spanning tree work mode.
Use
undo stp mode
to restore the default.
By default, a spanning tree device works in MSTP mode.
Related commands:
stp mcheck
and
stp enable
.