The hwtacacs-server accounting-stop-packet resend command enables or disables retransmission of accounting-stop packets and sets the number of accounting-stop packets that can be retransmitted each time.
By default, 100 accounting-stop packets can be retransmitted each time.
Parameter |
Description |
Value |
---|---|---|
disable |
Disables the retransmission of accounting-stop packets. |
- |
enable number |
Enables the retransmission of accounting-stop packets, and specifies the number of packets that can be retransmitted each time. |
The value is an integer that ranges from 1 to 300. |
Usage Scenario
After a user goes offline, the device sends an accounting-stop packet to an accounting server. After the accounting server receives the accounting-stop packet, it stops accounting for the user. If the accounting server does not receive the accounting-stop packet because of network faults, it continues to perform accounting for the user. As a result, the user is charged incorrectly. To solve this problem, configure the device to send accounting-stop packets multiple times.
Precautions