spanning-tree max-age
Syntax
spanning-tree max-age <AGE-IN-SECS>
no spanning-tree max-age [<AGE-IN-SECS>]
Description
Sets the maximum age timer, which specifies the maximum age value that the switch inserts in outbound BPDU packets it sends as a root bridge. Max-age is the interval, specified in the BPDU, that BPDU data remains valid after its reception.
The bridge recomputes the spanning tree topology if it does not receive a new BPDU before max-age expiry.
The
no
form of this command sets the max-age value to the default of 20 seconds.
Command context
config
Parameters
<AGE-IN-SECS>
Specifies the max-age in seconds. Default: 20 seconds. Range: 6-40.
Authority
Administrators
Examples
Setting the max-age to 10 seconds:
switch(config)# spanning-tree max-age 10
Setting the max-age to the default of 20 seconds:
switch(config)# no spanning-tree max-age