Configuring a Guest VLAN When you configure a guest VLAN, clients that are not 802.1x-capable are put into the guest VLAN when the server does not receive a response to its EAP request/identity frame. Clients that are 802.1x-capable but that fail authentication are not granted network access. The switch supports guest VLANs in single-host or multiple-hosts mode. Beginning in privileged EXEC mode, follow these steps to configure a guest VLAN. This procedure is optional. Procedure Configuring IEEE 802.1x Port-Based Authentication Configuring a Guest VLAN Command or Action Purpose Step 4 switchport mode access Example:
Device(config-if)# switchport mode access Sets the port to access mode only if you previously configured the RADIUS server. Step 5 dot1x max-req count Example: Device(config-if)# dot1x max-req 4 Sets the number of times that the device restarts the authentication process before the port changes to the unauthorized state. The range is 0 to 10; the default is 2. 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:
Device# configure terminal Enters global configuration mode. Step 3 interface interface-id Example: Device(config)# interface gigabitethernet Specifies the port to be configured, and enters interface configuration mode. Configuring IEEE 802.1x Port-Based Authentication 54