CLI Reference AAA Configuration Commands
Enable the AAA security service.
Define a network accounting method
list.
accounting commands
Use this command to apply the accounting command list to the specified terminal lines. The no form of
this command is used to disable the accounting function.
accounting commands level {default | list-name}
no accounting commands level
The accounting command level, 0-15. The
message shall be recorded before determing
which command level is executed.
Use the default method of accouting commands.
Use a defined command accouting method list.
Once the default command accouting method list has been
configured, it is applied to all terminals automatically. Once the
non-default command accounting method list has been configured, it
is applied to the line instead of the default method list. If you attempt
to apply a undefined method list, a warning message will prompt that
the command authorization in this line is ineffective till the accounting
command method list is defined.
The following example configures the accounting command
method list with name cmd, accounts the level-15 command, uses
the TACACS+ server. If the security server does not response, it
does not perform accounting. After configuration, the accounting
command is applied to VTY 0-4 lines: