1984
C
129: HWTACACS C
HAPTER
Related command:
Example
secondary accounting (HWTACACS scheme view)
Syntax
View
Parameter
Description
Example
secondary authentication (HWTACACS scheme view)
Syntax
C
ONFIGURATION
OMMANDS
reset stop-accounting-buffer, hwtacacs scheme, display
stop-accounting-buffer.
# 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 ip-address [ port-number ]
undo secondary accounting
HWTACACS scheme view
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.
Use the
secondary accounting
accounting server.
Use the
undo secondary accounting
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.
# Configure the secondary accounting server.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] secondary accounting 10.163.155.12 49
secondary authentication ip-address [ port-number ]
command to specify the secondary HWTACACS
command to remove the configuration.