Supported Platforms
Upgrading Software Packages
![]() | Note: When you install individual software packages, the following notes apply:
|
To upgrade an individual Junos OS package, follow these steps:
- Download the software packages you need from the Juniper
Networks Support Web site at
https://www.juniper.net/support/
. For information about downloading software packages, see Downloading Software.Note: We recommend that you upgrade all individual software packages using an out-of-band connection from the console or management Ethernet interface, because in-band connections can be lost during the upgrade process.
- Back up the currently running and active file system so
that you can recover to a known, stable environment in case something
goes wrong with the upgrade:user@host> request system snapshot
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 or solid-state drive (SSD).Note: After you issue the request system snapshot command, you cannot return to the previous version of the software, because the running copy and the backup copy of the software are identical.
- If you are copying multiple software packages to the router,
copy them to the
/var/tmp
directory on the hard disk or solid-state drive (SSD):user@host> file copy ftp://username
:prompt@ftp.hostname
.net/filename/var/tmp/filename - Add the new software package:
- To add an individual software package:user@host> request system software add/var/tmp/
installation-package
validateinstallation-package
is the full URL to the file.If you are upgrading more than one package at the same time, add
jbase
first. If you are using this procedure to upgrade all packages at once, add them in the following order:user@host> request system software add /var/tmp/jbase-release-
signed.tgzuser@host> request system software add /var/tmp/jkernel-release-
signed.tgzuser@host> request system software add /var/tmp/jpfe-release-
signed.tgzuser@host> request system software add /var/tmp/jdocs-release-
signed.tgzuser@host> request system software add /var/tmp/jweb-release-
signed.tgzuser@host> request system software add /var/tmp/jroute-release-
signed.tgzuser@host> request system software add /var/tmp/jcrypto-release-
signed.tgz - For M Series, MX Series, and T Series routers and Branch
SRX Series firewall filters running Junos OS Release 12.2 and above,
you can add more than one software package at the same time. To add
multiple software packages:user@host> request system software add set /var/tmp/
installation-package
/var/tmp/installation-package
validateinstallation-package
can be any of the following:- A list of installation packages, each separated by a blank
space. For example,user@host> request system software add set /var/tmp/
jinstall-10.2R1.8–domestic-signed.tgz
/var/tmp/jtools*.tgz
validate - The full URL to the directory or tar file containing the list of installation packages.
- A list of installation packages, each separated by a blank
space. For example,
Use the request system software add set command to retain any SDK configuration by installing the SDK add-on packages along with the core Junos OS installation package.
Warning: Do not include the
re0 | re1
option when you install a package using the request system software add command, if the Routing Engine on which the package is located and the Routing Engine on which you want to install the package are the same. In such cases, the package gets deleted after a successful upgrade.The system might display the following message:
pkg_delete: couldn’t entirely delete package
This message indicates that someone manually deleted or changed an item that was in a package. You do not need to take any action; the package is still properly deleted.
For more information about the request system software add command, see the Junos OS System Basics and Services Command Reference .
- To add an individual software package:
- Reboot the router to start the new software: user@host> request system reboot
- After you have upgraded or downgraded the software and
are satisfied that the new software is successfully running, issue
the request system snapshot command to back up the new
software:user@host> request system snapshot
Note: On an ACX router, you must issue the request system snapshot slice alternate command.
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 or solid-state drive (SSD).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.