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.
# 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.