{"id":388,"date":"2009-06-02T20:32:02","date_gmt":"2009-06-03T01:32:02","guid":{"rendered":"http:\/\/www.gamescheat.ca\/?p=388"},"modified":"2019-09-04T19:57:40","modified_gmt":"2019-09-05T00:57:40","slug":"how-to-upgrade-or-downgrade-screenos-using-either-the-webui-or-cli","status":"publish","type":"post","link":"http:\/\/www.gamescheat.ca\/?p=388","title":{"rendered":"How to upgrade or downgrade ScreenOS using either the WebUI or CLI"},"content":{"rendered":"<p>I tried uploading the Juniper 5GT screenOS file name ns5gt.6.2.0r2.0 via the WebUI interface.  But it kept failing with the error message \u201cFile too big or empty\u201d.   I then had to upgrade the screenOS or firmware through the command line interface of CLI.<\/p>\n<p>I downloaded the TFTP server for Windows from Solar Winds, it is free to use.  Copy the new firmware to the default path of the TFTP server, which is c:\\TFTP-Root.<\/p>\n<p>Follow the instructions to upgrade via CLI below.  This is an excerpt from Junipers knowledge base.<\/p>\n<p>How to upgrade or downgrade ScreenOS using either the WebUI or CLI<\/p>\n<p>Synopsis:<\/p>\n<p>Steps to upgrade or downgrade ScreenOS from the WebUI and CLI<\/p>\n<p>Problem:<\/p>\n<p>Basic steps for upgrading or downgrading ScreenOS<\/p>\n<div style=\"float: right;\"><div style=\"margin: 15px 15px 15px 15px\";><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-3319935785736004\";\ngoogle_alternate_color = \"FFFFFF\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\ngoogle_ad_format = \"468x60_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_ad_channel =\"\";\ngoogle_color_border = \"cccccc\";\ngoogle_color_link = \"cc0000\";\ngoogle_color_bg = \"ffffff\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"008000\";\n\/\/--><\/script>\n<script type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/div><\/div><p>Solution:<\/p>\n<p>Below is the basic guideline for the upgrading or downgrading ScreenOS.   For a complete guide, including requirements and restrictions, consult the Migration Procedure section in the ScreenOS release notes (for ScreenOS 5.3 and 5.4) or the ScreenOS Migration Guide (for ScreenOS 5.2 and earlier).<\/p>\n<p>Upgrading \/ Downgrading from the WebUI<br \/>\n( click here for CLI instructions )<\/p>\n<p>Perform the following steps to upgrade the firmware using the WebUI: <\/p>\n<p> Save Configuration file<\/p>\n<p>Caution! Before upgrading or downgrading a security device, save the existing configuration file to avoid losing any data. <\/p>\n<p>Log in to the security device by opening a Web browser and then entering the Management IP address in the Address field. Log in as the root admin or an admin with read-write privileges. <\/p>\n<p>Save the existing configuration:<br \/>\nGo to Configuration > Update > Config File, and then click Save to File<br \/>\nIn the File Download dialog box, click Save.<br \/>\nNavigate to the location where you want to save the configuration file (cfg.txt), and then click Save.<br \/>\n Upgrading or downgrading Firmware <\/p>\n<p>Go to Configuration > Update > ScreenOS\/Keys and select Firmware Update. <\/p>\n<p>Click Browse to navigate to the location of the firmware \u201cxxxxx.5.0.0r10\u2019<br \/>\n(where xxxx corresponds to the device model) or type the path to its location in the Load File field. <\/p>\n<p>Click Apply. <\/p>\n<p>Click OK to continue.<br \/>\nThe security device restarts automatically. The upgrade or downgrade is complete when the device displays the login page in the browser.<br \/>\nNote: This process takes some time. DO NOT click Cancel or the upgrade \/downgrade will fail. If you click Cancel and the upgrade fails, power off the device and then power it on again. Restart the upgrade procedure from step 2. <\/p>\n<p>Log in to the security device. You can verify the version of the security device ScreenOS firmware in the Device Information section of the WebUI Home page.<br \/>\n Upgrading to the New ScreenOS Firmware <\/p>\n<p>Go to Configuration > Update > ScreenOS\/Keys and select Firmware Update. <\/p>\n<p>Click Browse to navigate to the location of the new ScreenOS firmware or type the path to its location in the Load File field. <\/p>\n<p>Click Apply.<br \/>\nA message box appears with information. <\/p>\n<p>Click OK to continue.<br \/>\nThe security device restarts automatically. The upgrade is complete when the device displays the login page in the browser. <\/p>\n<p>Log in to the security device. You can verify the version of the security device ScreenOS firmware in the Device Information section of the WebUI Home page. <\/p>\n<p>Upgrading\/Downgrading from the CLI<br \/>\nPerform the following steps to upgrade or downgrade the firmware using the CLI: <\/p>\n<p>Make sure that you have the ScreenOS firmware \u201cxxxx.5.0.0r10\u201d (where xxxx corresponds to the device model). <\/p>\n<p>Run the TFTP server on your computer by double-clicking on the TFTP server application. <\/p>\n<p>Log in to the security device using an application such as Telnet or Secure Shell (SSH) or Hyper Terminal if directly connected through the console port. Log in as the root admin or an admin with read-write privileges. <\/p>\n<p>Save the existing configuration by executing the command:<br \/>\nsave config to { flash | slot1 | tftp }\u2026 <\/p>\n<p>On the security device, enter the following command:<br \/>\nsave soft from tftp ip_addr filename to flash<br \/>\nwhere:<br \/>\nip_addr is the IP address of your computer<br \/>\nfilename is the name of the ScreenOS firmware. <\/p>\n<p>When the upgrade or downgrade is complete, you must reset the security device.<br \/>\nExecute the reset command and enter y at the prompt to reset the device. <\/p>\n<p>Wait a few minutes, and then log in to the security device again. <\/p>\n<p>Use the get system command to verify the version of the security device ScreenOS firmware. <\/p>\n<p>Upload the configuration file that you saved in step 3 by executing the command:<br \/>\nsave config to { flash | slot1 | tftp }\u2026<br \/>\nNote: when downgrading from major release you might have to run exec downgrade command before reset. Please check the Migration Guide for details.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I tried uploading the Juniper 5GT screenOS file name ns5gt.6.2.0r2.0 via the WebUI interface. But it kept failing with the error message \u201cFile too big or empty\u201d. I then had to upgrade the screenOS or firmware through the command line&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/www.gamescheat.ca\/?p=388\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[65],"tags":[31,57,58],"_links":{"self":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/388"}],"collection":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=388"}],"version-history":[{"count":5,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/388\/revisions"}],"predecessor-version":[{"id":729,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/388\/revisions\/729"}],"wp:attachment":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=388"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}