Configuring IEEE 802.1x Port-Based Authentication Configuring 802.1x Inaccessible Authentication Bypass with Critical Voice VLAN Command or Action Purpose Device(config-radius-server)# address ipv4 10.0.1.2 auth-port 1550 acct-port 1560 Step 8 key string Example: Device(config-radius-server)# key rad123 (Optional) Specifies the authentication and encryption key used between the switch and the RADIUS daemon running on the RADIUS server. Step 9 exit Example: Device(config-radius-server)# exit Exits the RADIUS server mode and enters the global configuration mode. Step 10 dot1x critical {eapol | recovery delay milliseconds} Example:
Device(config)# dot1x critical eapol Device(config)# dot1x critical recovery delay 2000 (Optional) Configure the parameters for inaccessible authentication bypass: • eapol: Specify that the switch sends an EAPOL-Success message when the switch successfully authenticates the critical port. • recovery delaymilliseconds: Set the recovery delay period during which the switch waits to re-initialize a critical port when a RADIUS server that was unavailable becomes available. The range is from 1 to 10000 milliseconds. The default is 1000 milliseconds (a port can be re-initialized every second). Step 11 interface interface-id Example:
Device(config)# interface gigabitethernet 1/0/1 Specify the port to be configured, and enters interface configuration mode. Step 12 authentication event server dead action {authorize | reinitialize} vlan vlan-id] Example: Device(config-if)# authentication event server dead action reinitialicze vlan 20 Use these keywords to move hosts on the port if the RADIUS server is unreachable: • authorize: Move any new hosts trying to authenticate to the user-specified critical VLAN. • reinitialize: Move all authorized hosts on the port to the user-specified critical VLAN. Configuring IEEE 802.1x Port-Based Authentication 59