C613-50631-01 Rev A Command Reference for IE340 Series 745
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
SPANNING TREE COMMANDS
SPANNING
-TREE MAX-AGE
spanning-tree max-age
Overview Use this command to set the max-age. This sets the maximum age, in seconds, that
dynamic spanning tree configuration information is stored in the device before it
is discarded.
Use this command for RSTP, STP or MSTP.
Use the no variant of this command to restore the default of max-age.
Syntax
spanning-tree max-age <max-age>
no spanning-tree max-age
Default The default of spanning-tree max-age is 20 seconds.
Mode Global Configuration
Usage Max-age is the maximum time in seconds for which a message is considered valid.
Configure this value sufficiently high, so that a frame generated by the root bridge
can be propagated to the leaf nodes without exceeding the max-age.
The forward delay, max-age, and hello time parameters should be set according
to the following formula, as specified in IEEE Standard 802.1d:
2 x (forward delay - 1.0 seconds) >= max-age
max-age >= 2 x (hello time + 1.0 seconds)
Example
awplus# configure terminal
awplus(config)# spanning-tree max-age 12
Related
commands
show spanning-tree
spanning-tree forward-time
spanning-tree hello-time
Parameter Description
<max-age> <6-40> The maximum time, in seconds.