retry stop-accounting (RADIUS scheme view)
Use retry stop-accounting to set the maximum number of transmission attempts for individual RADIUS stop-accounting requests.
Use undo retry stop-accounting to restore the default.
Syntax
retry stop-accounting retries
undo retry stop-accounting
Default
The maximum number of transmission attempts is 500 for individual RADIUS stop-accounting requests.
Views
RADIUS scheme view
Predefined user roles
network-admin
mdc-admin
Parameters
retries: Specifies the maximum number of transmission attempts. The value range is 10 to 65535.
Usage guidelines
The maximum number of stop-accounting request transmission attempts controls the transmission of stop-accounting requests together with the following parameters:
RADIUS server response timeout timer (set by using the timer response-timeout command).
Maximum number of times to transmit a RADIUS packet per round (set by using the retry command).
For example, the following settings exist:
The RADIUS server response timeout timer is 3 seconds.
The maximum number of times to transmit a RADIUS packet per round is five.
The maximum number of stop-accounting request transmission attempts is 20.
A stop-accounting request is retransmitted if the device does not receive a response within 3 seconds. When all five transmission attempts in this round are used, the device buffers the request and starts another round of retransmission. If 20 consecutive rounds of attempts fail, the device discards the request.
Examples
# Set the maximum number of stop-accounting request transmission attempts to 1000 for RADIUS scheme radius1.
<Sysname> system-view [Sysname] radius scheme radius1 [Sysname-radius-radius1] retry stop-accounting 1000
Related commands
display stop-accounting-buffer (for RADIUS)
retry
timer response-timeout (RADIUS scheme view)