accounting (line)
To enable authentication, authorization, and accounting (AAA) accounting services for a specific line or group
of lines, use the accounting command. To disable AAA accounting services, use the no form of this command.
accounting {commands| exec} {default| list-name}
no accounting {commands| exec}
Syntax Description
Enables accounting on the selected lines for all EXEC shell commands.commands
Enables accounting of EXEC session.exec
The name of the default method list, created with the aaa accounting command.default
Specifies the name of a list of accounting methods to use. The list is created
with the aaa accounting command.
list-name
Command Default
Accounting is disabled.
Command Modes
Line template configuration
Command History
ModificationRelease
This command was introduced.Release 2.0
Usage Guidelines
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
OperationsTask ID
read, writeaaa
Cisco IOS XR System Security Command Reference for the Cisco CRS Router, Release 4.1
24 OL-24740-01
Authentication, Authorization, and Accounting Commands
accounting (line)