23
To do… Use the command… Remarks
Specify the secondary RADIUS
accounting server
secondary accounting { ip-address | ipv6
ipv6-address } [ port-number | key [ cipher |
simple ] key | vpn-instance vpn-instance-name ]
*
No accounting server is
specified by default.
Set the maximum number of
real-time accounting attempts
retry realtime-accounting retry-times
Optional
5 by default
Enable buffering of
stop-accounting requests to
which no responses are
received
stop-accounting-buffer enable
Optional
Enabled by default
Set the maximum number of
stop-accounting attempts
retry stop-accounting retry-times
Optional
500 by default
NOTE:
• The IP addresses of the primary and secondary accounting servers must be different from each other.
Otherwise, the configuration fails.
• All servers for authentication/authorization and accountings, primary or secondary, must use IP
addresses of the same IP version.
• If you delete an accounting server that is serving users, the switch can no longer send real-time
accounting requests and stop-accounting requests for the users to that server, or buffer the
stop-accounting requests.
• You can specify a RADIUS accounting server as the primary accounting server for one scheme and as
the secondary accounting server for another scheme at the same time.
• RADIUS does not support accounting for FTP users.
Specifying the shared keys for secure RADIUS communication
The RADIUS client and RADIUS server use the MD5 algorithm to authenticate packets exchanged
between them and use shared keys for packet authentication and user passwords encryption. They must
use the same key for the same type of communication.
A shared key configured in this task is for all servers of the same type (accounting or authentication) in
the scheme, and has a lower priority than a shared key configured individually for a RADIUS server.
Follow these steps to specify a shared key for secure RADIUS communication:
To do… Use the command… Remarks
Enter system view system-view —
Enter RADIUS scheme view
radius scheme
radius-scheme-name
—
Specify a shared key for secure
RADIUS
authentication/authorization or
accounting communication
key { accounting | authentication }
key
Required
No shared key by default
NOTE:
shared key configured on the switch must be the same as that configured on the RADIUS server.