Displaying Port Security Settings - Cisco 6500 Series Software Configuration Manual

Hide thumbs Also See for 6500 Series:
Table of Contents

Advertisement

Chapter 26
Configuring Port Security
To configure port security aging, perform this task:
Command
Step 1
Router(config)# interface interface_id
Step 2
Router(config-if)# switchport port-security aging
time aging_time
Router(config-if)# no switchport port-security
aging time
Step 3
Router(config-if)# end
Step 4
Router# show port security [interface
interface_id] [address]
When configuring port security aging, note the following:
This example shows how to set the aging time as 2 hours for the secure addresses on the Fast Ethernet
interface 5/1:
Router(config)# interface fastethernet 5/1
Router(config-if)# switchport port-security aging time 120
This example shows how to set the aging time as 2 minutes:
Router(config-if)# switchport port-security aging time 2
You can verify the previous commands by entering the show port-security interface interface_id
privileged EXEC command.

Displaying Port Security Settings

The show interfaces interface_id switchport privileged EXEC command displays the interface traffic
suppression and control configuration. The show interfaces counters privileged EXEC commands
display the count of discarded packets. The show storm control and show port-security privileged
EXEC commands display those features.
78-14099-04
With all releases, you can enter the no keyword to disable aging.
For Release 12.1(19)E and later releases, the valid aging-time range is from 1 to 1440 minutes.
For releases earlier than Release 12.1(19)E, the valid aging-time range is from 0 to 1440 minutes. You
can enter zero to disable aging.
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
Purpose
Enters interface configuration mode for the port on which
you want to enable port security aging.
Sets the aging time for the secure port.
For time, specify the aging time for this port. All the secure
addresses age out exactly after the time (minutes) specified
lapses and are removed from the secure address list.
Disables aging.
Returns to privileged EXEC mode.
Verifies your entries.
Displaying Port Security Settings
26-5

Advertisement

Table of Contents
loading

Table of Contents