Configuration Guide Configuring Web Authentication
 Enable AAA on the NAS.
 Configure the RADIUS-server host and communication key on the NAS.
 Configure the default AAA method lists for Web authentication and accounting on the NAS.
 Configure the IP address of the portal server and the Webauth communication key (ruijie) used for
communicating with the portal server on the NAS.
 Configure the Webauth URL on the NAS.
 Configure Ruijie Second-Generation Web Authentication in global configuration mode on the NAS.
 Enable Web authentication on ports GigabitEthernet 0/2 and GigabitEthernet 0/3 on the NAS.
Ruijie#configure
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#aaa new-model
Ruijie(config)#radius-server host 192.168.197.79 key ruijie
Ruijie(config)#aaa authentication web-auth default group radius
Ruijie(config)#aaa accounting network default start-stop group radius
Ruijie(config)#web-auth template eportalv2
Ruijie(config.tmplt.eportalv2)#ip 192.168.197.79
Ruijie(config.tmplt.eportalv2)#exit
Ruijie(config)#web-auth portal key ruijie
Ruijie(config)# web-auth template eportalv2
Ruijie(config.tmplt.eportalv2)#url http://192.168.197.79:8080/eportal/index.jsp
Ruijie(config.tmplt.eportalv2)#exit
Ruijie(config)# interface range GigabitEthernet 0/2-3
Ruijie(config-if-range)# web-auth enable eportalv2
Ruijie(config-if-range)# exit