R3721-F3210-F3171-HP High-End Firewalls Access Control Command Reference-6PW101
136
Default level
2: System level
Parameters
retry-times: Maximum number of stop-accounting attempts, in the range of 10 to 65535.
Description
Use retry stop-accounting to set the maximum number of stop-accounting attempts.
Use undo retry stop-accounting to restore the default.
By default, the maximum number of stop-accounting attempts is 500.
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 firewall 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 firewall discards the request.
Related commands: retry, retry stop-accounting, timer response-timeout, 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
| vpn-instance vpn-instance-name ] *
undo secondary accounting [ ipv4-address | ipv6 ipv6-address ]
View
RADIUS scheme view
Default level
2: System level
Parameters
ipv4-address: IPv4 address of the secondary accounting server, in dotted decimal notation.
ipv6 ipv6-address: IPv6 address of the secondary accounting server.
port-number: Service port number of the secondary accounting server, a UDP port number in the range
of 1 to 65535. The default setting is 1813.