Configuration Guide Configuring Web Authentication
Clients' account information is stored on the RADIUS server. The NAS needs to connect to the RADIUS server to
validate a client.
radius-server host { ip-address } [ auth-portport-number1 ] [ acct-port port-number 2 ] key { string }
ip-address: Indicates the IP address of the RADIUS server host.
port-number1: Indicates the authentication port.
port-number2: Indicates the accounting port.
string: Indicates the key string.
Global configuration mode
By default, the authentication port number is 1812, and the accounting port number is 1813.
Configuring an AAA Method List for Web Authentication
(Mandatory) To enable Ruijie Second-Generation Web Authentication, you must configure an AAA authentication
method list on the AAA module.
A Web authentication method list associates Web authentication requests with the RADIUS server. The NAS selects an
authentication method and server based on the Web authentication method list.
aaa authentication web-auth { default | list-name } method1 [ method2...]
list-name: Indicates a method list name.
method1: Indicates method 1.
method2: Indicates method 2.
Global configuration mode
Ruijie Second-Generation Web Authentication adopts the RADIUS authentication method.
Configuring an AAA Method List for Web Accounting
(Mandatory) To enable Ruijie Second-Generation Web Authentication, you must configure a network accounting
method on the AAA module.
A network accounting method is used to associate an accounting method and server. In Web authentication,
accounting is implemented to record user information or fees.
aaa accounting network { default | list-name } start-stop method1 [ method2...]
list-name: Indicates a method list name.
method1: Indicates method 1.
method2: Indicates method 2.
Global configuration mode
Ruijie Second-Generation Web Authentication adopts the RADIUS accounting method.
Configuring the Second-Generation Webauth Template
(Mandatory) To enable Ruijie Second-Generation Web Authentication, you must configure and apply the portal server.