Switch(config-if)# switchport port-security violation {shutdown | restrict | protect}
In SHUTDOWN mode:
The port transitions to the error-disabled state immediately
Turns off the port LED
Sends a syslog message
Increments the violation counter
When a secure port is in the error-disabled state, an administrator must re-enable it by entering the shutdown and no shutdown commands