Reference Guide

Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
Version 6.5.1.0 Introduced.
Related
Commands
forward-delay — the amount of time the interface waits in the Blocking State and the Learning
State before transitioning to the Forwarding State.
hello-time — changes the time interval between BPDUs.
max-hops
Configure the maximum hop count.
Z9000
Syntax
max-hops number
To return to the default values, use the no max-hops command.
Parameters
range Enter a number for the maximum hop count. The range is from 1 to 40.
The default is 20.
Defaults 20 hops
Command Modes MULTIPLE SPANNING TREE
Command History
This guide is platform-specific. For command information about other platforms, refer to the
relevant
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 8.3.19.0 Introduced on the S4820T.
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.1 Introduced on the S4810.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
Version 6.5.1.0 Introduced.
Usage
Information
The max-hops command is a configuration command that applies to both the IST and all MST
instances in the MSTP region. The BPDUs sent out by the root switch set the remaining-hops
parameter to the configured value of max-hops. When a switch receives the BPDU, it
decrements the received value of the remaining hops and uses the resulting value as
remaining-hops in the BPDUs. If the remaining-hops reach zero, the switch discards the BPDU
and ages out any information that it holds for the port.
929