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.
Parameter |
Description |
Value |
---|---|---|
offline |
Rejects users' online requests if accounting-start fails. |
- |
online |
Allows users to go online if accounting-start fails. |
- |
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:
Precautions
The command takes effect only when the accounting mode configured using the accounting-mode command is HWTACACS or RADIUS.