Command Manual (For Soliton) – AAA
H3C S3100 Series Ethernet Switches
Chapter 1 AAA Configuration Commands
1-45
undo nas-ip
View
RADIUS scheme view
Parameters
ip-address
: Source IP address for RADIUS messages, an IP address of this device.
This address can neither be the all 0's address nor be a Class-D address.
Description
Use the
nas-ip
command to set the source IP address of outgoing RADIUS messages.
Use the
undo nas-ip
command to remove the source IP address setting.
By default, the IP address of the outbound interface is used as the source IP address of
RADIUS messages.
Note:
The
nas-ip
command in RADIUS scheme view has the same function as the
radius
nas-ip
command in system view; and the configuration in RADIUS scheme view takes
precedence over that in system view.
You can set the source IP address of outgoing RADIUS messages to avoid messages
returned from RADIUS server from being unable to reach their destination due to
physical interface trouble. It is recommended to use a Loopback interface address as
the source IP address.
Related commands:
display radius scheme
,
radius nas-ip
.
Examples
# Set source IP address 10.1.1.1 for outgoing RADIUS messages in RADIUS scheme
radius1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] radius scheme radius1
New Radius scheme
[Sysname-radius-radius1] nas-ip 10.1.1.1
1.2.13 primary accounting
Syntax
primary accounting ip-address
[
port-number
]