Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
1-52
Description
Use the
retry stop-accounting
command to set the maximum number of
stop-accounting request failures. After this number is reached, the device removes the
buffered stop-accounting request packets.
Use the
undo retry stop-accounting
command to restore the default maximum
number of stop-accounting request failures.
By default, up to 500 stop-accounting request failures are allowed.
Note that:
z
Stop-accounting requests are critical to billing and will eventually affect the
charges of the users; they are important for both the users and the ISP. Therefore,
the switch should do its best to transmit them to the RADIUS accounting server. If
the RADIUS server does not respond to such a request, the switch should first
buffer the request on itself, and then retransmit the request to the RADIUS
accounting server until it gets a response, or the maximum number of
transmission attempts is reached (in this case, it discards the request).
z
Assume the response timeout timer for the RADIUS server is set to 3 seconds
(with the
timer response-timeout
command), transmission attempts to 5 (with
the
retry
command), and the device allows up to 20 stop-accounting request
failures (with the
retry stop-accounting
command). This means that if the device
receives no response to the stop-accounting request it has sent within 3 seconds,
the device retransmits the request; if the device receives no response after it
sends the request five times, the device considers that the stop-accounting
request failed and buffers the request on itself. Then, the device sends another
request to repeat the above-mentioned process. If no response is received with 20
request attempts made, the device removes the buffered stop-accounting request
packets.
Related command:
reset stop-accounting-buffer
,
radius scheme
and
display
stop-accounting-buffer
.
Example
# In RADIUS scheme radius1, specify that up to 1,000 stop-accounting request failures
are allowed.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] retry stop-accounting 1000
1.2.22 secondary accounting
Syntax
secondary accounting ip-address
[
port-number
]