Command Manual – AAA & RADIUS & HWTACACS & EAD
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
Huawei Technologies Proprietary
1-41
Example
# Set the source IP address used by the switch to send the RADIUS packets to
10.1.1.1.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] radius scheme radius1
New Radius scheme
[Quidway-radius-radius1] nas-ip 10.1.1.1
1.2.12 primary accounting
Syntax
primary accounting ip-address
[
port-number
]
undo primary accounting
View
RADIUS scheme view
Parameter
ip-address
: IP address, in dotted decimal notation. By default, the IP address of the
primary accounting server is 0.0.0.0.
port-number
: UDP port number, ranging from 1 to 65535. By default, the UDP port
number of the primary accounting service is 1813.
Description
Use the
primary accounting
command to set the IP address and port number of the
primary RADIUS accounting server.
Use the
undo primary accounting
command to restore the default IP address and
port number of the primary RADIUS accounting server.
The IP address and UDP port number of the primary accounting server used by the
default RADIUS scheme "system" are 127.0.0.1 and 1646.
Related command:
key
,
radius scheme
and
state
.
Example
# Set the IP address and UDP port number of the primary accounting server of the
RADIUS scheme radius1 to 10.110.1.2 and 1813.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] radius scheme radius1
New Radius scheme