Setting The Port Security Age Time; Clearing Mac Addresses - Cisco WS-X6066-SLB-APC - Content Switching Module Software Manual

Catalyst 6000 series software configuration guide
Hide thumbs Also See for WS-X6066-SLB-APC - Content Switching Module:
Table of Contents

Advertisement

Chapter 35
Configuring Port Security
This example shows how to reduce the number of MAC addresses and the list that displays the cleared
MAC addresses:
Console> (enable) set port security 7/7 maximum 18
Maximum number of secure addresses set to 18 for port 7/7
00-11-22-33-44-55 cleared from secure address list for port 7/7
00-11-22-33-44-66 cleared from secure address list for port 7/7
Console> (enable)

Setting the Port Security Age Time

The age time on a port specifies how long all addresses on that port will be secured. This age time is
activated when a MAC address initiates traffic on the port. After the age time expires for a MAC address,
the entry for that MAC address on the port is removed from the secure address list. The valid range is
10–1440 minutes. Setting the age time to zero disables aging of secure addresses.
To set the age time on a port, perform this task in privileged mode:
Task
Set the age time for which addresses on a port will
be secured.
This example shows how to set the age time on port 7/7:
Console> (enable) set port security 7/7 age 600
Secure address age time set to 600 minutes for port 7/7.
Console> (enable)

Clearing MAC Addresses

Enter the clear port security command to clear MAC addresses from a list of secure addresses on a port.
Note
If the clear command is executed on a MAC address that is in use, that MAC address may be learned
and made secure again. We recommend that you disable port security before you clear MAC
addresses.
To clear all or a particular MAC address from the list of secure MAC addresses, perform this task in
privileged mode:
Task
Clear all or a particular MAC address from the list
of secure MAC addresses.
This example shows how to clear one MAC address from the secure address list on port 7/7:
Console> (enable) clear port security 7/7 00-11-22-33-44-55
00-11-22-33-44-55 cleared from secure address list for port 7/7
Console> (enable)
78-13315-02
Command
set port security mod/port age time
Command
clear port security mod/port {mac_addr | all}
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
Configuring Port Security
35-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents