2-148
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Command Reference
OL-13271-03
Chapter 2 Cisco Catalyst Blade Switch 3130 and 3032 for Dell Cisco IOS Commands
dot1x violation-mode
dot1x violation-mode
Use the
dot1x violation-mode
interface configuration command on the switch stack or on a standalone
switch 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.
dot1x violation-mode
{
shutdown
|
restrict
|
protect
}
no dot1x violation-mode
Syntax Description
Defaults
By default,
dot1x violation-mode protect
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 to the port:
Switch(config-if)#
dot1x violation-mode shutdown
This example shows how to configure an IEEE 802.1x-enabled port to generate a system error message
and change the port to restricted mode when a new device connects to the port:
Switch(config-if)#
dot1x violation-mode restrict
This example shows how to configure an IEEE 802.1x-enabled port to ignore a new connected device
when it is connected to the port:
Switch(config-if)#
dot1x violation-mode protect
You can verify your settings by entering the
show dot1x
[
interface
interface-id
] privileged EXEC
command.
shutdown
Error disables the port or the virtual port on which a new unexpected MAC
address occurs.
restrict
Generates a syslog error when a violation error occurs.
protect
Silently discards packets from any new MAC addresses. This is the default
setting.
Release
Modification
12.2(46)SE
This command was introduced.