age
By default, learned MAC addresses stay secure indefinitely.
Port security configuration mode
Port security interface configuration mode
If the absolute keyword is not specified, secure MAC addresses are aged out only when the configured hardware MAC address age time expires.
The
no form of the command configures to never age out secure MAC addresses.
The following example sets the port security age timer to 10 minutes on all interfaces.
device(config)# port security device(config-port-security)# age 10
The following example ages out secure MAC addresses immediately after one minute.
device(config)# port security device(config-port-security)# age 1 absolute