2-49
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
clear port-security
This example shows how to remove all the dynamic secure addresses learned on a specific interface:
Switch#
clear port-security dynamic interface gigabitethernet0/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.