![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg7c0.png)
1984 CHAPTER 129: HWTACACS CONFIGURATION COMMANDS
Related command: reset stop-accounting-buffer, hwtacacs scheme, display
stop-accounting-buffer.
Example # Set the maximum number of stop-accounting request transmission attempts to
50.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] retry stop-accounting 50
secondary accounting (HWTACACS scheme view)
Syntax secondary accounting ip-address [ port-number ]
undo secondary accounting
View HWTACACS scheme view
Parameter ip-address: IP address of the server, a valid unicast address in dotted decimal
notation. The default is 0.0.0.0.
port-number: Port number of the server. It ranges from 1 to 65535 and defaults to
49.
Description Use the
secondary accounting command to specify the secondary HWTACACS
accounting server.
Use the
undo secondary accounting command to remove the configuration.
Note that:
■ The IP addresses of the primary and secondary accounting servers cannot be
the same. Otherwise, the configuration fails.
■ The HWTACACS service port configured on the device and that of the
HWTACACS server must be consistent.
■ If you configure the command for more than one time, the last configuration
takes effect.
■ You can remove an accounting server only when no active TCP connection for
sending accounting packets is using it.
Example # Configure the secondary accounting server.
<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 ]