The patch delete all command deletes
patches on the current system.
Format
patch delete all
Parameters
None
Views
User view
Default Level
3: Management level
Usage Guidelines
If you find errors in patches that have been loaded to the system,
run this command to delete the patches to prevent patch errors from
affecting system operating.
Before loading a non-incremental patch, run this command to delete
the existing patches (if any). Otherwise, the non-incremental patch
cannot be loaded.
After the patch is deleted, it is recommended that you restart
the switch.
Example
# Delete all patches.
<HUAWEI> patch delete all
Warning: The device needs to restart after the patch is deleted.
This will delete the patch. Are you sure? [Y/N]