Chapter 2
Catalyst 3560 Switch Cisco IOS Commands
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
switchport port-security
switchport port-security
mac-address mac-address
switchport port-security
value
show port-security
78-16405-05
Description
Enables port security on an interface.
Configures secure MAC addresses.
maximum
Configures a maximum number of secure MAC addresses on a
secure interface.
Displays the port security settings defined for an interface or for
the switch.
Catalyst 3560 Switch Command Reference
clear port-security
2-49