Configuration Guide Configuring AAA
username user1 privilege 15
no service password-encryption
!
tacacs-server host 192.168.217.10
tacacs-server key aaa
!
line con 0
line vty 0 4
!
!
end
 Configuring AAA Network Accounting
Configure a network accounting method list for 802.1X STAs, and configure a RADIUS remote server for authentication and
accounting.
Step 1: Enable AAA.
Step 2: If remote server-group accounting needs to be implemented, configure a RADIUS server in
advance.
Step 3: Configure an AAA accounting method list according to different access modes and service types.
Step 4: Apply the configured AAA accounting method list. Skip this step if the default accounting method is
used.
Accounting is performed only when 802.1X authentication is completed.
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 dot1x aut1x group radius local
Ruijie(config)#aaa accounting network acc1x start-stop group radius