switchport port-security mac-address sticky

Command Command Description Command Syntax
switchport port-security mac-address sticky Use the switchport port-security mac-address sticky interface configuration command to enable sticky learning. Using this command will configure the interface to convert the dynamic MAC addresses to sticky secure MAC addresses and to add them to the running configuration. This will cause the switch to only accept the one MAC address it has learned for a particular port. To return the interface to the default condition as not a secure port, use the no form of the command. switchport port-security mac-address sticky