F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
99
Views
System view
Default command level
2: System level
Parameters
hops: Sets the maximum hops, ranging from 1 to 40.
Usage guidelines
The maximum hops limit the size of the MST region.
Examples
# Set the maximum hops of the MST region to 35.
<Sysname> system-view
[Sysname] stp max-hops 35
Related commands
display stp
stp mcheck
Use stp mcheck to perform the mCheck operation globally or on a port.
Syntax
stp mcheck
Views
System view, Ethernet interface view, Layer 2 aggregate interface view
Default command level
2: System level
Usage guidelines
If a port on a device that runs MSTP or RSTP mode connects to an STP device, the port will automatically
transition to the STP mode. 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.
Suppose Device A running STP, Device B with no spanning tree feature enabled, and Device C running
RSTP or MSTP are connected in order. Device B will transparently transmit STP BPDUs, and the port on
Device C and connecting to Device B will transition to the STP mode. After you enable the spanning tree
feature on Device B, to run RSTP or MSTP between Device B and Device C, you must perform an mCheck
operation on the ports interconnecting Device B and Device C, in addition to configuring the spanning
tree to operate in RSTP or MSTP mode on Device B.
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.
Configured in system view, the setting takes effect globally.