R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)
33
stp global mcheck
Use stp global mcheck to perform the mCheck operation globally.
Syntax
stp global mcheck
Views
System view
Predefined user roles
network-admin
Usage guidelines
If a port on a device that is running MSTP, RSTP, or PVST connects to an STP device, the port automatically
transits to the STP mode when the port receives STP BPDUs. However, if the peer STP device is shut down
or removed and the local device cannot detect the change, the local device cannot automatically transit
back to the original mode. In this case, you can perform an mCheck operation to forcibly transit the port
to operate in the original mode.
The device operates in STP, RSTP, PVST, or MSTP mode, depending on the spanning tree mode setting.
The stp global mcheck command takes effect only when the device operates in MSTP, RSTP, or PVST
mode.
Examples
# Perform mCheck globally.
<Sysname> system-view
[Sysname] stp global mcheck
Related commands
• stp mcheck
• stp mode
stp loop-protection
Use stp loop-protection to enable the loop guard function on a port.
Use undo stp loop-protection to disable the loop guard function on a port.
Syntax
stp loop-protection
undo stp loop-protection
Default
The loop guard function is disabled.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin