3com 8807 Reference Guide

Page of 1099
338
C
HAPTER
 21: AAA 
AND
 RADIUS/HWTACACS P
ROTOCOL
 C
ONFIGURATION
 C
OMMANDS
By default, the source IP address of packets is the IP address of the VLAN interface 
to which the port connecting with the server belongs.
Related commands: display radius, radius nas-ip
Example
# Configure the IP address that NAS (switch) uses to send RADIUS packets as 
10.1.1.1.
[SW8800] radius scheme test1
 
[3Com-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. By default, the primary 
accounting server of the RADIUS scheme created by the system, whose name is 
"system", uses IP address of 127.0.0.1 and UDP port of 1646. The primary 
accounting server of a newly created RADIUS scheme uses IP address of 0.0.0.0 
and UDP port of 1813.
After creating a new RADIUS scheme, you need to set the IP address and the UDP 
port for the RADIUS servers the scheme contains, such as 
authentication/authorization server and accounting server. Besides, you can set 
primary and secondary server for each kind of server. Although, in actual use, 
these settings depend on specific demands, at least one 
authentication/authorization server and one accounting server is required. Make 
sure the port settings on the switch about RADIUS service are identical to those on 
the RADIUS servers.
Related command: keyradius schemestate.
Example
# Set the IP address of the primary accounting server of RADIUS scheme, "3com", 
to 10.110.1.2 and the UDP port 1813 to provide RADIUS accounting service.
[3Com-radius-3com] primary accounting 10.110.1.2 1813