Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
1-69
Description
Use the
primary accounting
command to configure a primary HWTACACS
accounting server.
Use the
undo primary accounting
command to delete the configured primary
HWTACACS accounting server.
Note that:
z
You are not allowed to assign the same IP address to both primary and secondary
accounting servers; otherwise, unsuccessful operation is prompted.
z
If you repeatedly use this command, the latest configuration overwrites the
previous one.
z
You can remove an accounting server only when it is not being used by any active
TCP connections, and the removal impacts only packets forwarded afterwards.
Example
# Configure a primary accounting server.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] hwtacacs scheme test1
[Sysname-hwtacacs-test1] primary accounting 10.163.155.12 49
1.3.9 primary authentication
Syntax
primary authentication
ip-address
[
port-number
]
undo primary authentication
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 authentication 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.
Description
Use the
primary authentication
command to configure a primary HWTACACS
authentication server.
Use the
undo primary authentication
command to delete the configured
authentication server.