1-27
Use the undo stp interface loop-protection command to restore the default state of the loop guard
function in system view.
The loop guard function is disabled by default.
Related commands: stp loop-protection.
With the loop guard function enabled, the root guard function and the edge port configuration are
mutually exclusive.
Examples
# Enable the loop guard function for Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp interface Ethernet 1/0/1 loop-protection
stp interface mcheck
Syntax
stp [ interface interface-list ] mcheck
View
System view
Parameters
interface-list: Ethernet port list. You can specify multiple Ethernet ports by providing this argument in the
form of interface-list = { interface-type interface-number [ to interface-type interface-number ] } &<1-10>,
where &<1-10> means that you can provide up to 10 port indexes/port index ranges for this argument.
Description
Use the stp interface mcheck command to perform the mCheck operation on specified port(s) in
system view.
A port on an MSTP-enabled switch migrates to the STP-/RSTP-compatible mode automatically if an
STP-/RSTP-enabled switch has been connected to it. But when the STP-/RSTP-enabled switch is
disconnected from the port, the port cannot migrate back to the MSTP mode automatically. In this case,
you can force the port to migrate to the MSTP mode by performing the mCheck operation on the port.
Related commands: stp mcheck, stp mode.