128
By default, no primary HWTACACS authentication server is specified.
The IP addresses of the primary and secondary authentication servers must be different. Otherwise, the
configuration fails.
If you configure the command repeatedly, only the last configuration takes effect.
You can remove an authentication server only when it is not used by any active TCP connection to send
authentication packets. Removing an authentication server affects only authentication processes that
occur after the remove operation.
Related commands:
display hwtacacs
.
Examples
# Specify the IP address and port number of the primary authentication server for HWTACACS scheme
hwt1
as 10.163.155.13 and 49.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] primary authentication 10.163.155.13 49
primary authorization
Syntax
primary authorization
ip-address
[
port-number
]
undo primary authorization
View
HWTACACS scheme view
Default level
2: System level
Parameters
ip-address
: IP address of the primary HWTACACS authorization server in dotted decimal notation. The
default is 0.0.0.0.
port-number
: Service port number of the primary HWTACACS authorization server. It ranges from 1 to
65535 and defaults to 49.
Description
Use the
primary authorization
command to specify the primary HWTACACS authorization server.
Use the
undo primary authorization
command to remove the configuration.
By default, no primary HWTACACS authorization server is specified.
The IP addresses of the primary and secondary authorization servers must be different. Otherwise, the
configuration fails.
If you configure the command repeatedly, only the last configuration takes effect.
You can remove an authorization server only when it is not used by any active TCP connection to send
authorization packets. Removing an authorization server affects only authorization processes that occur
after the remove operation.
Related commands:
display hwtacacs
.