350 Spanning-Tree Commands
spanning-tree max-age
The spanning-tree max-age Global Configuration mode command configures the spanning-tree bridge
maximum age. Use the no form of this command to reset the default maximum age.
Syntax
•
spanning-tree max-age
seconds
• no spanning-tree max-age
•
seconds
-Time in seconds. (Range: 6 - 40)
Default Configuration
The default max-age for IEEE STP is 20 seconds.
Command Modes .
Global Configuration mode
User Guidelines
• When configuring the Max-Age the following relationships should be kept:
– 2*(Forward-Time - 1) >= Max-Age
– Max-Age >= 2*(Hello-Time + 1)
Example
The following example configures the spanning-tree bridge maximum-age to 10 seconds.
spanning-tree priority
The spanning-tree priority Global Configuration mode command configures the spanning-tree priority.
The priority value is used to determine which bridge is elected as the root bridge. Use the no form of this
command to reset the default spanning-tree priorit.
Syntax
•
spanning-tree priority
priority
• no spanning-tree priority
•
priority
— Priority of the bridge. (Range: 0 - 65535 in steps of 4096)
Default Configuration
The default bridge priority for IEEE STP is 32768.
Console(config)# spanning-tree max-age 10
5400_CLI.book Page 350 Wednesday, December 17, 2008 4:33 PM