Configuration Guide                                                                   802.1x Configuration 
For the details, see Configuring.AAA   
  802.1x method list 
 
Ruijie(config)#dot1x authentication list1 
Select  list1  as  the  authentication  method  list,  which  is 
configured in step 3. 
Ruijie(config)#dot1x accounting list2 
Select  list2  sd  the  authentication  method  list,  which  is 
configured in step 3. 
 
  enable the 802.1x authentication on the interface   
 
Ruijie(config)#interface interface_id 
Enter the interface mode to be configured. interface_id is the 
interface to be entered. 
Ruijie(config-if-type ID)#dot1x port-control auto 
Enable the 802.1x authentication on the interface. 
 
  enable the VLAN auto-switching on the interface 
 
Ruijie(config)#interface interface_id 
Enter interface configuration mode. 
Ruijie(config-if-type ID)#dot1x dynamic-vlan enable 
Enable the VLAN auto-switching on the interface. 
 
 For the VLAN auto-switching function, the dynamic switching must be enabled on the interface. That is, use 
the dot1x dynamic-vlan enable command in interface configuration mode. Or the RADIUS attributes of the 
encapsulted assigned VLAN will be ignored. 
 In interface configuration mode, the dot1x dynamic-vlan enable command must be configured after the 
dot1x  port-control  auto  command  has  been  configured.  With  the  dot1x  port-control  auto  command 
configured, the VLAN auto-switching function is disabled.