Cisco Catalyst 3560X-24P Command Reference Manual page 923

Cisco ios release 12.2(55)se
Hide thumbs Also See for Catalyst 3560X-24P:
Table of Contents

Advertisement

Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
Examples
This example sets the aging time as 2 hours for absolute aging for all the secure addresses on the port:
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# switchport port-security aging time 120
This example sets the aging time as 2 minutes for inactivity aging type with aging enabled for configured
secure addresses on the port:
Switch(config)# interface gigabitethernet1/0/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)# interface gigabitethernet1/0/2
Switch(config-if)# no switchport port-security aging static
Related Commands
Command
show port-security
switchport port-security
OL-21522-02
Description
Displays the port security settings defined for the port.
Enables port security on a port, restricts the use of the port to a
user-defined group of stations, and configures secure MAC addresses.
Catalyst 3750-X and 3560-X Switch Command Reference
switchport port-security aging
2-891

Advertisement

Table of Contents
loading

Table of Contents