Specifications
2-27
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
clear port-security sticky
clear port-security sticky
Use the clear port-security sticky privileged EXEC command to delete from the secure MAC address
table a specific sticky secure address, all the sticky secure addresses on an interface, or all the sticky
secure addresses on the switch.
clear port-security sticky [address mac-addr | interface interface-id]
Syntax Description
Defaults No default is defined.
Command Modes Privileged EXEC
Usage Guidelines If you enter the clear port-security sticky privileged EXEC command without keywords, the switch
removes all sticky secure MAC addresses from the secure MAC address table.
If you enter the clear port-security sticky address mac-addr command, the switch removes the
specified secure MAC address from the secure MAC address table.
If you enter the clear port-security sticky interface interface-id command, the switch removes all
sticky secure MAC addresses on an interface from the secure MAC address table.
Command History
Examples This example shows how to remove a specific sticky secure address from the secure MAC address table:
Switch# clear port-security sticky address 0008.0070.0007
This example shows how to remove all the sticky secure addresses learned on a specific interface:
Switch# clear port-security sticky interface gigabitethernet0/1
This example shows how to remove all the sticky secure addresses from the secure MAC address table:
Switch# clear port-security sticky
You can verify that the information was deleted by entering the show port-security address privileged
EXEC command.
address mac-addr (Optional) Delete the specified sticky secure MAC address.
interface interface-id (Optional) Delete all the sticky secure MAC addresses on the specified
physical port.
Release Modification
12.1(11)EA1a This command was first introduced.