Secondary Accounting - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

Related
commands:
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:
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.
If you re-execute the command, the new setting will overwrite the old one.
You can remove an accounting server setting only when there is no active TCP connection that is
sending accounting messages to the server.
Examples
# Set the IP address and UDP port number of the secondary accounting server for HWTACACS
scheme hwt1 to 10.163.155.12 and 49 respectively.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] secondary accounting 10.163.155.12 49
reset
stop-accounting-buffer,
1-75
hwtacacs
scheme,
display

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents