disable-aging

Disables aging of MAC sessions at the global level.
Syntax
disable-aging [ permitted-mac-only | denied-mac-only ]
no disable-aging [ permitted-mac-only | denied-mac-only ]
Command Default

Aging of MAC sessions is not disabled.

Parameters
permitted-mac-only

Prevents permitted (authenticated and restricted) sessions from being aged out and ages denied sessions.

denied-mac-only

Prevents denied sessions from being aged out, but ages out permitted sessions.

Modes

Authentication mode

Usage Guidelines

The no form of the command does not disable aging.

Use this command to disable the aging of MAC sessions. Use the disable-aging command in the authentication mode and the authentication disable-aging command at the interface level. The command entered at the interface level overrides the command entered at the authentication level.

Examples

The example disables aging for permitted MAC addresses.

device(config)# authentication
device(config-authen)# disable-aging permitted-mac-only
History
Release version Command history
08.0.20 This command was introduced.