R3204P16-HP Load Balancing Module Security Command Reference-6PW101

109
Examples
# Set the maximum number of stop-accounting request transmission attempts to 1,000 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 ip-address [ port-number ] [ key string ]
undo secondary accounting
View
RADIUS scheme view
Default level
2: System level
Parameters
ip-address: IPv4 address of the secondary accounting server, in dotted decimal notation. The default is
0.0.0.0.
port-number: UDP port number of the secondary accounting server, which ranges from 1 to 65535 and
defaults to 1813.
key string: Specifies the shared key for exchanging accounting packets with the secondary RADIUS
accounting server. A shared key is a case-sensitive string of 1 to 64 characters.
Description
Use the secondary accounting command to specify the secondary RADIUS accounting server.
Use the undo secondary accounting command to remove the configuration.
By default, no secondary RADIUS accounting server is specified.
The IP addresses of the primary and secondary accounting servers cannot be the same. Otherwise, the
configuration fails.
The RADIUS service port configured on the LB module and that of the RADIUS server must be consistent.
The shared keys configured on the module for accounting packets and that configured on the RADIUS
server must be consistent.
The shared key configured in this command is used in preference. If the key string keyword and argument
combination is not configured here, the shared key configured in the key accounting string command will
be used.
The IP addresses of the primary and secondary accounting servers must be of the same IP version.
The IP addresses of the accounting servers and those of the authentication/authorization servers must be
of the same IP version.
You can use the commands to change the settings only when no user is using the RADIUS scheme.
Related commands: key, radius scheme, and state.