284 CHAPTER 9: AAA AND RADIUS OPERATION
Setting Maximum Times of Real-time Accounting Request
The RADIUS server usually verifies that a user is online with timeout timer. If the
RADIUS server has not received the real-time accounting packet from NAS for a
specified period, it stops accounting. Therefore, it may be necessary to disconnect
the user at the NAS end and on the RADIUS server when some unpredictable
failure exists. The Switch 8800 allows you to configure the maximum number of
retries for real-time accounting requests. NAS disconnects the user if it has not
received a real-time accounting response from the RADIUS server for the specified
number of times.
Perform the following configurations in RADIUS server group view.
The value of retry-times is the ceiling value of T/t, where T is the period of time in
which the RADIUS server connection will timeout, and t is the real-time accounting
interval of NAS.
By default, the value for retry-times is 5.
Enabling/Disabling Stop Accounting Request Buffer
Because the stop accounting request concerns the account balance, and affects
the amount to charge a customer, NAS makes its best effort to send the message
to the RADIUS accounting server. If the message from the Switch 8800 to RADIUS
accounting server has not been responded to, the switch saves it in the local
buffer and retransmits until the server responds or discards the messages. The
following command can be used to enable the storage of the stop accounting
message. If the stop-accounting buffer is enabled, make sure you set the
maximum retransmission time.
Perform the following configurations in RADIUS server group view.
By default, the stop accounting request will be saved in the buffer.
Setting the Maximum Retransmitting Times of the Stop Accounting
Request
Because the stop accounting request concerns account balance, and will affect the
amount to charge a customer, which is very important for both the subscribers
and the ISP, NAS will make its best effort to send the message to the RADIUS
accounting server. If the message from the Switch 8800 to RADIUS accounting
server has not replied, the switch saves it in the local buffer and retransmits it until
Table 27 Set Maximum Times of Real-Time Accounting Request Failing to be Responded
Operation Command
Configure the maximum number of retries for
real-time accounting requests.
retry realtime-accounting retry-times
Restore the maximum number of retries for
real-time accounting requests to the default
value.
undo retry realtime-accounting
Table 28 Enable/Disable Stopping Accounting Request Buffer
Operation Command
Enable the stop accounting request buffer stop-accounting-buffer enable
Disable the stop accounting request buffer undo stop-accounting-buffer enable