< Home

clear inactive-configuration all

Function

The clear inactive-configuration all command clears inactive configurations on the switch.

Format

clear inactive-configuration all

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

If a card is removed, the original configurations on the card are saved on the switch. If the standby/slave switch leaves a stack, the configurations on the switch are saved on the master switch. These invalid configurations are called inactive or offline configurations. To view inactive configurations on the switch, run the display current-configuration inactive command.

You can run the clear inactive-configuration all command to clear all the inactive configurations on the switch to increase available space.

Configurations cannot be recovered after clearing. Therefore, exercise caution when deciding to run this command. You are advised to run this command under the guidance of technical support personnel.

Example

# Clear inactive configurations on the switch.

<HUAWEI> system-view
[HUAWEI] clear inactive-configuration all
Warning: All inactive configurations will be deleted and cannot be restored.
Are you sure you want to continue?[Y/N]y
The command will take a few minutes. Please wait.
Info: There is no inactive configuration.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >