You can configure up to 16 secondary HWTACACS accounting servers for an HWTACACS scheme.
With the configuration, if the primary server fails, the device looks for a secondary server in active state
(a secondary HWTACACS accounting server configured earlier has a higher priority) and tries to
communicate with it.
If you use the undo secondary accounting command without specifying any parameter, the command
removes all secondary accounting servers.
Two accounting servers specified for a scheme, primary or secondary, cannot have identical IP address,
port number, and VPN settings.
If the specified server resides on an MPLS L3VPN, specify the VPN by using the vpn-instance
vpn-instance-name option. The VPN specified by this command takes precedence over the VPN specified
for the HWTACACS scheme.
You can remove an accounting server only when it is not used for user accounting. Removing an
accounting server affects only accounting processes that occur after the remove operation.
For security purpose, all shared keys, including shared keys configured in plain text, are saved in cipher
text.
Examples
# Specify a secondary accounting server with IP address 10.163.155.12, TCP port number 49, and
plaintext shared key abc for HWTACACS scheme hwt1.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] secondary accounting 10.163.155.12 49 key simple abc
Related commands
• display hwtacacs scheme
• key (HWTACACS scheme view)
• primary accounting (HWTACACS scheme view)
• vpn-instance (HWTACACS scheme view)
secondary authentication (HWTACACS scheme view)
Use secondary authentication to specify a secondary HWTACACS authentication server.
Use undo secondary authentication to remove a secondary HWTACACS authentication server.
Syntax
secondary authentication { ipv4-address | ipv6 ipv6-address } [ port-number I key { cipher | simple }
string | vpn-instance vpn-instance-name ] *
undo secondary authentication [ { ipv4-address | ipv6 ipv6-address } [ port-number | vpn-instance
vpn-instance-name ]* ]
Default
No secondary HWTACACS authentication server is specified.
73