RADIUS Protocol Configuration Commands 381
Example
To set the IP address of local RADIUS authentication server to 10.110.1.2 and the
password to 3Com, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]local-server nas-ip 10.110.1.2 key 3Com
nas-ip Syntax
nas-ip
ip-address
undo nas-ip
View
RADIUS Scheme View
Parameter
ip-address
: IP address in dotted decimal format.
Description
Use the nas-ip command to set the source IP address of the network access
server (NAS, the Switch in this manual), so that all packets destined for the RADIUS
server carry the same source IP address. Use the undo
nas-ip command to cancel
the configuration.
Specifying a source address for the RADIUS packets to be transmitted can avoid
the situation where the packets sent back by the RADIUS server cannot be
received as the result of a physical interface failure. The address of a loopback
interface is usually used as the source address.
By default, the source IP address of packets is the IP address of the output port.
Related commands: display radius, radius nas-ip.
Example
To set the source IP address that is carried in the RADIUS packets sent by the NAS
(the Switch) to 10.1.1.1, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]radius scheme test1
New radius scheme
[SW5500-radius-test1]nas-ip 10.1.1.1
primary accounting Syntax
primary accounting
ip-address
[
port-number
]
undo primary accounting
View
RADIUS Scheme View