1981
■ If you configure the command for more than one time, the last configuration
takes effect.
■ You can remove an accounting server only when no active TCP connection for
sending accounting packets is using it.
Example # Configure the primary accounting server.
<Sysname> system-view
[Sysname] hwtacacs scheme test1
[Sysname-hwtacacs-test1] primary accounting 10.163.155.12 49
primary authentication (HWTACACS scheme view)
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
notation. The default is 0.0.0.0.
port-number: Port number of the server. It ranges from 1 to 65535 and defaults to
49.
Description Use the
primary authentication command to specify the primary HWTACACS
authentication server.
Use the
undo primary authentication command to remove the configuration.
Note that:
■ The IP addresses of the primary and secondary authentication servers cannot be
the same. Otherwise, the configuration fails.
■ The HWTACACS service port configured on the device and that of the
HWTACACS server must be consistent.
■ If you configure the command for more than one time, the last configuration
takes effect.
■ You can remove an authentication server only when no active TCP connection
for sending authentication packets is using it.
Related command: display hwtacacs.
Example # Set the primary authentication server.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] primary authentication 10.163.155.13 49