Max-hops – Brocade Network OS Command Reference v4.1.0 User Manual
Page 505

Network OS Command Reference
467
53-1003115-01
max-hops
2
max-hops
Configures the maximum number of hops for a Bridge Protocol Data Unit (BPDU) in an MSTP
region.
Synopsis
max-hops hop_count
no max-hops
Operands
hop_count
Specifies the maximum number of hops for which the BPDU will be valid.
Valid values range from 1 through 40.
Defaults
20 hops
Command Modes
Protocol Spanning Tree MSTP configuration mode
Description
Use this command to configure the maximum number of hops for a BPDU in an MSTP region.
This parameter is used by all the instances of the MSTP.
Usage Guidelines
Specifying the maximum hops for a BPDU prevents the messages from looping indefinitely on the
interface. When you change the number of hops, it affects all spanning-tree instances.
This command functions only in standalone mode.
Enter no max-hops to return to the default value.
Examples
To set the number of maximum hops to 25 for all MSTPs:
switch(config)# protocol spanning-tree mstp
switch(conf-mstp)# max-hops 25
See Also