cisco — Configuring NAC Layer 2 802.1x Validation

Configuring IEEE 802.1x Port-Based Authentication Configuring NAC Layer 2 802.1x Validation Command or Action Purpose Example: Device> enable • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 interface interface-id Example: Device(config)# interface gigabitethernet2/0/3 Specifies the port to be configured, and enters interface configuration mode. Step 4 switchport mode access Example: Device(config-if)# switchport mode access Sets the port to access mode only if you configured the RADIUS server. Step 5 authentication event no-response action authorize vlan vlan-id Example:

Device(config-if)# authentication event no-response action authorize vlan 8 Specifies an active VLAN as an 802.1x guest 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 guest VLAN. Step 6 authentication periodic Example: Device(config-if)# authentication periodic Enables periodic reauthentication of the client, which is disabled by default. Step 7 authentication timer reauthenticate Example: Device(config-if)# authentication timer reauthenticate Sets reauthentication attempt for the client (set to one hour).

This command affects the behavior of the switch only if periodic reauthentication is enabled. Step 8 end Example: Exits interface configuration mode and returns to privileged EXEC mode. Configuring IEEE 802.1x Port-Based Authentication 64