102
Predefined user roles
network-admin
mdc-admin
Parameters
retries
: Specifies the maximum number of transmission attempts. The value range is 10 to 65535.
Usage guidelines
The maximum number of stop-accounting request transmission attempts controls the transmission
of stop-accounting requests together with the following parameters:
•
RADIUS server response timeout timer (set by using the
timer response-timeout
command).
•
Maximum number of times to transmit a RADIUS packet per round (set by using the
retry
command).
For example, the following settings exist:
•
The RADIUS server response timeout timer is 3 seconds.
•
The maximum number of times to transmit a RADIUS packet per round is five.
•
The maximum number of stop-accounting request transmission attempts is 20.
A stop-accounting request is retransmitted if the device does not receive a response within 3
seconds. When all five transmission attempts in this round are used, the device buffers the request
and starts another round of retransmission. If 20 consecutive rounds of attempts fail, the device
discards the request.
Examples
# Set the maximum number of stop-accounting request transmission attempts to 1000 for RADIUS
scheme
radius1
.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] retry stop-accounting 1000
Related commands
display stop-accounting-buffer
(for RADIUS)
retry
timer response-timeout
(RADIUS scheme view)
secondary accounting (RADIUS scheme view)
Use
secondary accounting
to specify a secondary RADIUS accounting server.
Use
undo secondary accounting
to remove a secondary RADIUS accounting server.
Syntax
secondary accounting
{
host-name
|
ipv4-address
|
ipv6
ipv6-address
} [
port-number
|
key
{
cipher
|
simple
}
string
|
vpn-instance
vpn-instance-name
|
weight
weight-value
] *
undo secondary accounting
[ {
host-name
|
ipv4-address
|
ipv6
ipv6-address
} [
port-number
|
vpn-instance
vpn-instance-name
] * ]
Default
No secondary RADIUS accounting servers are specified.
Views
RADIUS scheme view