Specifications
2-321
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
switchport port-security aging
Examples This example sets the aging time as 2 hours for absolute aging for all the secure addresses on Fast
Ethernet interface 0/1.
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport port-security aging time 120
This example sets the aging time as 2 minutes for inactivity aging type for configured secure addresses
on Fast Ethernet interface 0/2.
Switch(config)# interface fastethernet0/2
Switch(config-if)# switchport port-security aging time 2
Switch(config-if)# switchport port-security aging type inactivity
Switch(config-if)# switchport port-security aging static
This example shows how to disable aging for configured secure addresses.
Switch(config-if)# no switchport port-security aging static
Related Commands Command Description
show port-security Displays the port security settings defined for the port.
switchport port-security Enables port security on a port, restricts the use of the port to a
user-defined group of stations, and configures secure MAC addresses.