Spanning-Tree Commands 367
Syntax
•
spanning-tree mst
instance-id
priority
priority
•
no spanning-tree mst
instance-id
priority
•
instance-id —
ID of the spanning -tree instance. (Range: 0 - 15)
•
priority —
Device priority for the specified spanning-tree instance. (Range: 0 - 61440 in multiples
of 4096)
Default Configuration
The default bridge priority for IEEE Spanning Tree Protocol (STP) is 32768.
Command Mode
Global Configuration mode.
User Guidelines
The device with the lowest priority is selected as the root of the Spanning Tree.
Example
The following example configures the Spanning Tree priority of instance 1 to 4096.
spanning-tree mst max-hops
The spanning-tree mst max-hops Global Configuration mode command configures 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 return to the default configuration.
Syntax
•
spanning-tree mst max-hops
hop-count
• no spanning-tree mst max-hops
•
hop-count —
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.
Console(config)# spanning-tree mst 1 priority 4096
book.book Page 367 Thursday, December 18, 2008 7:40 PM