Command Manual - STP
Quidway S3500 Series Ethernet Switches Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-27
1.1.28 stp max-hops
Syntax
stp max-hops hop
undo stp max-hops
View
System view
Parameter
hop: Specifies the max hops, ranging from 1 to 40. By default, MST region Max Hops is
20.
Description
Using stp max-hops command, you can configure the Max Hops of an MST region.
Using undo stp max-hops command, you can restore the default Max Hops.
On CIST and MSTIs, the Max Hops configured on the region root determines the max
switching network diameter supported by the local MST region. As the BPDU traveling
from the spanning tree root, each time when it is forwarded by a switch, the max hops
will be reduced by 1. The switch discards the configuration BPDU with 0 hops left,
thereby limiting the network scale inside the region. If the current switch is a CIST root
bridge or MSTI root bridge in an MST region, the Max Hops configured on it will be the
network diameter of the spanning tree to limit its scale in the local MST region. The Max
Hops configured on the root bridge in an MST region will be adopted by other switches
in the same region.
Example
# Set the Max Hops of an MST region to 35.
[Quidway] stp max-hops 35
1.1.29 stp mcheck
Syntax
stp mcheck
View
System view\Ethernet port view
Parameter
None