HP VPN Firewall Appliances Network Management Command Reference
101
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
transit to the STP mode. It cannot automatically transit back to the original mode when:
• The STP device is shut down or removed.
• The STP device transits to the MSTP or RSTP mode.
Then, you can perform an mCheck operation to forcibly transit 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 transit 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.
Configured in Ethernet interface view, the setting takes effect only on the interface.
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.