2-100
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear port security
This example shows how to remove a secure MAC address for all VLANs on a port:
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 what happens if you clear a secu re MA C addr ess without specifyin g the all k eyword
or a specific list of VLANs. The MAC address is cleared on the native VLAN.
Console> (enable) clear port security 3/37 00-00-aa-00-00-aa
Secure MAC address 00-00-aa-00-00-aa cleared for port 3/37 and Vlan 1.
Console> (enable)
This example shows how to remove all secure MAC addresses from a specific VLAN:
Console> (enable) clear port security 3/37 all 20
All secure mac addresses cleared on port 3/37 for vlan 20.
Console> (enable)
Related Commands set port security
show port security