<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic API command to send to f/w to upgrade IOS in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/api-command-to-send-to-f-w-to-upgrade-ios/m-p/139791#M48178</link>
    <description>&lt;P&gt;Hi&amp;nbsp; is there&amp;nbsp; a API command to send to f/w to upgrade IOS&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2017 18:01:00 GMT</pubDate>
    <dc:creator>clyde.franklin</dc:creator>
    <dc:date>2017-01-27T18:01:00Z</dc:date>
    <item>
      <title>API command to send to f/w to upgrade IOS</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/api-command-to-send-to-f-w-to-upgrade-ios/m-p/139791#M48178</link>
      <description>&lt;P&gt;Hi&amp;nbsp; is there&amp;nbsp; a API command to send to f/w to upgrade IOS&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 18:01:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/api-command-to-send-to-f-w-to-upgrade-ios/m-p/139791#M48178</guid>
      <dc:creator>clyde.franklin</dc:creator>
      <dc:date>2017-01-27T18:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: API command to send to f/w to upgrade IOS</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/api-command-to-send-to-f-w-to-upgrade-ios/m-p/139809#M48181</link>
      <description>&lt;P&gt;There is not one command to update the OS on the firewall. You would need to issue a download request and monitor the job id, then an install request and monitor that job it until completed, and then issue a restart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Download&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;type=op&amp;amp;cmd=&amp;lt;request&amp;gt;&amp;lt;system&amp;gt;&amp;lt;software&amp;gt;&amp;lt;download&amp;gt;&amp;lt;version&amp;gt;7.0.13&amp;lt;/version&amp;gt;&amp;lt;/download&amp;gt;&amp;lt;/software&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Install&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;type=op&amp;amp;cmd=&amp;lt;request&amp;gt;&amp;lt;system&amp;gt;&amp;lt;software&amp;gt;&amp;lt;install&amp;gt;&amp;lt;version&amp;gt;7.0.13&amp;lt;/version&amp;gt;&amp;lt;/download&amp;gt;&amp;lt;/software&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Monitor Job ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;jobs&amp;gt;&amp;lt;id&amp;gt;$jobid&amp;lt;/id&amp;gt;&amp;lt;/jobs&amp;gt;&amp;lt;/show&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Request Restart&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;type=op&amp;amp;cmd=&amp;lt;request&amp;gt;&amp;lt;restart&amp;gt;&amp;lt;system&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/restart&amp;gt;&amp;lt;/request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keep in mind that this is from a script that I didn't clear out some of the variables that I use; you would want to capture the output of all of those commands expect the restart so that you can actually monitor the process. Generally I will split this up a little bit during the day before I actually update any of our firewalls; having the PA first download the software, then installing near the end of day, and finally rebooting to finish installing during the normal maintenance windows. Unless you are upgrading more than a handful of units at the same time it's probably safer/easier to take care of it with the CLI/GUI&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 19:14:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/api-command-to-send-to-f-w-to-upgrade-ios/m-p/139809#M48181</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2017-01-27T19:14:55Z</dc:date>
    </item>
  </channel>
</rss>

