No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
hwtacacs-server shared-key

hwtacacs-server shared-key


The hwtacacs-server shared-key command sets a shared key for an HWTACACS server.

The undo hwtacacs-server shared-key command cancels the configuration.

By default, the HWTACACS server is not configured with any shared key.


hwtacacs-server shared-key cipher key-string

undo hwtacacs-server shared-key


Parameter Description Value
cipher Indicates the shared key in cipher text. -
key-string Specifies a shared key.

The value is a case-sensitive string without question marks (?) or spaces. The key is processed as cipher text no matter whether the cipher keyword is specified. The key-string may be a plain text consisting of 1 to 255 characters or a cipher text consisting of 20 to 392 characters.


HWTACACS server template view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The shared key is used to encrypt the password and generate the response authenticator.

When exchanging authentication packets with an HWTACACS server, the device uses MD5 to encrypt important data such as the password to ensure security of data transmission over the network. The device and HWTACACS server must use the same key to ensure their validity in the authentication.


To improve security, it is recommended that the password contains at least two types of lower-case letters, upper-case letters, numerals, and special characters, and contains at least 6 characters.

You can modify this configuration only when the HWTACACS server template is not in use.


# Set the shared key of the HWTACACS server to Admin@123.

<Huawei> system-view
[Huawei] hwtacacs-server template test1
[Huawei-hwtacacs-test1] hwtacacs-server shared-key cipher Admin@123
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207952

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next