< Home

configuration exclusive

Function

The configuration exclusive command locks current configurations. During this period, the user that locks the configurations can query and set the configurations but other users can only query the configurations.

The undo configuration exclusive command unlocks the configuration set.

By default, the configuration set is unlocked.

Format

configuration exclusive

undo configuration exclusive

Parameters

None

Views

All views

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A device allows several users to log in concurrently to perform configurations, which may result in configuration conflicts and service abnormalities. To ensure normal services, one user can run the configuration exclusive command to lock the current configurations and perform subsequent configurations. Other users can only query the configurations.

If the user wants to unlock the configurations, the following methods are available:
  • Run the undo configuration exclusive command.
  • If there are no configuration updates when the timer for configuration locking expires, the system unlocks the configurations automatically. The timers for configuration locking can be set using the configuration-occupied timeout command.

Precautions

  • Other users cannot perform configurations after the configuration exclusive command is run.
  • You are recommended to run the configuration-occupied timeout command to set a timer for configuration locking. When this timer expires, the system automatically unlocks the configurations and other users can continue to perform configurations.

Example

# Lock the configuration set.
<sysname> configuration exclusive
# Unlock the configuration set.
<sysname> undo configuration exclusive
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >