1-70
Description
Use the retry stop-accounting command to enable the stop-accounting request retransmission
function and set the maximum number of attempts to transmit a stop-accounting request.
Use the undo retry stop-accounting command to restore the default setting.
By default, this function is enabled and the maximum number of transmission attempts is 100.
Related commands: reset stop-accounting-buffer, hwtacacs scheme, display
stop-accounting-buffer.
Examples
# Enable the stop-accounting request retransmission function and set the maximum number of
transmission attempts of a request to 50.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] retry stop-accounting 50
secondary accounting
Syntax
secondary accounting ip-address [ port ]
undo secondary accounting
View
HWTACACS scheme view
Parameters
ip-address: IP address of the secondary accounting server to be used, a valid unicast address in
dotted decimal notation.
port: Port number of the secondary accounting server, ranging from 1 to 65535.
Description
Use the secondary accounting command to set the IP address and port number of the
secondary HWTACACS accounting server to be used by the current scheme.
Use the undo secondary accounting command to restore the default IP address and port
number of the secondary HWTACACS accounting server, which are 0.0.0.0 and 49 respectively.
Note that:
z You are not allowed to set the same IP address for both primary and secondary accounting servers.
If you do this, your setting will fail.
z If you re-execute the command, the new setting will overwrite the old one.
z You can remove an accounting server setting only when there is no active TCP connection that is
sending accounting messages to the server.