This article is about how to upgrade software in Juniper devices using CLI and how to upgrade firmware on multiple devices simultaneously in NCM application using configlets
If you don't have NCM installed, please click here to download and install the application.
Switch>request system software add package-name
Switch>request system reboot
The corresponding configlet can be created in NCM application as shown in below screenshot.
Also you can click the below button to download the Configlet as XML and import it into NCM application using file import option.
|Configlet Name||Juniper Software Upgrade|
This configlet is used to upgrade software in juniper devices using "request system software add <package name>" command.The software package should be available in the device
|Execution Mode||Advanced Script Execution Mode|
<command Sequence='1' >request system software add $package-name</command>
<command Sequence='2' Condition='contains' Value='yes,no' Success='3' Failure='end' prompt='down|)' >request system reboot</command>
<command Sequence='3' >yes</command>