2-52
Catalyst 3550 Multilayer Switch Command Reference
OL-8566-02
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
clear port-security
If you enter the clear port-security dynamic interface interface-id command, the switch removes all
dynamic secure MAC addresses on an interface from the MAC address table.
If you enter the clear port-security sticky command, the switch removes all sticky secure MAC
addresses from the MAC address table.
Examples This example shows how to remove all secure addresses from the MAC address table:
Switch# clear port-security all
This example shows how to remove a configured secure address from the MAC address table:
Switch# clear port-security configured address 0008.0070.0007
This example shows how to remove all the dynamic secure addresses learned on an interface:
Switch# clear port-security dynamic interface gigabitethernet0/1
This example shows how to remove all the sticky secure addresses from the address table:
Switch# clear port-security sticky
You can verify that the information was deleted by entering the show port-security privileged EXEC
command.
Related Commands Command Description
show port-security Displays the port security settings for an interface or for the switch.
switchport port-security Enables port security on an interface.