Cisco Cisco Packet Data Gateway (PDG)
TACACS+ Configuration Mode Commands
▀ accounting
▄ Command Line Interface Reference, StarOS Release 17
8852
accounting
Enables the recording of the start and the stop time each command issued during a TACACS+-authenticated CLI
session.
session.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > TACACS+ Configuration
configure > tacacs mode
Entering the above command sequence results in the following prompt:
[local]host_name(config-tacacs)#
Syntax
[ no ] accounting { command | start-stop }
no
Disables a speicifed TACACS+ accounting setting.
command
Enables accounting on a command-by-command basis. The TACACS+ server is contacted prior to the
execution of the command and the command which is about to be executed is recorded. Only commands
which are valid for the user privilege and context (mode) in which they are about to be executed will be
recorded. StarOS does not record whether the command itself succeeded or failed. For security reasons, some
secure or restricted commands are not recorded. In such cases, the accounting record will record the
command as three asterisks (“***”).
execution of the command and the command which is about to be executed is recorded. Only commands
which are valid for the user privilege and context (mode) in which they are about to be executed will be
recorded. StarOS does not record whether the command itself succeeded or failed. For security reasons, some
secure or restricted commands are not recorded. In such cases, the accounting record will record the
command as three asterisks (“***”).
start-stop
Records the time at which the session starts (the time at which the user passes authentication) and the time at
which the user exits. If a user exits before passing authentication, only a stop time is recorded.
which the user exits. If a user exits before passing authentication, only a stop time is recorded.
Usage
Use this command to configure the accounting method for TACACS+-based CLI sessions.
Important:
For releases after 15.0 MR4, TACACS+ accounting (CLI event logging) will not be generated for
Lawful Intercept users with privilege level set to 15 and 13.
Example
The following command enables TACACS+ accounting for commands:
accounting command