Once you have backed up the current installation, you are ready to upgrade or downgrade your software:
To upgrade the router software, follow these steps:
Install the new software package using the request system software add command:
user@host> request system software add /var/tmp/installation-package
installation-package is the name of the installation package; for example jinstall-9.2R1.8–domestic-signed.tgz
For more information about the request system software add command, see the JUNOS System Basics and Services Command Reference.
Reboot the router to start the new software using the request system reboot command:
user@host> request system reboot
Reboot the system? [yes, no] (no) yes
![]() |
Note: You must reboot the device to load the new installation of the JUNOS software on the device. To abort the installation, do not reboot the device; instead, finish the installation and then issue the request system software delete jinstall command. This is your last chance to stop the installation. |
While the software is being upgraded, the Routing Engine on which you are performing the installation does not route traffic.
The jweb installation module adds a router management graphical user interface that you can use to view and configure your router. For more information about the jweb package, see Installation Modules.
If the router has two Routing Engines, perform a JUNOS software installation on each Routing Engine separately to avoid disrupting network operation. Install the new JUNOS software release on the backup Routing Engine while keeping the currently running software version on the master Routing Engine. After making sure that the new software version is running correctly on the backup Routing Engine, switch over to the newly installed Routing Engine to activate the new software. Finally, install the new software on the new backup Routing Engine.
![]() |
Warning: If graceful Routing Engine switchover (GRES) is enabled when you initiate a software installation, the software does not install properly. Make sure you issue the CLI delete chassis redundancy command when prompted. If GRES is enabled, it will be removed with the redundancy command. |
To upgrade the router software, perform the following tasks:
Perform the following steps before installing the software:
For more information on logging in to the Routing Engine through the console port, see the administration manual for your particular router.
[edit]
user@host# delete chassis redundancy
[edit]
user@host# commit synchronize
Exit out of the CLI configuration mode:
[edit]
user@host# exit
Once the router is ready, you first install the software on the backup Routing Engine. This enables the primary Routing Engine to continue operations, minimizing the disruption to your network.
For more information on logging in to the Routing Engine through the console port, see the administration manual for your particular router.
Install the new software package using the request system software add command:
user@host> request system software add validate /var/tmp/jinstall-9.2R1.8–domestic-signed.tgz
For more information on the request system software
add command, see the JUNOS System Basics and Services
Command Reference.Reboot the router to start the new software using the request system reboot command:
user@host> request system reboot
Reboot the system? [yes, no] (no) yes
![]() |
Note: You must reboot the device to load the new installation of the JUNOS software on the router. To abort the installation, do not reboot your device, instead, finish the installation and then issue the request system software delete jinstall command. This is your last chance to stop the installation. |
While the software is being upgraded, the Routing Engine on which you are performing the installation is not routing traffic.
The jweb installation module adds a router management graphical user interface that you can use to view and configure your router. For more information about the jweb package, see Installation Modules.
Once the software is installed on the backup Routing Engine, you are ready to switch routing control to the backup Routing Engine and then upgrade or downgrade the primary Routing Engine software:
For more information on logging in to the Routing Engine through the console port, see the administration guide for your particular router.
Transfer routing control to the backup Routing Engine:
user@host> request chassis routing-engine master switch
user@host> show chassis routing-engine
Routing Engine status:
Slot 0:
Current state Backup
Election priority Master (default)
Routing Engine status:
Slot 1:
Current state Master
Election priority Backup (default)
Install the new software package using the request system software add command:
user@host> request system software add validate /var/tmp/jinstall-9.2R1.8–domestic-signed.tgz
For more information about the request system
software add command, see the JUNOS System Basics and
Services Command Reference.Reboot the Routing Engine using the request system reboot command:
user@host> request system reboot
Reboot the system? [yes, no] (no) yes
![]() |
Note: You must reboot to load the new installation of the JUNOS software on the router. To abort the installation, do not reboot your system; instead, finish the installation and then issue the request system software delete jinstall command. This is your last chance to stop the installation. |
While the software is being upgraded, the Routing Engine on which you are performing the installation does not route traffic.
The jweb installation module adds a router management graphical user interface that you can use to view and configure your router. For more information about the jweb package, see Installation Modules.
Transfer routing control back to the master Routing Engine:
user@host> request chassis routing-engine master switch
user@host> show chassis routing-engine
Routing Engine status:
Slot 0:
Current state Master
Election priority Master (default)
outing Engine status:
Slot 1:
Current state Backup
Election priority Backup (default)
Once the software is installed on both Routing Engines, you return the router back to its original configuration and back up the new installation.
- {backup}
- user@host-re0> configure
- [edit]
- user@host-re0# rollback 1
- [edit]
- user@host-re0> commit synchronize and-quit
- {master}
- user@host-re0> request system snapshot
- {master}
- user@host-re0> request
routing-engine login other routing-engine
- {backup}
- user@host-re1> request
system snapshot
- {backup}
The root file system is backed up to /altroot, and /config is backed up to /altconfig. The root and /config file systems are on the router’s CompactFlash card, and the /altroot and /altconfig file systems are on the router’s hard disk.
![]() |
Note: After you issue the request system snapshot command, you cannot return to the previous version of the software because the running copy and backup copy of the software are identical. |