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

Reminder

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

upgrade
Troubleshooting Guide
CloudEngine 16800, 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches
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).
What Are a Plaintext Password and a Ciphertext Password?

What Are a Plaintext Password and a Ciphertext Password?

A plaintext password is a password that is not encrypted using an encryption algorithm, rather than the password displayed on the screen when you enter it through the keyboard. For example, when you configure the authentication password of a SNMPv3 USM user, the system prompts you to enter the password. Assume that the password you enter is Huawei@123. Here, Huawei@123 is a plaintext password. When you set up an SNMPv3 connection between the NMS and a device, the password you enter on the NMS is a plaintext password.
HUAWEI> system-view
[~HUAWEI] snmp-agent usm-user v3 u1 group g1
[*HUAWEI] snmp-agent usm-user v3 u1 authentication-mode sha
Please configure the authentication password (8-255)
Enter Password:               //Enter the authentication password Huawei@123.
Confirm Password:             //Confirm the authentication password Huawei@123.
[*HUAWEI] commit
A ciphertext password is a password that is obtained after a device encrypts a plaintext password through an encryption algorithm. It does not mean a password that is not displayed on the screen when you enter it through the keyboard. In principle, a ciphertext password cannot be directly compiled. Generally, you can obtain a ciphertext password from the configuration file.
[~HUAWEI] display this
...
#
snmp-agent usm-user v3 u1
snmp-agent usm-user v3 u1 group g1
snmp-agent usm-user v3 u1 authentication-mode sha cipher %^%#kdnL).JrtW=Cf0(r<IOPg7\DXWh.G~%Zex6,u'!D%^%#
...

In the preceding information, %^%#kdnL).JrtW=Cf0(r<IOPg7\DXWh.G~%Zex6,u'!D%^%# is a ciphertext password that is generated after Huawei@123 is encrypted using the SHA algorithm.

Generally, if no password has been used or a password is used on a small-scale network, a plaintext password is configured. If a configuration file is used for batch deployment, a ciphertext password is configured and the cipher parameter is generally used in the password configuration. If a ciphertext password is configured, you need to enter a plaintext password when logging in to a device using protocols such as STelnet, NETCONF, or SNMP.

Translation
Download
Updated: 2020-01-07

Document ID: EDOC1000060766

Views: 661833

Downloads: 3050

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next