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).



The lock command locks the current user interface to prevent unauthorized users from operating the interface.

By default, the system does not automatically lock the current user interface.






User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Lock the current user interface using this command to prevent other users from operating the interface. The user interfaces consist of console ports, and Virtual Type Terminals (VTYs).

After using the lock command, you are prompted to input the password twice. If you input the correct password for twice, the user interface is locked.


  • The passwords must meet the following requirements:
    • The password is a string of 8 to 128 case-sensitive characters.

    • The password must contain at least two of the following characters: upper-case character, lower-case character, digit, and special character.

      The special characters include spaces and the following:


  • Password entered in interactive mode is not displayed on the screen.

  • When you run the lock command to lock the user interface and set a locking password, you can press CTRL_C to cancel the operation.

  • To unlock the user interface, press Enter, and then input the correct password as prompted by the system.


# Lock the current user interface after logging in through the console port.

<Huawei> lock
Info: A plain text password is a string of 8 to 128 case-sensitive characters and must be a combination of at least two of the follow
ing: uppercase letters A to Z, lowercase letters a to z, digits, and special characters (including spaces and the following :`~!@#$%
Enter Password:
Confirm Password:
Info: The terminal is locked.

# To log in to the system after the system is locked, you must press Enter. The following information is displayed:

Enter Password:

# Enter the correct password and return to the user view.

Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 203216

Downloads: 122

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