User Tools

Site Tools


network_stuff:juniper:qfx:fortmatreinstall

This is an old revision of the document!


Junos Recovery on QFX5100/EX4600

It’s possible that after a failed installation, the QFX5100 might not work properly and be left in a state that makes it inaccessible from remote and needs a new software installation by copying the software from the USB to the QFX5100 or by using the installation from USB.

There is another way to recover the device if you have console access and you are still able to reboot the device from CLI. From CLI, you will need to reboot completely the device, including the CentOS on top of which the Junos VM is running. This is done using “request system reboot hypervisor”. If the CLI is not working, then a power cycle will be needed.
A recovery image is created automatically on the switches. If a previously-running switch is powered on and unable to boot using a Junos OS image, you can boot the switch using the recovery Junos OS image by selecting one of the saved images.
Because the architecture of EX4600 is identical with the one of QFX5100, the same process applies to EX4600.
After the hypervisor reboot, monitor the console and you should see this screen:

Once you select “Junos Recovery” menu, you will be shown with the available images:

+------------------------------------------+

|         Junos Recovery                   |

+------------------------------------------+

 

Selected Junos instance 0

 

-------------------------------------------------

Current  : jinstall-qfabric-5-14.1X53-D16.1-domestic-201510161424.img

Previous : jinstall-qfx-5-14.1X53-D16.1-domestic-201510151740.img

Old      : jinstall-qfx-5-14.1X53-D16.2-domestic-201510151607.img

-------------------------------------------------

 

Select an image for recovery or cancel to continue:

 

Select a recovery image:

1) jinstall-qfabric-5-14.1X53-D16.1-domestic-201510161424.img

2) jinstall-qfx-5-14.1X53-D16.1-domestic-201510151740.img

3) jinstall-qfx-5-14.1X53-D16.2-domestic-201510151607.img

4) cancel

Pick an option[1-4]:

 

Once you choose your option, you will be asked for a confirmation immediately:

 

Do you really want to recover to

jinstall-qfx-5-14.1X53-D16.2-domestic-201510151607.img

Please confirm[y/n]:y

Recovering Junos image

Reverting to jinstall-qfx-5-14.1X53-D16.2-domestic-201510151607.img

This may take some time ...

Recovery of Junos image completed.

-------------------------------------------------

Modified Junos configuration:

-------------------------------------------------

Current  : jinstall-qfx-5-14.1X53-D16.2-domestic-201510151607.img

Previous : jinstall-qfx-5-14.1X53-D16.1-domestic-201510151740.img

Old      : jinstall-qfabric-5-14.1X53-D16.1-domestic-201510161424.img

-------------------------------------------------

 ## Then you will be asked if you want to format the data disk and also config disk(that is, the device will boot using the factory default configuration):

Do you want to format Junos data disk?[y/n]y

Formatting Junos data disk.

This may take some time ...

Formatting of Junos data disk completed.

Do you want to format Junos config disk?[y/n]y

Formatting Junos config disk.

This may take some time ...

Formatting of Junos config disk completed.

After this, the device will boot and the ZTP process will start.


If you are not able to recover the device with the process above, please


Please download rufus 2.8 which is the one that we know it works for this process.


https://rufus.akeo.ie/ »» 2.8

-Get the Junos code you would like is listed under the Install media codes :


Once you get it ,the image needs to be unzipped to make the bootable usb using the file in .img example : junos-install-media-usb-arm-32-15.1×53-D5x-limited.img

network_stuff/juniper/qfx/fortmatreinstall.1587466598.txt.gz · Last modified: (external edit)