How to Delete Unnecessary Downloaded Software Versions

How to Delete Unnecessary Downloaded Software Versions

205309
Created On 09/25/18 20:36 PM - Last Modified 08/04/25 22:18 PM


Objective


  • Palo Alto Networks firewall stores downloaded software versions for convenience to revert back to an older version if needed.
  • As the firewall is upgraded to new versions, the older versions can be deleted to clear the disk space.


Environment


  • Palo Alto Firewall.
  • Supported PAN-OS.


Procedure


From WebGUI:

  1. Go to GUI: Device > Software
  2. This page lists the currently downloaded software version.
  3. Here the versions that are not currently used can be deleted.
  4. Example: When PAN-OS 7.1.2  is used,  the older PAN-OS like 7.0.1, 6.1.0 can be deleted without impacting the current version of PAN-OS. 
  5. Use "X" on the right hand side to delete a version.
  6. The current version (In this case 7.1.2) and its base version (in this example 7.1.0) cannot be deleted.

 del-sw-ver.png

From CLI:

  1. Use the command "debug swm list" to display the list of software versions
admin@PA-VM(active)> debug swm list

Product     B Version              Built                 Loaded
--------------------------------------------------------------------------------
panos       11.1.0-c797    2024-05-11 00:52:43   2025-05-11 14:12:28
panos       10.1.0         2024-05-12 10:37:18   2025-05-12 22:44:57

  1. Once listed, the unwanted software versions can be deleted using the command
admin@PA-VM(active)> delete software version <filename>

Example:

admin@PA-VM(active)> delete software version 10.1.0

  1. The location of these files reside in partition /opt/panrepo.
  2. The disk space will increase after removing the old unused versions and can be checked using " > show system disk-space" CLI command.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClimCAC&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language