When the switchport port-security command is entered, the current source MAC for the device connected to the port is automatically secured but is not added to the running configuration
If the switch is rebooted, the port will have to re-learn the device’s MAC address
Switch(config-if)# switchport port-security