Monday 9 February 2015

Junos: Boot from USB and Recovering from a Failed Software Upgrade

If the Junos software loads but the CLI is not working for any reason, or if the switch has no software installed, you can use this recovery installation procedure to install the Junos software.

If there is already a Junos image on the system, you can either install the new Junos package in a separate partition and both Junos images will remain on the system, or you can wipe the disk clean before the new installation proceeds.

To perform a recovery installation: Power on the switch.
  1. The loader script starts. 
  2. After the Loading /boot/defaults/loader.conf displays, you are prompted with: Hit [Enter] to boot immediately, or space bar for command prompt. 
  3. Hit the space bar to enter the manual loader. The loader> prompt displays. (NOTE: There is a 1 second delay for hitting the space bar) 
  4. Enter the following command: 
                         install source
Where: source: Represents the name and location of the Junos software package either on a server on the network or as a file on an external USB drive:
  •  Network address of the server and the path on the server. 
Example: tftp://192.17.1.28/junos/jinstall-ex-3200-10.0S1.1-domestic-signed.tgz

  • The Junos package on a USB device is commonly stored in the root drive as the only file. Example: file:///jinstall-ex-3200-10.0S1.1-domestic-signed.tgz 
The installation proceeds as normal and ends with a login prompt.

No comments:

Post a Comment

loading...