1-26
z System view:
stp [ interface interface-list ] mcheck
View
System view, Ethernet port 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
z Use the stp mcheck command to perform the mCheck operation on the current port in Ethernet
port view.
z Use the stp interface mcheck command to perform the mCheck operation on specified port(s) in
system view. If the value of interface interface-list is not specified, this command performs the
mCheck operation on all MSTP-enabled ports of the device.
When a port on an MSTP-enabled/RSTP-enabled upstream switch connects with an STP-enabled
downstream switch, the port operates in the STP-compatible mode automatically. But when the
STP-enabled downstream switch is then replaced by an MSTP-enabled switch, the port cannot
automatically transit to the MSTP mode but still remains in the STP-compatible mode. In this case, you
can force the port to transit to the MSTP mode by performing the mCheck operation on the port.
Related commands: stp mode.
Examples
# Perform the mCheck operation on Ethernet 1/0/1.
z Perform the mCheck operation on Ethernet 1/0/1 in Ethernet port view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] stp mcheck
z Perform the mCheck operation on Ethernet 1/0/1 in system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp interface Ethernet 1/0/1 mcheck
# Perform the mCheck operation on Ethernet 1/0/2 to Ethernet 1/0/4 in system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp interface Ethernet 1/0/2 to Ethernet 1/0/4 mcheck
# Perform the mCheck operation on all the MSTP-enabled ports of your switch in system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp mcheck