Enables or disables sending accounting logs for commands or login information to the TACACS+ server.
Accounting is disabled.
Config mode
This command is allowed in Config mode only.
This command is available only to users with the admin role.
You can modify or enable only one accounting configuration.
The following example configures command accounting, with the CLI information being forwarded to the TACACS+ server.
device# configure terminal device(config)# aaa accounting all default start-stop tacacs+ device# show running-config aaa aaa authentication login tacacs+ local-auth-fallback aaa accounting commands default start-stop tacacs+ aaa accounting exec default start-stop tacacs+
The following example disables login accounting; command accounting (when also configured) remains active.
device(config)# no aaa accounting all default start-stop