Configuration Guide AAA Commands
1 AAA Commands
1.1 aaa accounting commands
Use this command to configure NAS command accounting.
Use the no form of this command to restore the default setting.
aaa accounting commands level { default | list-name } start-stop method1 [ method2…]
no aaa accounting commands level { default | list-name }
The accounting command level, 0-15. The message shall be
recorded before which command level is executed is determined.
When this parameter is used, the following defined method list is
used as the default method for command accounting.
Name of the command accounting method list, which could be any
character strings.
It must be one of the keywords listed in the following table. One
method list can contain up to four methods.
Does not perform accounting.
Uses the server group for accounting, the TACACS+ server group is
supported.
This function is disabled by default.
Global configuration mode
RGOS enables the accounting command function after enabling the login authentication. After
enabling the accounting function, it sends the command information to the security service.
The configured accounting command method must be applied to the terminal line that needs
accounting command; otherwise it is ineffective.
The following example enables NAS command accounting.
Ruijie(config)# aaa accounting commands 15 default start-stop group tacacs+
Enables the AAA security service.
Defines AAA authentication.
Applies the accounting commands to the
terminal line.