3Com Switch 8800 Family Firewall Module Configuration and Command Reference Guide

40 CHAPTER 4: AAA AND RADIUS/HWTACACS PROTOCOL CONFIGURATION
Configuring optional accounting
If a user is configured with the accounting optional command, the device does
not disconnect the user during the accounting even when it finds no available
accounting server or fails to communicate with the accounting server.
Perform the following configuration in RADIUS domain view.
By default, when an RADIUS scheme is created, optional accounting is disabled.
Enabling the stop-accounting packet buffer and retransmission
Since the stop-accounting packet affects the bill and eventually the charge to a
user, it has importance for both users and the ISP. Therefore, the NAS should make
its best effort to send every stop-accounting packet to the RADIUS accounting
server. If the NAS receives no response from the RADIUS accounting server to a
stop-accounting packet that it has sent for a specified period, it buffers and
resends the packet until the RADIUS accounting server responds, or discards the
packet if the number of transmission attempts reaches the configured limit. You
can use the following commands to enable the NAS to buffer stop-accounting
packets and set the maximum number of transmission attempts.
Perform the following configuration in RADIUS view.
By default, the stop-accounting packet buffer is disabled and the maximum
number of packet transmission attempts is 500.
Configuring the maximum number of real-time accounting request
attempts
A RADIUS server usually determines the online state of a user using the connection
timeout timer. If the RADIUS sever receives no real-time accounting packets from
the NAS for a long time, it considers that the line or device fails and stops user
accounting. To work with this feature of the RADIUS server, the NAS is required to
terminate user connections simultaneously with the RADIUS server when
unpredictable faults occur. 3Com Series Security Gateways allow you to set the
maximum number of continuous real-time accounting request attempts. The NAS
Tabl e 26 Enable/disable optional accounting
Operation Command
Enable optional accounting. accounting optional
Disable optional accounting. undo accounting optional
Tabl e 27 Enable the stop-accounting packet buffer and set the maximum number of
transmission attempts
Operation Command
Enable the stop-accounting packet buffer. stop-accounting-buffer enable
Disable the stop-accounting packet buffer. undo stop-accounting-buffer enable
Enable stop-accounting packet retransmission
and specify the maximum number of
transmission attempts.
retry stop-accounting retry-times
Restore the default maximum number of
transmission attempts.
undo retry stop-accounting