Configure the Accounting Attributes
Configuration Condition
None
Disable Null-Username Accounting
The user can disable the AAA null-username accounting by configuring the command aaa accounting suppress null-username. By default, enable the AAA null-username accounting.
Table 11-10 Disable the null-username accounting
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Disable the null-username accounting
|
aaa accounting suppress null-username
|
Mandatory
By default, enable the null-username accounting.
|
Send Accounting Update Packet
The user can configure the mode of sending the accounting update packet, mainly including send in real time and send periodically.
Table 11-11 Send the accounting update packet
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Send the accounting update packet
|
aaa accounting update periodic interval
|
Mandatory
By default, do not send the accounting update packet.
|
Configure the Processing mode of Sending Accounting Failure
Table 11-12 Send the processing mode of sending accounting failure
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Configure the processing mode of sending accounting failure
|
aaa accounting start-fail {online | offline}
|
Optional
By default, if the accounting starting fails, the user cannot get online.
|