patch delete (User view)

Function

The patch delete command deletes patches from the current system.

Format

patch delete all

Parameters

Parameter Description Value
all

Deletes all patches on all the boards.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
patch execute

Usage Guidelines

Usage Scenario

Before installing a non-incremental patch, you need to run the patch delete command to delete existing patches from the current system and then install a new patch package.

Configuration Impact

After the patch delete command is run, patches on the system are deleted regardless of their status.

The patch delete command may affect the performance of the system. So, confirm the action before you use this command.

When the patch delete command is run to delete patches from the current system, the system prompts you whether to delete patches.

After the patch delete command is run to delete existing patches from the current system, the deleted patches cannot be restored. So, confirm the action before you use this command.

If a patch operation is performed when the CPU or memory usage is too high, risks may exist.

Precautions

This command applies only to the admin VS but takes effect on all VSs.

Example

# Delete all hot patches from the current system.
<HUAWEI> patch delete all
This will delete the current running patch and next-startup patch. Are you sure? [Y/N]:y
Info: Operating, please wait for a moment....done.
Info:Succeeded in deleting the patch.
# Delete all cold patches from the current system.
<HUAWEI> patch delete all
This will delete the current running patch and next-startup patch. Are you sure? [Y/N]:y
Info: Operating, please wait for a moment.......done.

****************************************************************************
* Warning: Perform the following operations to deal with the cold patch.   * 
****************************************************************************
----------------------------------------
Device    Type    Upgrade mode        
----------------------------------------
1         xxx     reset board         
----------------------------------------
Info: Succeeded in deleting the patch.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >