aaa accounting
To create a method list for accounting, use the aaa accounting command in XR Config mode. To remove a list name from the system, use the no form of this command.
aaa accounting {commands | exec | network | subscriber | system } {default | list-name} {start-stop | stop-only} {none | method}
Syntax Description
commands |
Enables accounting for XR EXEC shell commands. |
exec |
Enables accounting of a XR EXEC session. |
network |
Enables accounting for all network-related service requests, such as Internet Key Exchange (IKE) and Point-to-Point Protocol (PPP). |
subscriber |
Sets accounting lists for subscribers. |
system |
Enables accounting for all system-related events. |
event manager |
Sets the authorization list for XR EXEC. |
Command Default
AAA accounting is disabled.
Command Modes
XR Config modeCommand History
Release |
Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
Usage Guidelines
Use the aaa accounting command to create default or named method lists defining specific accounting methods and that can be used on a per-line or per-interface basis. You can specify up to four methods in the method list. The list name can be applied to a line (console,, or vty template) to enable accounting on that particular line.
The Cisco IOS XR software supports both TACACS+ and RADIUS methods for accounting. The router reports user activity to the security server in the form of accounting records, which are stored on the security server.
Note |
This command cannot be used with TACACS or extended TACACS. |
Task ID
Task ID |
Operations |
---|---|
aaa |
read, write |
The following example shows how to define a default commands accounting method list, where accounting services are provided by a TACACS+ security server, with a stop-only restriction:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# aaa accounting commands default stop-only group tacacs+