[ Contents] [ Prev] [ Next] [ Report an Error]

Installing Software Upgrades by Downloading Files

To install software upgrades by downloading files to the router:

  1. Download the JUNOS software package to the router using the following command:
    user@host> file copy source destination

    Replace source with one of the following paths:

    Replace destination with the path to the destination directory on the router. We recommend the /var/tmp directory.

  2. Install the new package on the Services Router, entering the following command in operational mode in the CLI:
    user@host> request system software add validate unlink no-copy source

    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.

  3. After the software package is installed, reboot the router:
    user@host> request system reboot

    When the reboot is complete, the router displays the login prompt.


[ Contents] [ Prev] [ Next] [ Report an Error]