95
The shared key configured by using this command takes precedence over the shared key configured
with the
key accounting
command.
If the specified server resides on an MPLS L3VPN, specify the VPN instance by using the
vpn-instance vpn-instance-name
option. The VPN instance specified by this command takes
precedence over the VPN instance specified for the RADIUS scheme.
If you use the
primary accounting
command to modify or delete the primary accounting server to
which the device is sending a start-accounting request, communication with the primary server times
out. The device tries to communicate with an active server that has the highest priority for
accounting.
If you remove an actively used accounting server, the device no longer sends users' real-time
accounting requests and stop-accounting requests. It does not buffer the stop-accounting requests.
The device can generate incorrect accounting results.
Examples
# In RADIUS scheme
radius1
, specify the primary accounting server with IP address 10.110.1.2,
UDP port number 1813, and plaintext shared key
123456TESTacct&!
.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] primary accounting 10.110.1.2 1813 key simple 123456TESTacct&!
Related commands
display radius scheme
key
(RADIUS scheme view)
secondary accounting
(RADIUS scheme view)
vpn-instance
(RADIUS scheme view)
primary authentication (RADIUS scheme view)
Use
primary authentication
to specify the primary RADIUS authentication server.
Use
undo primary authentication
to restore the default.
Syntax
primary authentication
{
ipv4-address
|
ipv6
ipv6-address
} [
port-number
|
key
{
cipher
|
simple
}
string
|
test-profile
profile-name
|
vpn-instance
vpn-instance-name
] *
undo primary authentication
Default
The primary RADIUS authentication server is not specified.
Views
RADIUS scheme view
Predefined user roles
network-admin
Parameters
ipv4-address
: Specifies the IPv4 address of the primary RADIUS authentication server.
ipv6
ipv6-address
: Specifies the IPv6 address of the primary RADIUS authentication server.
port-number
: Specifies the service port number of the primary RADIUS authentication server. The
value range for the UDP port number is 1 to 65535. The default setting is 1812.