beautypg.com

Required.) – H3C Technologies H3C S6300 Series Switches User Manual

Page 50

background image

35

Specifying the shared keys for secure HWTACACS communication

The HWTACACS client and server use the MD5 algorithm and shared keys to generate the Authenticator

value for packet authentication and user password encryption. The client and server must use the same
key for each type of communication.
To specify a shared key for secure HWTACACS communication:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter HWTACACS scheme

view.

hwtacacs scheme
hwtacacs-scheme-name

N/A

3.

Specify a shared key for

secure HWTACACS
authentication, authorization,

or accounting

communication.

key { accounting | authentication |
authorization } { cipher | simple }

string

By default, no shared key is
specified.
The shared key configured on the

device must be the same as the

shared key configured on the
HWTACACS server.

Setting the username format and traffic statistics units

A username is in the format userid@isp-name, where isp-name represents the user's ISP domain name. By

default, the ISP domain name is included in a username. If HWTACACS servers do not recognize
usernames that contain ISP domain names, you can configure the device to send usernames without

domain names to the servers.
If two or more ISP domains use the same HWTACACS scheme, configure the scheme to keep the ISP

domain name in usernames for domain identification.
The device reports online user traffic statistics in accounting packets. The traffic measurement units are
configurable, but they must be the same as the traffic measurement units configured on the HWTACACS

accounting servers.
To set the username format and traffic statistics units for an HWTACACS scheme:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter HWTACACS scheme

view.

hwtacacs scheme
hwtacacs-scheme-name

N/A

3.

Set the format of usernames
sent to the HWTACACS

servers.

user-name-format { keep-original |
with-domain | without-domain }

By default, the ISP domain name
is included in a username.

4.

(Optional.) Set the data flow
and packet measurement

units for traffic statistics.

data-flow-format { data { byte |
giga-byte | kilo-byte | mega-byte }

| packet { giga-packet | kilo-packet
| mega-packet | one-packet } }*

By default, traffic is counted in
bytes and packets.

Specifying the source IP address for outgoing HWTACACS packets

The source IP address of HWTACACS packets that a NAS sends must match the IP address of the NAS

configured on the HWTACACS server. An HWTACACS server identifies a NAS by IP address. When the

HWTACACS server receives a packet, it checks whether the source IP address of the packet is the IP
address of a managed NAS.