59
[Sysname-radius-radius1] retry realtime-accounting 10
retry stop-accounting (RADIUS scheme view)
Syntax
retry stop-accounting
retry-times
undo retry stop-accounting
View
RADIUS scheme view
Default level
2: System level
Parameters
retry-times
: Maximum number of stop-accounting attempts, in the range 10 to 65535.
Description
Use the
retry stop-accounting
command to set the maximum number of stop-accounting attempts.
Use the
undo retry stop-accounting
command to restore the default.
By default, the maximum number of stop-accounting attempts is 500.
NOTE:
The maximum number of stop-accounting attempts, together with some other parameters, controls how
the NAS deals with stop-accounting request packets.
Suppose that the RADIUS server response timeout period is three seconds (set with the
timer
response-timeout
command), the maximum number of transmission attempts is five (set with the
retry
command), and the maximum number of stop-accounting attempts is 20 (set with the
retry
stop-accounting
command). For each stop-accounting request, if the device receives no response within
three seconds, it retransmits the request. If it receives no responses after retransmitting the request five
times, it considers the stop-accounting attempt a failure, buffers the request, and makes another
stop-accounting attempt. If 20 consecutive attempts fail, the device discards the request.
Related commands:
reset stop-accounting-buffer
,
radius scheme
, and
display stop-accounting-buffer
.
Examples
# Set the maximum number of stop-accounting attempts to 1000 for RADIUS scheme
radius1
.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] retry stop-accounting 1000
secondary accounting (RADIUS scheme view)
Syntax
secondary accounting
{
ipv4-address
|
ipv6
ipv6-address
} [
port-number
|
key
[
cipher
|
simple
]
key
]
*
undo secondary accounting
[
ipv4-address
|
ipv6
ipv6-address
]