As part of IEEE 802.1X interface-Based Network Access Control (PNAC), you can provide limited network access to supplicants who do not belong to a VLAN authentication group by configuring authentication to a guest VLAN. Typically, guest VLAN access is used to provide Internet access to visitors to a corporate site. However, you can also use the guest VLAN feature to provide supplicants that fail 802.1X authentication to a corporate LAN with access to a VLAN with limited resources.
How do I provide limited access and resources to corporate visitors who do not belong to a corporate authentication group?
Before proceeding with the configuration please verify that the following requirements have been fulfilled.
user@switch# set vlans vlan-for-guests vlan-id 300
NOTE: if user authentication fails on this port, the port will be placed in a guest VLAN 'vlan-for-guests'
user@switch# set protocols dot1x authenticator interface ge-0/0/6 guest-vlan vlan-for-guests NOTE : If this needs to be set for all interfaces, you can use the command: set protocols dot1x authenticator interface all guest-vlan vlan-for-guests
user@switch# set protocols dot1x authenticator interface ge-0/0/6 guest-vlan vlan-for-guests
user@switch# set protocols dot1x authenticator interface ge-0/0/6 supplicant single
user@switch> show vlans Name Tag Interfaces default ge-0/0/0.0*, ge-0/0/1.0*, ge-0/0/2.0*, ge-0/0/3.0*, ge-0/0/4.0, ge-0/0/5.0, ge-0/0/7.0, ge-0/0/8.0, ge-0/0/9.0, ge-0/0/10.0, ge-0/0/11.0, ge-0/0/21.0, ge-0/0/22.0, ge-0/0/23.0, ge-0/0/24.0, ge-0/0/25.0, ge-0/0/26.0, ge-0/0/27.0, ge-0/0/28.0, ge-0/0/29.0, ge-0/0/30.0, ge-0/0/31.0, ge-0/0/32.0, ge-0/0/33.0, ge-0/0/34.0, ge-0/0/35.0, ge-0/0/36.0, ge-0/0/37.0, ge-0/0/38.0, ge-0/0/39.0, ge-0/0/40.0, ge-0/0/41.0, ge-0/0/42.0, ge-0/0/43.0, ge-0/1/0.0, ge-0/1/1.0, ge-0/1/2.0, ge-0/1/3.0 vlan10 10 ge-0/0/12.0*, ge-0/0/13.0, ge-0/0/14.0 vlan20 20 ge-0/0/15.0, ge-0/0/16.0, ge-0/0/17.0 vlan30 30 ge-0/0/18.0, ge-0/0/19.0, ge-0/0/20.0 vlan-for-guests 300 ge-0/0/6.0*