Installing Software Upgrades on J Series Services Routers (CLI Procedure)
![]() | Note: This procedure applies only to upgrading one Junos OS (legacy services) release to another or upgrading one Junos OS Release to another. To upgrade Junos OS (legacy services) to Junos OS, see the Junos OS Migration Guide. |
To install software upgrades on a device with the CLI:
- Before installing the software upgrade, verify the available space on the CompactFlash card. For information about verifying available CompactFlash card space, see the Junos OS Release Notes.
- Download the software package as described in Downloading Software Upgrades for J Series Services Routers from Juniper Networks.
- If you are installing the software package from a local directory on the device, copy the software package to the device. We recommend that you copy it to the /var/tmp directory.
- To install the new package on the device, enter
the following command in operational mode in the CLI: user@host> request system software add unlink no-copy source
Replace source with one of the following paths:
- For a software package that is installed from a local directory on the device—/pathname/package-name (for example, /var/tmp/junos-jsr-8.5R1.1.domestic.tgz)
- For software packages that are downloaded and installed
from a remote location:
- ftp://hostname/pathname/package-name
or
- http://hostname/pathname/package-name
- ftp://hostname/pathname/package-name
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 device 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 device has enough storage capacity 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 CompactFlash card to perform an upgrade that keeps a copy of the package on the device.
- After the software package is installed, reboot
the device:user@host> request system reboot
When the reboot is complete, the device displays the login prompt.
Hide Navigation Pane
Show Navigation Pane
Download
SHA1
