2
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
36
802.1X Commands
dot1x guest-vlan enable
To enable the guest VLAN feature on the switch and specify a VLAN as the guest
VLAN, use the dot1x guest-vlan enable Global Configuration mode command.
To disable the guest VLAN feature on the switch, use the no form of this command.
Syntax
dot1x guest-vlan
vlan-id
enable
no dot1x guest-vlan enable
Parameters
•
vlan-id
—Identifier of the VLAN set as the guest VLAN.
Default Configuration
Guest VLAN is disabled on the switch.
Command Mode
Global Configuration 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 interface automatically joins the
guest VLAN when the interface is unauthorized and leaves it when the interface
becomes authorized. To be able to join or leave the guest VLAN, the interface
should not be a static member of the guest VLAN.
Example
The following example sets VLAN 2 as the guest VLAN: