1142
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
AAA C
OMMANDS
AAA
ACCOUNTING
COMMANDS
aaa accounting commands
Overview
Use this command to configure and enable command accounting.
When command accounting is enabled, information about a command entered at
a specified privilege level on a device is sent to a server. To account for
all commands entered on a device you need to configure command accounting for
each discrete privilege level. A command accounting record includes the
command as entered for the specified privilege level, the date and time each
command execution finished, and the username of the user who executed the
command.
This command creates a default method list that is applied to every console and
vty line. The
stop-only
parameter indicates that an accounting message is sent to
the server when a command has stopped executing.
Note that up to four servers can be configured for accounting. The
servers are checked for reachability in the order they are configured and only the
first reachable server is used. If no server is found the accounting message is
dropped.
Use the
no
variant of this command to disable command accounting.
Syntax
aaa accounting commands <
1-15
> default stop-only group
no aaa accounting commands <
1-15
> default
Default
command accounting is disabled by default.
Mode
Global Configuration
Usage
When command accounting is enabled, the command as entered is included in
the accounting packets sent to the accounting server.
You cannot enable command accounting if a trigger is configured. An error
message is displayed if you attempt to enable command accounting and a trigger
is configured.
The
show tech-support
command runs a number of commands and each
command is accounted separately.
When the
copy <
filename
> running-config
command is executed all the
commands of a configuration file copied into the running-config are accounted
separately.
Parameter
Description
<
1-15
>
The privilege level, in the range 1 to 15.