Specifications

2-320
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
switchport port-security aging
switchport port-security aging
Use the switchport port-security aging interface configuration command to set the aging time and type
for secure address entries or to change the aging behavior for statically configured secure addresses on
a particular port. Use the no form of this command to disable port security aging or to set the parameters
to their default states.
switchport port-security aging {static | time time | type {absolute | inactivity}}
no switchport port-security aging {static | time | type}
Syntax Description
Defaults The port security aging feature is disabled. The default time is 0 minutes.
The default aging type is absolute.
The default static aging behavior is disabled.
Command Modes Interface configuration
Command History
Usage Guidelines To enable secure address aging for a particular port, set the port aging time to a value other than 0.
To allow limited-time access to particular secure addresses, set the aging type as absolute. When the
aging time lapses, the secure addresses are deleted.
To allow continuous access to a limited number of secure addresses, set the aging type as inactivity.
This removes the secure address when it becomes inactive, and other addresses can become secure.
To allow unlimited access to a secure address, configure it as a secure address, and disable aging for the
statically configured secure address by using the no switchport port-security aging static interface
configuration command.
static Enable aging for statically configured secure addresses on this port.
time time Specify the aging time for this port. The valid range is from 0 to 1440
minutes. If the time is 0, aging is disabled for this port.
type absolute Set the aging type as absolute aging. All the secure addresses on this port
age out exactly after the time (minutes) specified and are removed from
the secure address list.
type inactivity Set the aging type as inactivity aging. The secure addresses on this port
age out only if there is no data traffic from the secure source address for
the specified time period.
Release Modification
12.1(9)EA1 This command was first introduced.