H3C S6812 Series Command Reference Manual page 1743

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

Syntax
primary accounting { ipv4-address | ipv6 ipv6-address } [ port-number | key { cipher | simple }
string | single-connection ] *
undo primary accounting
Default
The primary HWTACACS accounting server is not specified.
Views
HWTACACS scheme view
Predefined user roles
network-admin
Parameters
ipv4-address: Specifies an IPv4 address of the primary HWTACACS accounting server.
ipv6 ipv6-address: Specifies an IPv6 address of the primary HWTACACS accounting server.
port-number: Specifies the service port number of the primary HWTACACS accounting server. The
value range for the TCP port number is 1 to 65535. The default setting is 49.
key: Specifies the shared key for secure communication with the primary HWTACACS accounting
server.
cipher: Specifies the key in encrypted form.
simple: Specifies the key in plaintext form. For security purposes, the key specified in plaintext form
will be stored in encrypted form.
string: Specifies the key. This argument is case sensitive.
In non-FIPS mode, the encrypted form of the key is a string of 1 to 373 characters. The plaintext
form of the key is a string of 1 to 255 characters.
In FIPS mode, the encrypted form of the key is a string of 15 to 373 characters. The plaintext
form of the key is a string of 15 to 255 characters. The plaintext string must contain digits,
uppercase letters, lowercase letters, and special characters.
single-connection: The device and the primary HWTACACS accounting server use the same TCP
connection to exchange accounting packets for all users. If you do not specify this keyword, the
device establishes a new TCP connection each time it exchanges accounting packets with the
primary accounting server for a user.
Usage guidelines
Make sure the port number and shared key settings of the primary HWTACACS accounting server
are the same as those configured on the server.
Two accounting servers specified for a scheme, primary or secondary, cannot have identical IP
address and port number settings.
As a best practice, specify the single-connection keyword to reduce TCP connections for improving
system performance if the HWTACACS server supports the single-connection method.
You can remove an accounting server only when it is not used for user accounting. Removing an
accounting server affects only accounting processes that occur after the remove operation.
Examples
# In HWTACACS scheme hwt1, specify the primary accounting server with IP address
10.163.155.12, TCP port number 49, and plaintext shared key 123456TESTacct&!.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] primary accounting 10.163.155.12 49 key simple 123456TESTacct&!
102

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents