HP MSR2000/3000/4000 Router Series Layer 2 - LAN Switching Command Reference

Table Of Contents
38
Related commands
display stp
stp mcheck
Use stp mcheck to perform the mCheck operation on a port.
Syntax
stp mcheck
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
If a port on a device that is running MSTP or RSTP connects to an STP device, the port automatically
transits to the STP mode when the port receives STP BPDUs. 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 operation in the original mode.
Suppose a scenario where Device A, Device B, and Device C are connected in sequence. Device A runs
STP, Device B does not run any spanning tree protocol, and Device C runs RSTP or MSTP. In this case,
when Device C receives an STP BPDU transparently transmitted by Device B, the receiving port transits to
the STP mode. If you configure Device B to run RSTP or MSTP with Device C, perform mCheck operations
on the ports that connect Device B and Device C.
The device operates in STP, RSTP, or MSTP mode depending on the spanning tree mode setting.
The stp mcheck command is effective only when the device operates in MSTP or RSTP mode.
When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only that interface.
Examples
# Perform mCheck on Ethernet 2/1.
<Sysname> system-view
[Sysname] interface ethernet 2/1
[Sysname-Ethernet2/1] stp mcheck
Related commands
stp global mcheck
stp mode
stp mode
Use stp mode to configure the spanning tree operating mode.
Use undo stp mode to restore the default.
Syntax
stp mode { mstp | rstp | stp }