38-9
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 38 Configuring Port Security
Configuring Port Security on the Switch
To clear all or a particular MAC address from the list of secure MAC addresses, perform this task in
privileged mode:
This example shows how to clear one MAC address from the secure address list on port 3/37:
Console> (enable)
clear port security 3/37 00-00-aa-00-00-aa 20,30
Secure MAC address 00-00-aa-00-00-aa cleared for port 3/37 and Vlan 20.
Secure MAC address 00-00-aa-00-00-aa cleared for port 3/37 and Vlan 30.
Console> (enable)
This example shows how to clear all the MAC addresses from ports 3/37:
Console> (enable)
clear port security 3/37 00-00-aa-00-00-aa all
Secure MAC address 00-00-aa-00-00-aa cleared for port 3/37 and Vlan 1.
Secure MAC address 00-00-aa-00-00-aa cleared for port 3/37 and Vlan 20.
Secure MAC address 00-00-aa-00-00-aa cleared for port 3/37 and Vlan 30.
Console> (enable)
This example shows how to clear a MAC address from VLAN 1 on trunk port 2/2:
Console> (enable)
clear port security 2/2 00-90-2b-03-34-09 1
Secure MAC address 00-90-2b-03-34-09 cleared for port 2/2 and Vlan 1.
Console> (enable)
Configuring Unicast Flood Blocking on the Secure Ports
To configure unicast flood blocking on a secure port, you must disable the unicast flood feature.
Note
The port disables the unicast flooding once the MAC-address limit is reached.
To configure unicast flood blocking on a secure port, perform this procedure in privileged mode:
Task
Command
Clear all or a particular MAC address from the list
of secure MAC addresses.
Note
On the trunk ports, you can clear a MAC
address from the list for one or more
specific VLANs by using the VLAN list
parameter. If you specify the
all
keyword,
the MAC address is cleared from the list
of secure MAC addresses for all the
VLANs on the trunk port.
clear port security
mod/port
all
|
mac_addr
[
all |
vlan_list
]
Task
Command
Step 1
Disable unicast flood blocking on the desired
secure ports.
set port security
mod/port
unicast-flood disable
Step 2
Verify the configuration of the unicast flood.
show port security
mod/port
Step 3
Verify the status of unicast flood blocking.
show port unicast-flood
mod
/
port