2-43
Catalyst 3750 Switch Command Reference
OL-8552-07
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
authentication violation
authentication violation
Use the authentication violation interface configuration command to configure the violation modes
that occur when a new device connects to a port or when a new device connects to a port after the
maximum number of devices are connected to that port.
authentication violation {protect | restrict | shutdown}
no authentication violation {protect | restrict | shutdown}
Syntax Description
Defaults By default authentication violation shutdown mode is enabled.
Command Modes Interface configuration
Command History
Examples This example shows how to configure an IEEE 802.1x-enabled port as error disabled and to shut down
when a new device connects it:
Switch(config-if)# authentication violation shutdown
This example shows how to configure an IEEE 802.1x-enabled port to generate a system error message
and to change the port to restricted mode when a new device connects to it:
Switch(config-if)# authentication violation restrict
This example shows how to configure an IEEE 802.1x-enabled port to ignore a new device when it
connects to the port:
Switch(config-if)# authentication violation protect
You can verify your settings by entering the show authentication privileged EXEC command.
Related Commands
protect Unexpected incoming MAC addresses are dropped. No syslog errors are
generated.
restrict Generates a syslog error when a violation error occurs.
shutdown Error disables the port or the virtual port on which an unexpected MAC
address occurs.
Release Modification
12.2(50)SE This command was introduced.
Command Description
authentication
control-direction
Configures the port mode as unidirectional or bidirectional.
authentication event Sets the action for specific authentication events.