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

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 2 Catalyst 2960 Switch Cisco IOS Commands

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.
Syntax Description
static
time time
type
absolute
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.2(25)FX
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.
OL-8604-04
switchport port-security aging {static | time time | type {absolute | inactivity}}
no switchport port-security aging {static | time | type}
Enable aging for statically configured secure addresses on this port.
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.
Set the aging type.
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.
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.
Modification
This command was introduced.
switchport port-security aging
Catalyst 2960 Switch Command Reference
2-558

Advertisement

Table of Contents
loading

Table of Contents