R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

96
stp mcheck
Syntax
stp mcheck
View
System view, Ethernet interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
None
Description
Use stp mcheck to perform the mCheck operation globally or on a port.
If a port on a device running MSTP or RSTP mode connects to an STP device, this port will automatically
transition to the STP-compatible mode. However, it cannot automatically transition back to the original
mode when:
The STP device is shut down or removed.
The STP device transitions to the MSTP or RSTP mode.
Then, you can perform an mCheck operation to forcibly transition the port to operation in the original
mode.
The device works in STP-compatible, RSTP or MSTP mode depending on the spanning tree mode setting.
The stp mcheck command is effective only when the device works in MSTP or RSTP mode.
Configured in system view, the setting takes effect globally.
Configured in Ethernet interface view, the setting takes effect on the interface only.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port leaves
the aggregation group.
Related commands: stp mode.
Examples
# Perform mCheck on GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] stp mcheck
stp mode
Syntax
stp mode { stp | rstp | mstp }
undo stp mode
View
System view