configuration exclusive

Function

The configuration exclusive command enables the configuration locking function that allows only one user to configure the system. During this period, all other users can only query configurations.

The undo configuration exclusive command disables the configuration locking function.

By default, the configuration locking function is disabled.

Format

configuration exclusive

undo configuration exclusive

Parameters

None

Views

All views

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
config write

Usage Guidelines

Usage Scenario

A device allows multiple users to perform configurations at the same time. If configurations performed by different users conflict, services will be affected. To prevent this problem, run the lock configuration command to allow only one user to configure the system.

Prerequisites

The configuration locking function is disabled for all users.

Configuration Impact

  • After the configuration exclusive command is run for a user, the user can perform and commit configurations, and all other users can only query configurations.
  • After the undo configuration exclusive command is run, the configuration locking function is disabled so all users can perform and commit configurations.
  • Only the user for which the configuration locking function is enabled can disable the function; however, if the user does not perform any configurations within the time limit specified by the configuration-occupied timeout command, the device will automatically disable the configuration locking function for the user.

Precautions

Only one user can lock the configuration at a time. After the user logs out, the configuration is unlocked automatically.

This command can be run only in a physical system.

Example

# Enable the configuration locking function for user1.
<HUAWEI> configuration exclusive
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >