Ruijie Community

Title: How to configure AAA accounting on Ruijie switches? [Print this page]

Author: zhangqiao@ruiji    Time: 2024-6-11 15:12
Title: How to configure AAA accounting on Ruijie switches?
Requirements

1. Accounting for the operation of logging in and exiting the device
2. Accounting for the operation commands of the logged in user
Topology:







Configuration
1. Accounting for the operation of logging in and exiting the device

Ruijie>enable

Ruijie#config ter

Ruijie(config)#aaa accounting exec execaccoutstart-stop group tacacs+

Ruijie(config)#line vty 0 4

Ruijie(config-line)#accounting exec execaccout


2. Accounting for the operation commands of the logged in user


-----------Configure commands accounting list



Ruijie(config)#aaa accounting commands 0commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 1commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 2 commaccoutstart-stopgroup tacacs+      

Ruijie(config)#aaa accounting commands 3commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 4commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 5 commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 6commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 7commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 8 commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 9commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 10commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 11commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 12commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 13commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 14commaccoutstart-stop group tacacs+      

Ruijie(config)#aaa accounting commands 15commaccoutstart-stop group tacacs+      



-----------Apply the list of accounting commands invty




Ruijie(config)#line vty 0 4

Ruijie(config-line)#accounting commands 0commaccout  

Ruijie(config-line)#accounting commands 1commaccout     

Ruijie(config-line)#accounting commands 2commaccout     

Ruijie(config-line)#accounting commands 3commaccout     

Ruijie(config-line)#accounting commands 4commaccout     

Ruijie(config-line)#accounting commands 5commaccout     

Ruijie(config-line)#accounting commands 6commaccout     

Ruijie(config-line)#accounting commands 7commaccout     

Ruijie(config-line)#accounting commands 8commaccout     

Ruijie(config-line)#accounting commands 9commaccout     

Ruijie(config-line)#accounting commands 10commaccout     

Ruijie(config-line)#accounting commands 11commaccout     

Ruijie(config-line)#accounting commands 12commaccout     

Ruijie(config-line)#accounting commands 13commaccout     

Ruijie(config-line)#accounting commands 14commaccout     

Ruijie(config-line)#accounting commands 15commaccout     







Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2