Configuring the RADIUS Protocol 225
larger value. The following table recommends the ratio of minute value to the
number of users.
By default, minute is set to 12 minutes.
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 7750 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 7750 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.
Tabl e 242 Recommended Ratio of Minute to Number of Users
Number of users Real-time accounting interval (minute)
1 to 99 3
100 to 499 6
500 to 999 12
1000 15
Tabl e 243 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