3com S7906E Guide De Référence

Page de 2327
 
2-17 
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-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 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 commands: radius schemetimer 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