config lock
Function
The config lock command locks the system configuration.
The undo config lock command unlocks the system configuration.
By default, the system configuration is unlocked.
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.
Precautions
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.
Example
# 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