R211x-HP Flexfabric 11900 Layer 2 - LAN Switching Command Reference

141
[Sysname] stp max-hops 35
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, Layer 2 aggregate interface view
Predefined user roles
network-admin
mdc-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.
When the setting is configured in Layer 2 aggregate interface view, it takes effect on only the aggregate
interface.
When the setting is configured on a member port in an aggregation group, it takes effect only after the
port leaves the aggregation group.
Examples
# Perform mCheck on Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] stp mcheck
Related commands
stp global mcheck
stp mode