[Command] switchport port-security {protected | restricted | shutdown} [Description] 
This command is executed in interface configuration mode and specifies the action to be taken upon a port security violation.