accounting start-fail
Function
The accounting start-fail command configures a policy for accounting-start failures.
The undo accounting start-fail command restores the default policy for accounting-start failures.
By default, users cannot go online if accounting-start fails. That is, the offline policy is used.
Usage Guidelines
Usage Scenario
If a user goes online after an accounting scheme is applied, the device sends an accounting-start packet to an accounting server. When the network is working properly, the accounting server responds to the accounting-start packet. If a fault occurs on the network, the device may not receive the response packet from the accounting server. As a result, accounting fails. The device provides the following policies for accounting failures:
- online: To prevent users from being affected by network faults, use the online policy to allow paid users to go online.
- offline: To stop providing services when accounting fails, use the offline policy to force paid users to go offline.
Precautions
The command takes effect only when the accounting mode configured using the accounting-mode command is HWTACACS or RADIUS.