84
Use the
undo secondary accounting
command to remove secondary HWTACACS accounting servers. If
you specify an IP address, this command removes the secondary HWTACACS accounting server using
that IP address. If you do not specify an IP address, this command removes all secondary HWTACACS
accounting servers.
By default, no secondary HWTACACS accounting server is specified.
The IP addresses of the primary and secondary accounting servers cannot be the same. Otherwise, the
configuration fails.
The shared key configured by using the
secondary accounting
command takes precedence over the one
configured by using the
key accounting
[
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 accounting server only when it is not used by any active TCP connection to send
accounting packets.
Related commands:
key
,
display hwtacacs
, and
hwtacacs scheme
.
Examples
# Specify the IP address and port number of the secondary accounting server for HWTACACS scheme
hwt1
as 10.163.155.12 with TCP port number 49.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] secondary accounting 10.163.155.12 49
secondary authentication (HWTACACS scheme view)
Syntax
secondary authentication
ip-address
[
port-number
|
key
[
cipher
|
simple
]
key
] *
undo secondary authentication
[
ip-address
]
View
HWTACACS scheme view
Default level
2: System level
Parameters
ip-address
: IP address of the secondary HWTACACS authentication server, a valid unicast address in
dotted decimal notation. The default is 0.0.0.0.
port-number
: Port number of the secondary HWTACACS authentication server. It ranges from 1 to 65535
and defaults to 49.
key
[
cipher
|
simple
]
key
: Sets the shared key for secure communication with the secondary
HWTACACS authentication 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.