Reference Guide

Conguring Accounting of EXEC and Privilege-Level Command Usage
The network access server monitors the accounting functions dened in the TACACS+ attribute/value (AV) pairs.
Congure AAA accounting to monitor accounting functions dened in TACACS+.
CONFIGURATION mode
aaa accounting system default start-stop tacacs+
aaa accounting command 15 default start-stop tacacs+
System accounting can use only the default method list.
Example of Conguring AAA Accounting to Track EXEC and EXEC Privilege Level Command Use
In the following sample conguration, AAA accounting is set to track all usage of EXEC commands and commands on privilege level
15.
Dell(conf)#aaa accounting exec default start-stop tacacs+
Dell(conf)#aaa accounting command 15 default start-stop tacacs+
Conguring AAA Accounting for Terminal Lines
To enable AAA accounting with a named method list for a specic terminal line (where com15 and execAcct are the method list
names), use the following commands.
Congure AAA accounting for terminal lines.
CONFIG-LINE-VTY mode
accounting commands 15 com15
accounting exec execAcct
Example of Enabling AAA Accounting with a Named Method List
Dell(config-line-vty)# accounting commands 15 com15
Dell(config-line-vty)# accounting exec execAcct
Monitoring AAA Accounting
Dell Networking OS does not support periodic interim accounting because the periodic command can cause heavy congestion
when many users are logged in to the network.
No specic show command exists for TACACS+ accounting.
To obtain accounting records displaying information about users currently logged in, use the following command.
Step through all active sessions and print all the accounting records for the actively accounted functions.
CONFIGURATION mode or EXEC Privilege mode
show accounting
Example of the show accounting Command for AAA Accounting
Dell#show accounting
Active accounted actions on tty2, User admin Priv 1
Task ID 1, EXEC Accounting record, 00:00:39 Elapsed, service=shell
Active accounted actions on tty3, User admin Priv 1
Task ID 2, EXEC Accounting record, 00:00:26 Elapsed, service=shell
Dell#
150
Security