R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)

35
Views
Layer 2 Ethernet interface 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. 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.
For example, 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, MSTP, or PVST. 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, MSTP, or PVST with Device C, perform mCheck operations on the
ports that connect Device B and Device C.
The device operates in STP, RSTP, PVST, or MSTP mode, depending on the spanning tree mode setting.
The stp mcheck command takes effect only when the device operates in MSTP, RSTP, or PVST mode.
When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only the interface.
Examples
# Perform mCheck on GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/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 | pvst | rstp | stp }
undo stp mode
Default
A spanning tree device operates in MSTP mode.
Views
System view
Predefined user roles
network-admin