spanning-tree max-age


spanning-tree max-age <AGE-IN-SECS>

no spanning-tree max-age [<AGE-IN-SECS>]


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




Specifies the max-age in seconds. Default: 20 seconds. Range: 6-40.


Administrators or local user group members with execution rights for this command.


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