cisco — Configuring 802.1x Violation Modes

• The maximum number of allowed about devices have been authenticated on the port Beginning in privileged EXEC mode, follow these steps to configure the security violation actions on the switch: Procedure Configuring IEEE 802.1x Port-Based Authentication Configuring 802.1x Violation Modes Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 aaa new-model Example: Device(config)# aaa new-model Enables AAA. Step 4 aaa authentication dot1x {default} method1 Example:

Device(config)# aaa authentication dot1x default group radius Creates an 802.1x authentication method list. To create a default list that is used when a named list is not specified in the authentication command, use the default keyword followed by the method that is to be used in default situations. The default method list is automatically applied to all ports. For method1, enter the group radius keywords to use the list of all RADIUS servers for authentication. Step 5 interface interface-type interface-number Example:

Device(config)# interface gigabitethernet 1/0/4 Specifies the port connected to the client that is to be enabled for IEEE 802.1x authentication, and enter interface configuration mode. Step 6 switchport mode access Example: Device(config-if)# switchport mode access Sets the port to access mode. Configuring IEEE 802.1x Port-Based Authentication 40