Configuration Guide Configuring AAA
Step 1: Enable AAA.
If remote server-group accounting needs to be implemented, configure a RADIUS or TACACS+ server in
advance.
Step 2: Configure an AAA accounting method list according to different access modes and service types.
Step 3: Apply the configured method list to an interface or line. Skip this step if the default accounting
method is used.
Ruijie#configure terminal
Ruijie(config)#username user password pass
Ruijie(config)#aaa new-model
Ruijie(config)#radius-server host 10.1.1.1
Ruijie(config)#radius-server key test
Ruijie(config)#aaa authentication login list1 group local
Ruijie(config)#aaa accounting exec list3 start-stop group radius
Ruijie(config)#line vty 0 4
Ruijie(config-line)#login authentication list1
Ruijie(config-line)# accounting exec list3
Ruijie(config-line)#exit
Run the show run and show aaa method-list commands on the NAS to display the configuration.
Ruijie#show aaa method-list
Authentication method-list:
aaa authentication login list1 group local
Accounting method-list:
aaa accounting exec list3 start-stop group radius
Authorization method-list:
Ruijie# show running-config