patch active

Function

The patch active all command activates a patch.

Format

patch active all

Parameters

None

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If active or run is not configured in the patch load command, the patch is in the inactive state after being installed.

Configuration Impact

The patch will be run temporarily after the patch active all command is run.
  • If a non-incremental patch is loaded, the patch will be in the active state after the patch active all command is run.
  • If an incremental patch is loaded and the original patch has been running, the status of the original patch remains unchanged and the incremental patch will be in the active state after the patch active all command is run.

Follow-up Procedure

Use the patch run command to run the active patches.

Precautions

If a board or the device is restarted, either of the following problems occurs after the patch active all command is run:
  • If a board is restarted, the active patches on the board enter the inactive state.
  • If the device is restarted, the active patches on all boards enter the inactive state.

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 the patches.

<sysname> patch active all
Related Topics
display patch-information
patch deactive
patch delete
patch load
patch run

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.