AGE

Set ESW hardware age timer

AGE

Show or set the L2 age timer, in seconds. MAC entries that see no traffic for this long are removed.

  • age prints Current age timer is <seconds>.

  • age <seconds> sets it and prints Set age timer to <seconds>.

  • age 0 turns ageing off and prints Set age timer to 0. (disabled)

The value can be decimal or 0x hexadecimal.

On a SONiC switch age shows 600, SONiC’s default FDB ageing time.

Showing is safe. Setting changes a value that SONiC configures, and SONiC does not notice the change. It is likely set back the next time SONiC applies its FDB ageing configuration.

Hardware-validated

drivshell> age
Current age timer is 600.

Unvalidated — Disable ageing

drivshell> age 0

Built-in help

Parameters:  [<seconds>]
       Set the hardware age timer to the indicated number of seconds.
       With no parameter, displays current value.
       Setting to 0 disables hardware aging

Further reading

BCM_SDK命令, 交换芯片Helix4 L2 L3功能验证.