3Com 4500 26-PORT Switch User Manual


 
RADIUS Protocol Configuration Commands 277
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 guide), 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:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]radius scheme test1
New radius scheme
[4500-radius-test1]nas-ip 10.1.1.1
primary accounting Syntax
primary accounting ip-address [ port-number ]
undo primary accounting
View
RADIUS Scheme View
Parameter
ip-address: IP address, in dotted decimal format.
port-number: Specifies UDP port number. ranging from 1 to 65535.
Description
Use the primary accounting command to configure the IP address and port
number for the primary accounting server. Use the
undo primary accounting
command to restore the default IP address and port number of the primary
RADIUS accounting server.