1965

<Sysname> system-view

[Sysname] radius scheme radius1

[Sysname-radius-radius1] retry 5

retry realtime-accounting

Syntax retry realtime-accounting retry-times

undo retry realtime-accounting

View RADIUS scheme view

Parameter retry-times: Maximum number of accounting request transmission attempts. It ranges from 1 to 255 and defaults to 5.

Description Use the retry realtime-accountingcommand to set the maximum number of accounting request transmission attempts.

Use the undo retry realtime-accountingcommand to restore the default.

Note that:

A RADIUS server usually checks whether a user is online by a timeout timer. If it receives from the NAS no real-time accounting packet for a user in the timeout period, it considers that there may be line or device failure and stops accounting for the user. This may happen when some unexpected failure occurs. In this case, the NAS is required to disconnect the user in accordance. This is done by the maximum number of accounting request transmission attempts. Once the limit is reached but the NAS still receives no response, the NAS disconnects the user.

Suppose that the RADIUS server response timeout period is 3 seconds (set with the timer response-timeoutcommand), 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-accountingcommand), and the maximum number of accounting request transmission attempts is 5 (set with the retry realtime-accountingcommand). In such a case, the device 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 device sends a request every 12 minutes, and if for 5 times it still receives no response, the device will cut the user connection.

Related command: radius scheme, timer realtime-accounting (HWTACACS scheme view).

Example # 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

Page 1965
Image 1965
3Com MSR 50, MSR 30 manual Retry realtime-accounting, 1965