2-851
Catalyst 3750 Switch Command Reference
OL-8552-07
Chapter 2 Catalyst 3750 Switch 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 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 aging time to a value other than 0 for that
port.
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 become 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 range is 0 to 1440 minutes. If the time
is 0, aging is disabled for this port.
type
Set the aging type.
absolute
Set absolute aging type. All the secure addresses on this port age out exactly
after the time (minutes) specified and are removed from the secure address list.
inactivity
Set the inactivity aging type. 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(11)AX
This command was introduced.