Configuration Guide Configuring AAA
aaa new-model
!
aaa accounting exec list3 start-stop group radius
aaa authentication login list1 group local
!
username user password pass
!
radius-server host 10.1.1.1
radius-server key 7 093b100133
!
line con 0
line vty 0 4
accounting exec list3
login authentication list1
!
End
 Configuring AAA Command Accounting
Configure command accounting for login users according to the default accounting method. Login authentication is
performed in local mode, and command accounting is performed on a TACACS+ server.
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 user1 password pass1