< Home

patch active all

Function

The patch active all command activates the patches on the current system.

By default, the loaded patches on the current system are inactive.

Format

patch active all

Parameters

None

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If you do not specify the active or run keyword when running the patch load command, run the patch active all command to activate all the loaded patches to make them effect.

Prerequisites

Patches have been loaded using the patch load command.

Configuration Impact

  • After a non-incremental patch is loaded and the patch active all command is run, the patches in the current system are activated.

  • If an incremental patch is loaded and the previous patch package is running, the previous patch package is still in running state after you run the patch active all command. The new patch package is activated.

Follow-up Procedure

After running the patch active all command, use the patch run all command to run the activated patch.

Precautions

After you run the patch active all command:
  • If the device is restarted, all the active patches become inactive. To reactivate the patches, run the patch active all command.

To make the patches become active, run the patch active all command again.

The active state can prevent a patch error from causing continuous faults of the system. If a patch has a bug and the patch is in the active state, restart the device to prevent the patch from taking effect.

Example

# Activate all patches.

<HUAWEI> patch active all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >