Cisco Cisco Packet Data Gateway (PDG) Folheto
TACACS+ Configuration Mode Commands
▀ accounting
▄ Cisco ASR 5x00 Command Line Interface Reference
8376
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 { start-stop | command }
no
Disables a configured TACACS+ accounting setting (either
accounting
start-stop
or
accounting
command
).
{
start-stop | command
}
Specifies the type of accounting records to be recorded.
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.
only a stop time is recorded.
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 (“***”).
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 (“***”).
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