Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
1-68
Parameter
ip-address
: Specified source IP address which cannot be an all-zero address, class D
address or loopback address.
Description
Use the
nas-ip
command to specify the source address for sending HWTACACS
packets.
Use the
undo nas-ip
command to restore the default setting.
Note that:
z
By specifying the source address of the hwtacacs packet, you can avoid
destination unreachable packets as returned from the server upon interface failure.
The source address is normally recommended to be a loopback interface address.
z
This command specifies only one source address; therefore, the newly configured
source address may overwrite the original one.
z
The
nas-ip
command in HWTACACS scheme view only takes effect for the
current HWTACACS scheme, while that in system view is for all HWTACACS
schemes. The former one takes priority in implementation.
Related command:
hwtacacs nas-ip
.
Example
# Set the source IP address of the HWTACACS packets to 10.1.1.1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] nas-ip 10.1.1.1
1.3.8 primary accounting
Syntax
primary accounting
ip-address
[
port-number
]
undo primary accounting
View
HWTACACS scheme view
Parameter
ip-address
: IP address of the server, a valid unicast address in dotted decimal format.
By default, the IP address of the primary accounting server is 0.0.0.0.
port-number
: Port number of the server, which is in the range 1 to 65535 and defaults to
49.