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.

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.

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

config lock


The config lock command locks the system configuration.

The undo config lock command unlocks the system configuration.

By default, the system configuration is unlocked.


config lock

undo config lock




System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To prevent other users from modifying or deleting configured data, you can run the config lock command to lock the configuration management plane before data configuration. After completing data configuration, run the undo config lock command to unlock the configuration management plan so that other users can perform data configuration.


The locked system configuration can be unlocked by only the user who locks it, the super administrator (run the user privilege command to set the user level to 15), or the network management system (NMS) user.


# Lock the system configuration.

<Huawei> system-view
Enter system view, return user view with Ctrl+Z.
[Huawei] config lock
The system config is locked

# Unlock the system configuration.

<Huawei> system-view
Enter system view, return user view with Ctrl+Z.
[Huawei] undo config lock 
The system config is unlocked
Related Topics
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 173292

Downloads: 191

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next