Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 1 AAA and RADIUS/HWTACACS Protocol
Configuration Commands
3Com Corporation
1-33
Example
# Configure a local RADIUS authentication server, setting the IP address to 10.110.1.2,
the shared key to aabbcc.
[3Com] local-server nas-ip 10.110.1.2 key aabbcc
1.2.11 nas-ip
Syntax
nas-ip ip-address
undo nas-ip
View
RADIUS 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 router 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 command: display radius.
Example
# Set the source IP address that is carried in the RADIUS packets sent by the NAS (the
router) to 10.1.1.1.
[3Com] radius scheme test1
[3Com-radius-test1] nas-ip 10.1.1.1
1.2.12 primary accounting
Syntax
primary accounting ip-address [ port-number ]
undo primary accounting