Dynamic VLAN Assignment 423
Setting the Maximum Times of Real-time Accounting Request Failing to be
Responded to
A RADIUS server usually checks if a user is online with a timeout timer. If the RADIUS
server has not received the real-time accounting packet from NAS for a while, it will
consider that there is device failure and stop accounting. It is necessary to disconnect
the user at the NAS end and on the RADIUS server synchronously when some
unpredictable failure occurs. The Switch allows you to set the maximum number of
times of a real-time accounting request failing to be responded to. NAS will
disconnect the user if it has not received a real-time accounting response from the
RADIUS server for the specified number of times.
You can use the following command to set the maximum number of times of a
real-time accounting request failing to be responded to.
Perform the following configurations in RADIUS Scheme View.
Table453 Setting the Maximum Times of Real-time Accounting Request Failing to be
Responded
How to calculate the value of retry-times? Suppose that RADIUS server connection
will timeout in T and the real-time accounting interval of NAS is t, then the integer
part of the result from dividing T by t is the value of count. Therefore, when applied,
it is suggested that T should be a number that can be divided exactly by t.
By default, the real-time accounting request can fail to be responded to no more than
5 times.
Enabling/Disabling the Stopping Accounting Request Buffer
Because the stopping accounting request concerns the account balance and will
affect the amount of charge, which is very important for both the subscribers and the
ISP, NAS shall make its best effort to send the message to the RADIUS accounting
server. If the message from the Switch to the RADIUS accounting server has not been
responded to, the Switch will save it in the local buffer and retransmit it until the
server responds or discards the messages after transmitting for the specified number
of times. The following command can be used for setting to save the message or not.
Perform the following configurations in RADIUS Scheme View.
Table454 Enabling/Disabling the Stopping Accounting Request Buffer
By default, the stopping accounting request will be saved in the buffer.
Setting the Maximum Retransmitting Times of Stopping Accounting Request
Use this command to set the maximum number of retransmission times that the
Switch will attempt to retransmit the saved message from its local buffer.
Perform the following configurations in RADIUS Scheme View.
Operation Command
Set maximum times of real-time accounting
request failing to be responded
retry realtime-accounting
retry_times
Restore the maximum times to the default value undo retry realtime-accounting
Operation Command
Enable stopping accounting request buffer stop-accounting-buffer enable
Disable stopping accounting request buffer undo stop-accounting-buffer enable