< Home

configuration-occupied timeout

Function

The configuration-occupied timeout command sets the interval after which the system automatically unlocks the configuration.

The undo configuration-occupied timeout command restores the default automatic unlock interval.

By default, the value is 30 seconds.

Format

configuration-occupied timeout timeout-value

undo configuration-occupied timeout

Parameters

Parameter Description Value
timeout-value Specifies the interval after which the system automatically unlocks the configuration if no configuration command is run. The value is an integer that ranges from 1 to 7200, in seconds. By default, the value is 30 seconds.

Views

System view

Default Level

3: Management level

Usage Guidelines

The configuration-occupied timeout command configures the longest lock interval. If no configuration command is delivered within this interval, the system automatically unlocks the configuration so that other users can modify the configuration.

The usage scenarios for this command are as follows:
  • If the user does not have the configuration right, the system displays an error.
  • If the configuration is locked by another user, the system displays a message indicating that the modification fails.
  • If the configuration is locked by the user who configures the longest lock interval, the modification is valid.
Note the following when running the configuration-occupied timeout command:
  • The interval cannot be too short because the device will automatically unlock the configuration if no configuration command is delivered by the user who configures the interval.
  • The interval cannot be too long because other users cannot modify the configuration within this period even if the user who locks the configuration delivers no configuration command within this period.
  • The command is valid for all users.

Example

# Set the automatic unlock interval to 120 seconds.
<HUAWEI> system-view
[HUAWEI] configuration-occupied timeout 120
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >