Retry Realtime-Accounting - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

retry realtime-accounting

Syntax
retry realtime-accounting retry-times
undo retry realtime-accounting
View
RADIUS scheme view
Parameters
retry-times: Maximum allowed number of continuous real-time accounting failures, ranging from 1 to
255.
Description
Use the retry realtime-accounting command to set the maximum allowed number of continuous
real-time accounting failures.
Use the undo retry realtime-accounting command to restore the default maximum number of
continuous real-time accounting failures.
By default, the maximum number of continuous real-time accounting failures is five.
Note that:
Generally, a RADIUS server uses the connection timeout timer to determine whether a user is
currently online. If the RADIUS server receives no real-time accounting message for a specified
period of time, it considers that the switch or the line is in trouble and stop accounting for the user.
To make the switch cooperate with the RADIUS server in this feature, it is necessary to cut down
the user connection on the switch to synchronize with the RADIUS server when the server
terminates the accounting and connection of a user in case of unforeseen trouble. You can limit the
number of continuous real-time accounting requests that fail due to getting no response, and then
the switch will cut down user connection if the limit is reached.
A real-time account request may be transmitted multiple times in an accounting attempt (the
maximum number of transmission attempts is set by the retry command in RADIUS scheme view).
If no response is received after the switch tries the maximum number of attempts to send the
request, the switch considers the accounting fails. Suppose that the response timeout time of
RADIUS server is three seconds (set by the timer response-timeout command), the maximum
number of transmission attempts is 3 (set by the retry command), the real-time accounting interval
is 12 minutes (set by the timer realtime-accounting command), the maximum allowed number of
real-time accounting failures is 5 (set by the retry realtime-accounting command). In this case,
the switch initiates an accounting request every 12 minutes; if the switch does not receive a
response within 3 seconds after it sends out the accounting request, it resends the request; if the
switch continuously sends the accounting request for three times but does not receive any
response; it considers this real-time accounting a failure. Then, the switch reinitiates the
accounting request every 12 minutes; if five continuous accounting failures occur, the switch cuts
down the user connection.
Related commands: radius scheme, timer realtime-accounting.
1-55

Advertisement

Table of Contents
loading

Table of Contents