CLI Reference Guide-R07

Table Of Contents
Chapter 19
| Spanning Tree Commands
– 451 –
spanning-tree
max-age
This command configures the spanning tree bridge maximum age globally for this
switch. Use the no form to restore the default.
Syntax
spanning-tree max-age seconds
no spanning-tree max-age
seconds - Time in seconds. (Range: 6-40 seconds)
The minimum value is the higher of 6 or [2 x (hello-time + 1)].
The maximum value is the lower of 40 or [2 x (forward-time - 1)].
Default Setting
20 seconds
Command Mode
Global Configuration
Command Usage
This command sets the maximum time (in seconds) a device can wait without
receiving a configuration message before attempting to reconverge. All device
ports (except for designated ports) should receive configuration messages at
regular intervals. Any port that ages out STA information (provided in the last
configuration message) becomes the designated port for the attached LAN. If it is a
root port, a new root port is selected from among the device ports attached to the
network.
Example
Console(config)#spanning-tree max-age 40
Console(config)#
Related Commands
spanning-tree forward-time (449)
spanning-tree hello-time (450)
spanning-tree mode This command selects the spanning tree mode for this switch. Use the no form to
restore the default.
Syntax
spanning-tree mode {stp | rstp
| mstp}
no spanning-tree mode
stp - Spanning Tree Protocol (IEEE 802.1D)
rstp - Rapid Spanning Tree Protocol (IEEE 802.1w)
mstp - Multiple Spanning Tree (IEEE 802.1s)