XG Series User's Guide Chapter 5 Command Reference
STP Information
224
5.8.1.9 stp max-hops
Function Set a maximum hop count of bridge configuration.
Available Model XG0224 / XG0448 / XG2600
Syntax stp max-hops <hop_count>
Options
<hop_count>
•
Maximum hop count
Specify a decimal value from 1 to 40.
Use Mode Configuration mode (admin class)
Explanation This command is used instead of the Message Age and Max Age parameters in the MST
region.
It indicates the valid hop count for the BPDU that the root bridge sends.
When the hop count of the received BPDU is 0, this device begins to send BPDU with the
maximum hop count as a root bridge.
Caution This command is enabled only in the MSTP operation mode.
The hop count is reduced each time BPDU is forwarded via a neighboring device. If this
device functions as a root bridge with the hop count set to 1, a spanning tree will be
created only between this device and a neighboring device.
Default It is assumed that 20 is set for hop count.
stp max-hops 20