R3204P16-HP Load Balancing Module Security Command Reference-6PW101

108
Suppose that the RADIUS server response timeout period is 3 seconds (set with the timer
response-timeout command), the timeout retransmission attempts is 3 (set with the retry command), and
the real-time accounting interval is 12 minutes (set with the timer realtime-accounting command), and
the maximum number of accounting request transmission attempts is 5 (set with the retry
realtime-accounting command). In such a case, the LB module generates an accounting request every 12
minutes, and retransmits the request when receiving no response within 3 seconds. The accounting is
deemed unsuccessful if no response is received within 3 requests. Then the module sends a request every
12 minutes, and if for 5 times it still receives no response, the module will cut the user connection.
Related commands: radius scheme and timer realtime-accounting.
Examples
# Set the maximum number of accounting request transmission attempts to 10 for RADIUS scheme
radius1.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] retry realtime-accounting 10
retry stop-accounting (RADIUS scheme view)
Syntax
retry stop-accounting retry-times
undo retry stop-accounting
View
RADIUS scheme view
Default level
2: System level
Parameters
retry-times: Maximum number of stop-accounting request transmission attempts. It ranges from 10 to
65,535 and defaults to 500.
Description
Use the retry stop-accounting command to set the maximum number of stop-accounting request
transmission attempts.
Use the undo retry stop-accounting command to restore the default.
Suppose that the RADIUS server response timeout period is 3 seconds (set with the timer
response-timeout command), the timeout retransmission attempts is 5 (set with the retry command), and
the maximum number of stop-accounting request transmission attempts is 20 (set with the retry
stop-accounting command). This means that for each stop-accounting request, if the LB module receives
no response within 3 seconds, it will initiate a new request. If still no responses are received within 5
renewed requests, the stop-accounting request is deemed unsuccessful. Then the module will temporarily
store the request in the module and resend a request and repeat the whole process described above.
Only when 20 consecutive attempts fail will the module discard the request.
Related commands: reset stop-accounting-buffer, radius scheme, and display stop-accounting-buffer.