1958
C
128: RADIUS C
HAPTER
View
Parameter
Description
Related command:
Example
primary accounting (RADIUS scheme view)
Syntax
View
Parameter
Description
C
ONFIGURATION
OMMANDS
RADIUS scheme view
ip-address: IP address in dotted decimal notation. It must be an address of the
device and cannot be all 0s address, all 1s address, a class D address, a class E
address or a loopback address.
Use the
command to set the IP address for the device to use as the source
nas-ip
address of the RADIUS packets to be sent to the server.
Use the
undo nas-ip
By default, the source IP address of a packet sent to the server is the IP address of
the outbound port.
Note that:
Specifying a source address for the RADIUS packets to be sent to the server can
■
avoid the situation where the packets sent back by the RADIUS server cannot
reach the device as the result of a physical interface failure. The address of a
loopback interface is recommended.
The nas-ip command in RADIUS scheme view is only for the current RADIUS
■
scheme, while the radius nas-ip command in system view is for all RADIUS
schemes. However, the nas-ip command in RADIUS scheme view overwrites
the configuration of the radius nas-ip command.
radius nas-ip.
# Set the IP address for the device to use as the source address of the RADIUS
packets to 10.1.1.1.
<Sysname> system-view
[Sysname] radius scheme test1
[Sysname-radius-test1] nas-ip 10.1.1.1
primary accounting ip-address [ port-number ]
undo primary accounting
RADIUS scheme view
ip-address: IP address of the primary accounting server.
port-number: UDP port number of the primary accounting server, which ranges
from 1 to 65535.
Use the
primary accounting
port of the primary RADIUS accounting server.
command to remove the configuration.
command to configure the IP address and UDP