cisco — Configuring the Number of Authentication Attempts on a Restricted VLAN

Configuring the Number of Authentication Attempts on a Restricted VLAN You can configure the maximum number of authentication attempts allowed before a user is assigned to the restricted VLAN by using the authentication event fail retry retry count interface configuration command. The range of allowable authentication attempts is 1 to 3. The default is 3 attempts. Beginning in privileged EXEC mode, follow these steps to configure the maximum number of allowed authentication attempts. This procedure is optional.

Procedure Configuring IEEE 802.1x Port-Based Authentication Configuring the Number of Authentication Attempts on a Restricted VLAN Command or Action Purpose Step 3 interface interface-id Example: Device(config)# interface gigabitethernet 2/0/2 Specifies the port to be configured, and enters interface configuration mode. Step 4 authentication port-control auto Example: Device(config-if)# authentication port-control auto Enables 802.1x authentication on the port. Step 5 authentication event fail action authorize vlan vlan-id Example: Device(config-if)# authentication event fail action authorize vlan 2 Specifies an active VLAN as an 802.1x restricted VLAN. The range is 1 to 4094.

You can configure any active VLAN except an internal VLAN (routed port), an RSPAN VLAN or a voice VLAN as an 802.1x restricted VLAN. Step 6 end Example: Device(config-if)# end Exits interface configuration mode and returns to privileged EXEC mode. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Enters global configuration mode. Configuring IEEE 802.1x Port-Based Authentication 56