Example
primary authentication (HWTACACS scheme view)
Syntax
View
Parameter
Description
Related command:
Example
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.
# Configure the primary accounting server.
<Sysname> system-view
[Sysname] hwtacacs scheme test1
[Sysname-hwtacacs-test1] primary accounting 10.163.155.12 49
primary authentication ip-address [ port-number ]
undo primary authentication
HWTACACS scheme view
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.
Use the
primary authentication
authentication server.
Use the
undo primary authentication
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.
display hwtacacs.
# Set the primary authentication server.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] primary authentication 10.163.155.13 49
command to specify the primary HWTACACS
command to remove the configuration.
1981