![]() |
Note: This information applies only to upgrading one release of JUNOS software with enhanced services to another. To upgrade from the JUNOS software to JUNOS software with enhanced services, see the JUNOS Software Migration Guide. |
In JUNOS Release 8.5, the JUNOS software was extended to use FreeBSD version 6.1. As a result, the following requirements apply when you upgrade your router to JUNOS Release 8.5 and later:
Before upgrading to JUNOS software with enhanced services, perform the following:
This section contains the following topics:
Typically, you upgrade JUNOS software with enhanced services on a Services Router by downloading a set of images onto your router or onto another system on your local network, such as a PC. You then uncompress the package and install the uncompressed software using the CLI. Finally, you boot your system with this upgraded device.
A JUNOS software package is a collection of files that make up a software component. You can download software packages either for upgrading JUNOS software or for recovering a primary compact flash.
All JUNOS software and JUNOS software with enhanced services is delivered in signed packages that contain digital signatures, Secure Hash Algorithm (SHA-1) checksums, and Message Digest 5 (MD5) checksums. For more information about signed software packages, see the JUNOS Software Installation and Upgrade Guide.
Download an upgrade software package, also known as an install package, to install new features and software fixes as they become available.
An upgrade software package name is in the following format: package-name-m.nZx.y-distribution.tgz.
A sample JUNOS software with enhanced services package name is junos-jsr-9.2R4.1-domestic.tgz.
Download a recovery software package, also known as an install media package, to recover a primary compact flash device.
A recovery software package name is in the following format: package-name-m.nZx-export-cfnnn.gz.
A sample JUNOS software with enhanced services recovery package name is junos-jsr-8.5R1-export-cf256.gz.
Before upgrading, be sure to back up the currently running and active file system and configuration so that you can recover to a known, stable environment in case the upgrade is unsuccessful. To back up the file system, you must have a removable compact flash disk installed on a J2320 or J2350 Services Router, or a USB drive installed on any J-series Services Router. The backup device must have a storage capacity of at least 256 MB.
To back up the file system to the removable compact flash disk, issue the following command:
To back up the file system to the removable USB drive, issue the following command:
Follow these steps to download software upgrades from Juniper Networks:
If your router has at least a 512-MB compact flash, you can use the J-Web interface to install software upgrades from a remote server using FTP or HTTP, or by uploading the software image to the router. This section contains the following topics:
If your router has at least a 512-MB compact flash, you can use the J-Web interface to install software packages on the router that are retrieved with FTP or HTTP from the location specified. Installing software upgrades using this method copies the software image to the router.
![]() |
Note: This procedure applies only to upgrading one release of JUNOS software with enhanced services to another. To upgrade from the JUNOS software to JUNOS software with enhanced services, see the JUNOS Software Migration Guide. |
To install software upgrades from a remote server:
Table 3: Install Package Summary
If your router has at least a 512-MB compact flash, you can use the J-Web interface to install software packages uploaded from your computer to the router.
![]() |
Note: This procedure applies only to upgrading one release of JUNOS software with enhanced services to another. To upgrade from the JUNOS software to JUNOS software with enhanced services, see the JUNOS Software Migration Guide. |
To install software upgrades by uploading files:
Table 4: Upload Package Summary
This section contains the following topics:
To install software upgrades by downloading files to the router:
Replace source with one of the following paths:
or
Replace destination with the path to the destination directory on the router. We recommend the /var/tmp directory.
Replace source with /pathname/package-name (for example, /var/tmp/junos-jsr-8.5R2.1.tar.gz).
By default, the request system software add command uses the validate option to validate the software package against the current configuration as a prerequisite to adding the software package. This validation ensures that the router can reboot successfully after the software package is installed. This is the default behavior when you are adding a software package.
The unlink option removes the package at the earliest opportunity so that the router has enough room to complete the installation.
(Optional) The no-copy option specifies that a software package is installed, but a copy of the package is not saved. Include this option if you do not have enough space on the compact flash to perform an upgrade that keeps a copy of the package on the router.
When the reboot is complete, the router displays the login prompt.
To install the software upgrades from a remote server:
Replace source with one of the following paths:
or
By default, the request system software add command uses the validate option to validate the software package against the current configuration as a prerequisite to adding the software package. This validation ensures that the router can reboot successfully after the software package is installed. This is the default behavior when you are adding a software package.
The unlink option removes the package at the earliest opportunity so that the router has enough room to complete the installation.
(Optional) The no-copy option specifies that a software package is installed, but a copy of the package is not saved. Include this option if you do not have enough space on the compact flash to perform an upgrade that keeps a copy of the package on the router.
When the reboot is complete, the router displays the login prompt.
This section contains the following topics:
![]() |
Note: Juniper Networks supports direct software downgrades for a maximum of three releases. |
You can downgrade the software from the J-Web interface. For the changes to take effect, you must reboot the router.
![]() |
Note: This procedure applies only to downgrading one release of JUNOS software with enhanced services to another. To downgrade JUNOS software with enhanced services to the JUNOS software, see the JUNOS Software Migration Guide. |
To downgrade software with the J-Web interface:
![]() |
Note: After you perform this operation, you cannot undo it. |
After you downgrade the software, the previous release is loaded, and you cannot reload the running version of software again. To downgrade to an earlier version of software, follow the procedure for upgrading, using the software image of JUNOS software with enhanced services labeled with the appropriate release.
You can revert to the previous version of software using the request system software rollback command in the CLI. For the changes to take effect, you must reboot the router. To downgrade to an earlier version of software, follow the procedure for upgrading, using the software image of JUNOS software with enhanced services labeled with the appropriate release.
![]() |
Note: This procedure applies only to downgrading one release of JUNOS software with enhanced services to another. To downgrade JUNOS software with enhanced services to the JUNOS software, see the JUNOS Software Migration Guide. |
To downgrade software with the CLI:
The previous software version is now ready to become active when you next reboot the router.
The router is now running the previous version of the software. To downgrade to an earlier version of software, follow the procedure for upgrading, using the software image of JUNOS software with enhanced services labeled with the appropriate release.