Command
Modes
EXEC
Command
History
Version 8.3.16.1
Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
This command steps through all active sessions and then displays the accounting
records for the active account functions.
Example
Dell#show accounting
Active accounted actions on tty2, User guest Priv 1 Role <none>
Task ID 1, EXEC Accounting record, 00:02:03
Elapsed,service=shell
Active accounted actions on tty3, User ad Priv 15 Role <none>
Task ID 2, EXEC Accounting record, 00:01:22
Elapsed,service=shell
Active accounted actions on tty4, User ad Priv 15 Role <none>
Task ID 11, EXEC Accounting record, 00:00:35 Elapsed,
service=shell
Active accounted actions on tty5, User ad Priv 1 Role sysadmin
Task ID 16, EXEC Accounting record, 00:00:04 Elapsed,
service=shell
Dell#
Related
Commands
aaa accounting
— enables AAA Accounting and creates a record for monitoring the
accounting function.
Authorization and Privilege Commands
To set command line authorization and privilege levels, use the following commands.
authorization
Apply an authorization method list to terminal lines.
Syntax
authorization {
exec
| commands {
level
| role
role-name
}
method-
list
Parameters
exec
Enter the keyword
exec
to apply an EXEC level accounting
method list.
commands
{
level
| role
role-name
}
Enter the keywords
commands
followed by either a privilege
level for accounting of commands executed at that privilege
level, or enter the keyword
role
then the role name for
authorization of commands executed by a user with that
user role.
method-list
Enter a method list that you defined using the
aaa
accounting exec
or
aaa accounting
commands.
1156
Security