Switchport Port-Security Aging - Cisco Catalyst 2950 Command Reference Manual

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

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.
Syntax Description
static
time time
type absolute
type inactivity
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
Release
12.1(9)EA1
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.
Catalyst 2950 Desktop Switch Command Reference
2-300
switchport port-security aging {static | time time | type {absolute | inactivity}}
no switchport port-security aging {static | time | type}
Modification
This command was first introduced.
Enable aging for statically configured secure addresses on this port.
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.
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.
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.
Chapter 2 Cisco IOS Commands
78-11381-05

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents