: Use the API for Upgrade Tasks
Focus
Focus

Use the API for Upgrade Tasks

Table of Contents

Use the API for Upgrade Tasks

Use the API for Upgrade Tasks
Use the following CLI commands to carry out upgrade tasks.
If you want to...
Use...
Check the current versions of the firewall
  • Check the current version of the firewall software and content.
https://firewall/api/?type=op&cmd=<request><system><software><check></check></software></system>
Access the available dynamic updates and upgrade the content version of the firewall
  • Check available content versions of dynamic updates directly from the Palo Alto Networks servers.
https://firewall/api/?type=op&cmd=<request><content><upgrade><check></check></upgrade></content></request>
  • Check available content versions of dynamic updates directly from the firewall.
https://firewall/api/?type=op&cmd=<request><content><upgrade><info></info></upgrade></content></request>
  • Download latest content version directly to the firewall.
https://firewall/api/?type=op&cmd=<request><content><upgrade><download><latest></latest></download></upgrade></content></request>
  • Download specific content version directly to the firewall.
https://firewall/api/?type=op&cmd=<request><content><upgrade><download><file>Enter specific file name here<file></download></upgrade></content></request>
  • Install content version.
https://firewall/api/?type=op&cmd=<request><content><upgrade><install><version> <content version></version></install></upgrade></content></request>
Access the available software versions and upgrade the firewall
  • Check the available software versions available for download.
https://firewall/api/?type=op&cmd=<request><system><software><info></info></software></system></request>
  • Check the available versions loaded on the firewall.
https://firewall/api/?type=op&cmd=<request><system><software><check></check></software></system></request>
  • Download a specific version of the software.
https://firewall/api/?type=op&cmd=request><system><software><download><version></version></download></software></system></request>
  • Check the status of a specific download job.
https://firewall/api/?type=op&cmd=<show><jobs></jobs></show>
  • Install the downloaded software.
https://firewall/api/?type=op&cmd=<request><system><software><install><version>10.1.0</version></install></software></system></request>
  • Restart the firewall.
https://firewall/api/?type=op&cmd=<request><restart><system></system></restart></request>