Configure the Accounting Function in the AAA Domain
The customized methods can be used to measure the command, login session, network service, and system events on the device. The statistical results can be used as the basis for charging users.
Configuration Condition
None
Configure the Accounting Method in the ISP Domain
When a user successfully logs into an ISP domain, AAA can count the user, including the start time of login, the end time of login, the commands entered, and so on.
Table 11-5 Configure the accounting method in the ISP domain
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the ISP domain view
|
domain isp-name
|
Mandatory
By default, the system has one ISP domain named system.
|
Configure the command statistics method in the ISP domain
|
aaa accounting commands cmd-lvl { [ broadcast ] tacacs-group group-name }
|
Optional
By default, do not configure the command statistics method, and do not perform the command statistics.
|
Configure the default statistics method in the ISP domain
|
aaa accounting default { none | { start-stop | stop-only | wait-start [ broadcast ] { radius-group group-name / tacacs-group group-name }}}
|
Optional
By default, the statistics method in the ISP domain is none.
|
Configure the accounting method of the user logging into the device in the ISP domain
|
aaa accounting login { none | { start-stop | stop-only | wait-start [ broadcast ] { radius-group group-name / tacacs-group group-name } } }
|
Optional
By default, do not configure the accounting method of the user logging into the device in the ISP domain, but use the default accounting method in the ISP domain.
|
Configure the portal|dot1x accounting method in the ISP domain
|
aaa accounting { portal | dot1x } { none | { start-stop | stop-only | wait-start [ broadcast ] { radius-group group-name / tacacs-group group-name } } }
|
Optional
By default, do not configure the portal, dot1x accounting method in the ISP domain, but use the default accounting method in the ISP domain.
|