2-112
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
clear port-security
Examples This example shows how to clear all secure addresses from the MAC address table:
Switch# clear port-security all
This example shows how to remove a specific 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 a specific interface:
Switch# clear port-security dynamic interface gigabitethernet1/0/1
This example shows how to remove all the dynamic secure addresses from the address table:
Switch# clear port-security dynamic
You can verify that the information was deleted by entering the show port-security privileged EXEC
command.
Related Commands Command Description
switchport port-security Enables port security on an interface.
switchport port-security
mac-address mac-address
Configures secure MAC addresses.
switchport port-security maximum
value
Configures a maximum number of secure MAC addresses on a
secure interface.
show port-security Displays the port security settings defined for an interface or for
the switch.