Users Guide

Table Of Contents
AAA accounting sends accounting messages:
Sends a start notice when a process begins, and a stop notice when the process ends using the start-stop option
Sends only a stop notice when a process ends using the stop-only option
No accounting notices are sent using the none option
Logs all accounting notices in syslog using the logging option
Logs all accounting notices on configured TACACS+ servers using the group tacacs+ option
Enable AAA accounting
Enable AAA accounting in CONFIGURATION mode.
aaa accounting commands all {console | default} {start-stop | stop-only | none}
[logging] [group tacacs+]
The no version of this command disables AAA accounting.
Example
The following example enables AAA accounting for all commands on the console. And also enables the system to send a start
notice when a process begins, and a stop notice when the process ends to the console and a TACACS+ server.
OS10(config)# aaa accounting commands all console start-stop logging group tacacs+
AAA commands
aaa accounting
Enables AAA accounting.
Syntax
aaa accounting exec commands all {console | default} {start-stop | stop-
only | none} [logging] [group tacacs+]
Parameters
exec Record user authentication events.
commands all Record all user-entered commands. RADIUS accounting does not support this
option.
console Record all user authentication and logins or all user-entered commands in OS10 sessions
on console connections.
default Record all user authentication and logins or all user-entered commands in OS10 sessions
on remote connections; for example, Telnet and SSH.
start-stop Send a start notice when a process begins, and a stop notice when the process
ends.
stop-only Send only a stop notice when a process ends.
none No accounting notices are sent.
logging Logs all accounting notices in syslog.
group tacacs+ Logs all accounting notices on the first reachable TACACS+ server.
Default AAA accounting is disabled.
Command Mode CONFIGURATION
Usage
Information
You can enable the recording of accounting events in both the syslog and on TACACS+ servers.
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.1.0. Also
supported in SmartFabric mode starting in release 10.5.0.1.
The no version of the command disables AAA accounting.
Example
OS10(config)# aaa accounting commands all console start-stop logging
group tacacs+
Supported
Releases
10.4.1.0 or later
Security 1323