accounting

This command configures TACACS+ accounting of users authenticated and authorized by TACACS+.

Syntax

(config-system)# tacacs-settings
(tacacs)# accounting
(tacacs-accounting)#

Command

Description

command-start-stop-tacacs-plus {off|on}

Enables the device to send CLI command-level accounting records to the TACACS+ server whenever a user executes a command.

exec-start-stop-tacacs-plus {off|on}

Enables the device to send session -level accounting records to the TACACS+ server whenever a user logs in to or logs out of the Web interface or CLI.

Command Mode

Privileged User

Example

This example enables session-level TACACS+ accounting:

(config-system)# tacacs-settings
(tacacs)# accounting
(tacacs-accounting)# exec-start-stop-tacacs-plus on