101
Usage guidelines
Typically, a RADIUS accounting server checks whether a user is online by using a timeout timer. If
the server does not receive a real-time accounting request for a user in the timeout period, it
considers that a line or device failure has occurred. The server stops accounting for the user.
To work with the RADIUS server, the NAS needs to send real-time accounting requests to the server
before the timer on the server expires and to keep pace with the server in disconnecting the user
when a failure occurs. The NAS disconnects from a user according to the maximum number of
accounting attempts and specific parameters.
For example, the following conditions exist:
•
The RADIUS server response timeout period is 3 seconds (set by using the
timer
response-timeout
command).
•
The maximum number of RADIUS packet transmission attempts is 3 (set by using the
retry
command).
•
The real-time accounting interval is 12 minutes (set by using the
timer realtime-accounting
command).
•
The maximum number of accounting attempts is 5 (set by using the
retry realtime-accounting
command).
In the above case, the device generates an accounting request every 12 minutes, and retransmits
the request if it sends the request but receives no response within 3 seconds. If the device receives
no response after transmitting the request three times, it considers the accounting attempt a failure,
and makes another accounting attempt. If five consecutive accounting attempts fail, the device cuts
the user connection.
Examples
# In RADIUS scheme
radius1
, set the maximum number of accounting attempts to 10.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] retry realtime-accounting 10
Related commands
retry
timer realtime-accounting
(RADIUS scheme view)
timer response-timeout
(RADIUS scheme view)
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
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...