Disabling Port Security; Configuring Port Security Aging - Cisco WS-C2955T-12 Software Manual

Software guide
Table of Contents

Advertisement

Chapter 7
Configuring the Switch Ports
Command
Step 3
port security max-mac-count 1
Step 4
port security action shutdown
Step 5
end
Step 6
show port security

Disabling Port Security

Beginning in privileged EXEC mode, follow these steps to disable port security:
Command
Step 1
configure terminal
Step 2
interface interface
Step 3
no port security
Step 4
end
Step 5
show port security

Configuring Port Security Aging

This feature is not available on the Catalyst 2900 LRE XL switches.
Note
You can use port security aging to set the aging time for all dynamic and static secure addresses on a
port. When port security aging is enabled on a port, the secure addresses on the port are deleted only if
the secure addresses are inactive for the specified aging time.
Use this feature to remove and add PCs on a secure port without manually deleting the existing secure
MAC addresses and to still limit the number of secure addresses on a port.
Beginning in privileged EXEC mode, follow these steps to enable the port security aging feature:
Command
Step 1
configure terminal
Step 2
interface interface
Step 3
port security aging time time
Step 4
end
Step 5
show port security [interface-id]
78-6511-08
Purpose
Secure the port and set the address table to one address.
Set the port to shutdown when a security violation occurs.
Return to privileged EXEC mode.
Verify the entry.
Purpose
Enter global configuration mode.
Enter interface configuration mode for the port you want to disable port
security.
Disable port security.
Return to privileged EXEC mode.
Verify the entry.
Purpose
Enter global configuration mode.
Enter interface configuration mode for the port on which you want to enable
port security aging.
Enable port security aging for this port and set the aging time. For time,
specify the age time for this port. Valid range is from 0 to 1440 minutes. If the
time is equal to 0, aging is disabled for this p ort.
Return to privileged EXEC mode.
Verify the entry.
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
Enabling Port Security
7-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents