802. 1 X Commands
78-21075-01 Command Line Interface Reference Guide
Example
switchxxxxxx(config)# interface gi1
switchxxxxxx(config-if)# dot1x violation-mode protect
22.19 dot1x guest-vlan
Use the dot1x guest-vlan Interface Configuration (VLAN) mode command to define
a guest VLAN. Use the no form of this command to restore the default
configuration.
Syntax
dot1x guest-vlan
no dot1x guest-vlan
Parameters
N/A
Default Configuration
No VLAN is defined as a guest VLAN.
Command Mode
Interface Configuration (VLAN) mode
User Guidelines
Use the dot1x guest-vlan enable Interface Configuration mode command to
enable unauthorized users on an interface to access the guest VLAN.
If the guest VLAN is defined and enabled, the port automatically joins the guest
VLAN when the port is unauthorized and leaves it when the port becomes
authorized. To be able to join or leave the guest VLAN, the port should not be a
static member of the guest VLAN.
Example
The following example defines VLAN 2 as a guest VLAN.
switchxxxxxx(config)#
interface vlan
2
22
339