spanning-tree mst max-hops
To specify the number of possible hops in the region before a bridge protocol data unit (BPDU) is discarded,
use the spanning-tree mst max-hops command in global configuration mode. To return to the default settings,
use the no form of this command.
spanning-tree mst max-hops hop-count
no spanning-tree mst max-hops
Syntax Description
Number of possible hops in the region before a BPDU is discarded. The range
is 1 to 255.
hop-count
Command Default
The default is 20.
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS 15.0(2)EX
Examples
This example shows how to set the number of possible hops to 25:
Switch(config)# spanning-tree mst max-hops 25
Related Commands
DescriptionCommand
Sets the forward-delay time for MST instances.
spanning-tree mst forward-time
Sets the interval between hello BPDUs sent by the root switch.
spanning-tree mst hello-time
Sets the interval between messages that the spanning tree receives
from the root switch.
spanning-tree mst max-age
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
98 OL-29043 -01
Layer 2 Commands
spanning-tree mst max-hops