Technical Documentation

Installing Software Upgrades from the Network

To install software upgrades by downloading files to the router:

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

    Replace source with one of the following paths:

    • ftp://hostname/pathname/package-name
    • http://hostname/pathname/package-name

    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 LN1000 router, entering the following command in operational mode in the CLI:
    root@host>request system software add unlink no-copy source

    Replace source with /pathname/package-name (for example, /var/tmp/junos-ln-9.6R2.1.tar.gz).

    The unlink option removes the package at the earliest opportunity so that the router has enough capacity to complete the installation.

    The no-copy option specifies that a software package is installed, but a copy of the package is not saved.

  3. Clean up the system:
    root@host>request system storage cleanup

    You are prompted to confirm deletion of a list of files:

  4. Upgrade the IPMC firmware:
    root@host> request ipmi firmware upgrade hpm1fw.img

    The following messages are displayed:

    Services will be affected during upgrade.
     Continue? [yes,no] (no) 
  5. Enter yes to continue with the upgrade.

    The following message is displayed:

     Firmware is /usr/share/firmware/filename.img
  6. Access the log file in the /var/log/impd directoryto check the status of the upgrade. A log file similar to the following output is displayed:
    Aug 24 11:51:55 serial_wait_for_data: poll() timeout
    Aug 24 11:51:55 serial_wait_for_data: poll() timeout
    Aug 24 11:51:57 Restarting serial interface
    Aug 24 11:51:57     Upgrading H8S-ATCA F/W
    Aug 24 11:51:57     with Version: Major: 1
    Aug 24 11:51:57                   Minor: 10
    Aug 24 11:51:57                   Aux  : 000 000 000 000
    Aug 24 11:52:38
    Aug 24 11:52:38  Firmware upgrade procedure successful
    
  7. Exit the shell and restart the IPMI process:
    root@host% exitroot@host%restart ipmi

    The following message is displayed:

    Intelligent platform management interface daemon started, pid 2538
  8. Activate the firmware:
    root@host> request ipmi firmware activate

    This causes the router to reset. The following messages are displayed:

    Services will be affected during activation.
     Continue? [yes,no] (no) 
  9. Enter yes to continue.

    The system automatically reboots.

  10. To upgrade the bootstrap firmware:
    root@host> start shellroot@host% sh /cf/etc/firmware.sh

    The firmware upgrade process takes approximately 20 to 30 seconds to complete. The following messages are displayed:

    Flashing Primary Bootstrap: /cf/usr/share/firmware/boot_ln.bin: 37316 bytes
    Flashing Secondary Bootstrap 0: /cf/usr/share/firmware/loader_ln.bin: 247300 bytes
    Flashing Secondary Bootstrap 1: /cf/usr/share/firmware/loader_ln.bin: 247300 bytes
    Done
    
  11. Exit the shell and reboot the router.
    root@host%exitroot@host> request system rebootReboot the system ? [yes,no] (no) yes

    Caution: During the upgrade process, the keyboard is locked to prevent interruption of the firmware upgrade process. If the system loses power during the upgrade, the upgrade will fail and the router may become unresponsive. Contact Juniper Networks for assistance.

  12. When the router reboots, log in to the router and verify the correct operation of the new software image. You must do this before you can change NVMRO back to the locked (read-only) mode.

Published: 2010-02-18