Define the Accounting Method Lists
When aaa accounting is activated, the NAS
monitors either RADIUS accounting attributes or TACACS+ AV pairs pertinent to
the connection, depending on the security method you implemented. The NAS
reports these attributes as accounting records, which are then stored in an
accounting log on the security server. The aaa accounting
command enables accounting and enables you to create named method lists defining
specific accounting methods on a per-line or per-interface basis. Use the no
form of this command to disable accounting. The basic syntax is
Rtr1(config)#aaa accounting {accounting-type} {default | list-name} {accounting-method}
method1 [method2...]
Rtr1(config)#no aaa accounting {accounting-type}
The first step is to choose which of the eight authorization types
that AAA supports should be validated. The syntax and choices include
Rtr1(config)# aaa accounting {system | network
| exec | connection | commands level | nested
| update} {default | list-name} {accounting-method} method1 [method2...]
Once the accounting type is selected, you must specify the
accounting method to be used in recording the results. The syntax and choices
include
Rtr1(config)#aaa accounting {accounting-type} {default | list-name} {start-stop |
wait-start |
stop-only | none} method1 [method2...]
For minimal accounting, use the stop-only keyword. For more
detailed accounting, include the start-stop keyword. For even more accounting
control, include the wait-start keyword, which ensures the start notice is
received by the RADIUS or TACACS+ server before granting the user’s process
request.
When aaa accounting is activated, the network
access server monitors either RADIUS accounting attributes or TACACS+ AV pairs
pertinent to the connection, depending on the security method implemented. The
network access server reports these attributes as accounting records, which are
then stored in an accounting log on the security server. The default | list-name and method options are just
like in the authentication and authorization process. Individual named
accounting method lists are specific to the indicated accounting type. System accounting doesn’t use named accounting lists. Only
the default list for system accounting can be defined.
Accounting method keywords are described in the following
table.
Method lists for accounting define the way accounting will be
performed. Named accounting method lists enable the option to designate a
particular security protocol to be used on specific lines or interfaces for
particular types of accounting services.