R3721-F3210-F3171-HP High-End Firewalls Access Control Command Reference-6PW101
161
secondary accounting (HWTACACS scheme view)
Syntax
secondary accounting ip-address [ port-number | vpn-instance vpn-instance-name ] *
undo secondary accounting
View
HWTACACS scheme view
Default level
2: System level
Parameters
ip-address: IP address of the secondary HWTACACS accounting server, in dotted decimal notation. The
default setting is 0.0.0.0.
port-number: Service port number of the secondary HWTACACS accounting server. It ranges from 1 to
65535 and defaults to 49.
vpn-instance vpn-instance-name: Specifies the VPN to which the secondary HWTACACS accounting
server belongs, where vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the server is
on the public network, do not specify this option.
Description
Use secondary accounting to specify the secondary HWTACACS accounting server.
Use undo secondary accounting to remove the configuration.
By default, no secondary HWTACACS accounting server is specified.
The IP addresses of the primary and secondary accounting servers must be different. Otherwise, the
configuration fails.
If you configure the command repeatedly, only the last configuration takes effect.
If the specified server resides on a VPN, specify the VPN by using the vpn-instance vpn-instance-name
option.
You can remove an accounting server only when it is not used by any active TCP connection to send
accounting packets. Removing an accounting server affects only accounting processes that occur after
the remove operation.
NOTE:
The VPN specified by this command takes precedence over the VPN specified for the HWTACACS
scheme.
Related commands: display hwtacacs and vpn-instance (HWTACACS scheme view).
Examples
# Specify the IP address and port number of the secondary accounting server for HWTACACS scheme
hwt1 a s 10 .16 3 .155 .12 w i t h TC P p o r t n u m b e r 4 9.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] secondary accounting 10.163.155.12 49