802.1X provides LAN access to users who do not have credentials in the RADIUS database. These users, referred to as guests, are authenticated and typically provided access only to the Internet.
This example describes how to create a guest VLAN and configure 802.1X authentication for it.
[edit]
user@host# set vlans visitor-vlan vlan-id 300
[edit]
user@host# set protocols dot1x authenticator interface all guest-vlan visitor-vlan
- user@host> show configuration
- protocols {
-
- dot1x {
-
- authenticator {
-
- interface {
-
- all {
-
- guest-vlan {
-
- visitor-vlan;
- }
- }
- }
- }
- }
- }
- vlans {
-
- visitor-vlan {
-
- vlan-id 300;
- }
- }