Spanning-Tree Commands
OL-32830-01 Command Line Interface Reference Guide 904
46
Example
The following example configures the spanning tree priority of instance 1 to 4096.
switchxxxxxx(config)#
spanning-tree mst
1
priority
4096
46.19 spanning-tree mst max-hops
Use the spanning-tree mst max-hops Global Configuration mode command to
configure the number of hops in an MST region before the BDPU is discarded and
the port information is aged out. Use the no form of this command to restore the
default configuration.
Syntax
spanning-tree mst max-hops
hop-count
no spanning-tree mst max-hops
Parameters
max-hops
hop-count
—Specifies the number of hops in an MST region before the
BDPU is discarded. (Range: 1–40)
Default Configuration
The default number of hops is 20.
Command Mode
Global Configuration mode
Example
The following example configures the maximum number of hops that a packet
travels in an MST region before it is discarded to 10.
switchxxxxxx(config)#
spanning-tree mst max-hops
10