85
{
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
secondary authentication
command to specify a secondary HWTACACS authentication server.
Use the
undo secondary authentication
command to remove secondary HWTACACS authentication
servers. If you specify an IP address, this command removes the secondary HWTACACS authentication
server using that IP address. If you do not specify an IP address, this command removes all secondary
HWTACACS authentication servers.
By default, no secondary HWTACACS authentication server is specified.
The IP addresses of the primary and secondary authentication servers cannot be the same. Otherwise,
the configuration fails.
The shared key configured by using the
secondary authentication
command takes precedence over the
one configured by using the
key authentication
[
cipher
|
simple
]
key
command.
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 is using it.
Related commands:
key
,
display hwtacacs
, and
hwtacacs scheme
.
Examples
# Specify the IP address and port number of the secondary authentication server for HWTACACS
scheme
hwt1
as 10.163.155.13 with TCP port number 49.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] secondary authentication 10.163.155.13 49
secondary authorization
Syntax
secondary authorization
ip-address
[
port-number
|
key
[
cipher
|
simple
]
key
] *
undo secondary authorization
[
ip-address
]
View
HWTACACS scheme view
Default level
2: System level