Configuring Tacacs Accounting Servers; Configuring Shared Keys For Hwtacacs Messages - H3C S3100 Series Operation Manual

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Configuring TACACS Accounting Servers

Table 2-28 Configure TACACS accounting servers
Operation
Enter system view
Create an HWTACACS
scheme and enter its view
Set the IP address and port
number of the primary
TACACS accounting server
Set the IP address and port
number of the secondary
TACACS accounting server
Enable the stop-accounting
message retransmission
function and set the maximum
number of transmission
attempts of a buffered
stop-accounting message
You are not allowed to configure the same IP address for both primary and secondary accounting
servers. If you do this, the system will prompt that the configuration fails.
You can remove a server only when it is not used by any active TCP connection for sending
accounting messages.

Configuring Shared Keys for HWTACACS Messages

When using a TACACS server as an AAA server, you can set a key to improve the communication
security between the switch and the TACACS server.
The TACACS client and server adopt MD5 algorithm to encrypt HWTACACS messages before they are
exchanged between the two parties. The two parties verify the validity of the HWTACACS messages
received from each other by using the shared keys that have been set on them, and can accept and
respond to the messages only when both parties have the same shared key.
Table 2-29 Configure shared keys for HWTACACS messages
Operation
Enter system view
Command
system-view
hwtacacs scheme
hwtacacs-scheme-name
primary accounting
ip-address [ port ]
secondary accounting
ip-address [ port ]
retry stop-accounting
retry-times
Command
system-view
2-27
Remarks
Required
By default, no HWTACACS
scheme exists.
Required
By default, the IP address of
the primary accounting server
is 0.0.0.0, and the port number
is 0.
Required
By default, the IP address of
the secondary accounting
server is 0.0.0.0, and the port
number is 0.
Optional
By default, the stop-accounting
messages retransmission
function is enabled and the
system can transmit a buffered
stop-accounting request for
100 times.
Remarks

Advertisement

Chapters

Table of Contents
loading

Table of Contents