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

Installing Software Upgrades with the CLI

To install software upgrades on a router with the CLI:

  1. If your router has 256 MB of flash memory and 256 MB of RAM, see the special instructions in the J-series Services Router Release Notes.
  2. Download the software package as described in Downloading Software Upgrades from Juniper Networks.
  3. If you are installing the software package from a local directory on the router, copy the JUNOS software package to the router. We recommend that you copy it to the /var/tmp directory.
  4. Install the new package on the Services Router, entering the following command in operational mode in the CLI:

    Replace source with one of the following paths:

    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.

  5. After the software package is installed, reboot the router:

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


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