hwtacacs-server shared-key(HWTACACS server template view)

Function

The hwtacacs-server shared-key command configures the shared key for HWTACACS server.

The undo hwtacacs-server shared-key command removes the configured shared key of the HWTACACS server. Configuring a private key improves the security of intercommunication between the device and HWTACACS server.

By default, the shared key is not configured.

Format

hwtacacs-server shared-key key-string

hwtacacs-server shared-key cipher cipher-string

undo hwtacacs-server shared-key

Parameters

Parameter Description Value
key-string

Specifies the shared key in encrypted or simple text.

The shared key configured in simple text is displayed in ciphertext.

The value is a string of case-sensitive characters that can be letters or digits. The password can be a string of 1 to 255 characters in simple text or a string of 20 to 432 characters in encrypted text.

The value cannot contain question marks (?) or spaces. However, when double quotation marks are used around a password, spaces are allowed in the password.

cipher cipher-string

Specifies the shared-key in ciphertext.

The value is a string of case-sensitive characters that can be letters or digits. The password can be a string of 1 to 255 characters in simple text or a string of 20 to 432 characters in encrypted text.

The value cannot contain question marks (?) or spaces. However, when double quotation marks are used around a password, spaces are allowed in the password.

Views

HWTACACS server template view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
hwtacacs write

Usage Guidelines

The shared key encrypts the HWTACACS packets. While sending the authentication packets to the clients, the HWTACACS server encrypts the important information. The shared key on the device must be identical for successful authentication.

The shared key set on the Router and the HWTACACS server must be the same.

You can change the shared key and the new shared key can be used for new requests.

Example

# To configure shared key as
<HUAWEI> system-view
[~HUAWEI] hwtacacs-server template htipl
[*HUAWEI-hwtacacs-htipl] hwtacacs-server shared-key cipher Hello-huawei13579
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >