Sets the interval time in seconds between messages that the spanning tree receives from the interface.
20 seconds.
Spanning tree configuration mode
Use this command to control the maximum length of time that passes before an interface saves its configuration Bridge Protocol Data Unit (BPDU) information.
If the vlan parameter is not provided, the seconds value is applied globally for all per-VLAN instances. However, for VLANs that have been configured explicitly, the per-VLAN configuration takes precedence over the global configuration.
When configuring the maximum age, the max-age command setting must be greater than the hello-time command setting. The following relationship should be kept:
(2 × (forward-delay - 1)) >= max-age >= (2 × (hello-time + 1))
Enter no max-age to return to the default configuration.
To configure the maximum age to 10 seconds:
device# configure terminal device(config)# protocol spanning-tree stp device(conf-stp)# max-age 10 device# configure terminal device(config)# protocol spanning-tree rstp device(conf-rstp)# max-age 10 device# configure terminal device(config)# protocol spanning-tree mstp device(conf-mstp)# max-age 10 device# configure terminal device(config)# protocol spanning-tree pvst device(conf-pvst)# max-age 10 device# configure terminal device(config)# protocol spanning-tree rpvst device(conf-rpvst)# max-age 10