80
The HWTACACS service port configured on the device and that of the HWTACACS server must be
consistent.
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.
Related commands:
key
,
display hwtacacs
, and
hwtacacs scheme
.
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
|
key
[
cipher
|
simple
]
key
] *
undo primary authorization
View
HWTACACS scheme view
Default level
2: System level
Parameters
ip-address
: IP address of the primary HWTACACS authorization server, a valid unicast address in dotted
decimal notation. The default is 0.0.0.0.
port-number
: Port number of the primary HWTACACS authorization server. It ranges from 1 to 65535
and defaults to 49.
key
[
cipher
|
simple
]
key
: Sets the shared key for secure communication with the primary HWTACACS
authorization server. Make sure the shared key configured on the device is the same as the one
configured on the server.
•
cipher
key
: Sets a ciphertext shared key. The
key
argument is case sensitive. If you specify neither this keyword
nor the
simple
keyword, the shared key is set in plain text.
{
In non-FIPS mode, the key is a string of 1 to 373 characters.
{
In FIPS mode, the key is a string of 8 to 373 characters.
•
simple
key
: Sets a plaintext shared key. The
key
argument is case sensitive. If you specify neither this
keyword nor the
cipher
keyword, the shared key is set in plain text.
{
In non-FIPS mode, the key is a string of 1 to 255 characters.
{
In FIPS mode, the key is a string of 8 to 255 characters and must contain digits, uppercase
letters, lowercase letters, and special characters.
Description
Use the
primary authorization
command to specify the primary HWTACACS authorization server.