Authentication, Authorization, and Accounting Commands on Cisco IOS XR Software
accounting
accounting
To enable authentication, authorization, and accounting (AAA) accounting services for a specific line or group of lines, use the accounting command in line configuration mode. To disable AAA accounting services, use the no form of this command.
accounting {commands exec} {default
no accounting {commands exec}
Syntax Description | commands | Enables accounting on the selected lines for all EXEC shell commands. |
| exec | Enables accounting of an EXEC session. |
|
|
|
| default | The name of the default method list, created with the aaa accounting command. |
|
|
|
| Specifies the name of a list of accounting methods to use. The list is created with the | |
|
| aaa accounting command. |
|
|
|
Defaults
Command Modes
Command History
Accounting is disabled.
Line configuration
Release | Modification |
Release 2.0 | This command was introduced on the Cisco |
|
|
Release 3.0 | No modification. |
|
|
Release 3.2 | This command was supported on the Cisco XR 12000 Series Router. |
|
|
Release 3.3.0 | No modification. |
|
|
Usage Guidelines To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
After you enable the aaa accounting command and define a named accounting method list (or use the default method list) for a particular type of accounting, you must apply the defined lists to the appropriate lines for accounting services to take place. Use the accounting command to apply the specified method lists to the selected line or group of lines. If a method list is not specified this way, no accounting is applied to the selected line or group of lines.
Task ID | Task ID | Operations |
| aaa | read, write |
|
|
|
Cisco IOS XR System Security Command Reference