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).
radius-server shared-key (system view)

radius-server shared-key (system view)


The radius-server shared-key command configures the shared key of a RADIUS server.

The undo radius-server shared-key command deletes the shared key of a RADIUS server.

By default, no global shared key is configured for the RADIUS server.


radius-server ip-address ip-address shared-key cipher key-string

undo radius-server ip-address ip-address shared-key





ip-address ip-address

Specifies the IP address of the RADIUS server.

The value is in dotted decimal notation.

cipher key-string

Specifies the shared key in cipher text.

The value is a case-sensitive character string without spaces, single quotation marks ('), or question marks (?). key-string can be a string of 1-128 characters in plain text or a string of 48, 68, 88, 108, 128, 148, 168, or 188 characters in cipher text.


System 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 a RADIUS server, the device uses MD5 to encrypt important data such as the password to ensure security of data transmission over the network. To ensure validity of both communication parties, the device and RADIUS server must be configured with the same shared key.

You can run the radius-server shared-key (RADIUS server template view) command in the RADIUS server template view to configure the shared keys. However, after this command is run, all RADIUS servers in the template use the same shared key. To configure different shared keys for RADIUS servers, run the radius-server shared-key command in the system view.


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

When the shared keys are configured in both the RADIUS server template and system view, the configuration in the system view takes effect.


# Set the shared key for RADIUS server to Huawei@2012.

<Huawei> system-view
[Huawei] radius-server ip-address shared-key cipher Huawei@2012
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 195241

Downloads: 118

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