Performing a Recovery Installation
If Junos OS on your device is damaged in some way that prevents the software from
loading correctly, you may need to perform a recovery installation using an emergency
boot device (for example, a USB flash drive) to restore the default factory installation.
Once you have recovered the software, you need to restore the device configuration. You
can either create a new configuration as you did when the device was shipped from the
factory, or if you saved the previous configuration, you can simply restore that file to the
device.
Starting in Junos OS Release 14.1, you can also use a system snapshot as a bootup option
when your Junos OS or configuration is damaged. The system snapshot feature takes a
“snapshot” of the files currently used to run the device—the complete contents of the
/config
directories, which include the running Juniper Networks Junos OS, the active
configuration, and the rescue configuration, as well as the host OS—and copies all of
these files into an external USB flash drive. See
Understanding System Snapshot
.
NOTE:
System snapshot is not supported on QFX10002 switches.
If at all possible, you should try to perform the following steps before you perform the
recovery installation:
1.
Ensure that you have an emergency boot device to use during the installation. See
“Creating an Emergency Boot Device” on page 139
for information on how to create an
emergency boot device.
2.
Copy the existing configuration in the file
/config/juniper.conf.gz
from the device to a
remote system, such as a server, or to an emergency boot device. For extra safety,
you can also copy the backup configurations (the files named
/config/juniper.conf.
n
,
where
n
is a number from 0 through 9) to a remote system or to an emergency boot
device.
WARNING:
The recovery installation process completely overwrites the
entire contents of the internal flash storage.
3.
Copy any other stored files to a remote system as desired.
To reinstall Junos OS:
1.
Insert the emergency boot device into the QFX Series device.
2.
Reboot the QFX Series device.
NOTE:
Do not power off the device if it is already on.
[edit system]
user@device>
request system reboot
141
Copyright © 2017, Juniper Networks, Inc.
Chapter 18: Restoring Junos OS
Summary of Contents for QFX5110
Page 1: ...QFX5110 Switch Hardware Guide Modified 2017 08 28 Copyright 2017 Juniper Networks Inc ...
Page 8: ...Copyright 2017 Juniper Networks Inc viii QFX5110 Switch Hardware Guide ...
Page 12: ...Copyright 2017 Juniper Networks Inc xii QFX5110 Switch Hardware Guide ...
Page 20: ...Copyright 2017 Juniper Networks Inc xx QFX5110 Switch Hardware Guide ...
Page 22: ...Copyright 2017 Juniper Networks Inc 2 QFX5110 Switch Hardware Guide ...
Page 44: ...Copyright 2017 Juniper Networks Inc 24 QFX5110 Switch Hardware Guide ...
Page 52: ...Copyright 2017 Juniper Networks Inc 32 QFX5110 Switch Hardware Guide ...
Page 60: ...Copyright 2017 Juniper Networks Inc 40 QFX5110 Switch Hardware Guide ...
Page 62: ...Copyright 2017 Juniper Networks Inc 42 QFX5110 Switch Hardware Guide ...
Page 76: ...Copyright 2017 Juniper Networks Inc 56 QFX5110 Switch Hardware Guide ...
Page 80: ...Copyright 2017 Juniper Networks Inc 60 QFX5110 Switch Hardware Guide ...
Page 92: ...Copyright 2017 Juniper Networks Inc 72 QFX5110 Switch Hardware Guide ...
Page 94: ...Copyright 2017 Juniper Networks Inc 74 QFX5110 Switch Hardware Guide ...
Page 112: ...Copyright 2017 Juniper Networks Inc 92 QFX5110 Switch Hardware Guide ...
Page 122: ...Copyright 2017 Juniper Networks Inc 102 QFX5110 Switch Hardware Guide ...
Page 124: ...Copyright 2017 Juniper Networks Inc 104 QFX5110 Switch Hardware Guide ...
Page 128: ...Copyright 2017 Juniper Networks Inc 108 QFX5110 Switch Hardware Guide ...
Page 148: ...Copyright 2017 Juniper Networks Inc 128 QFX5110 Switch Hardware Guide ...
Page 156: ...Copyright 2017 Juniper Networks Inc 136 QFX5110 Switch Hardware Guide ...
Page 158: ...Copyright 2017 Juniper Networks Inc 138 QFX5110 Switch Hardware Guide ...
Page 164: ...Copyright 2017 Juniper Networks Inc 144 QFX5110 Switch Hardware Guide ...
Page 172: ...Copyright 2017 Juniper Networks Inc 152 QFX5110 Switch Hardware Guide ...
Page 178: ...Copyright 2017 Juniper Networks Inc 158 QFX5110 Switch Hardware Guide ...
Page 190: ...Copyright 2017 Juniper Networks Inc 170 QFX5110 Switch Hardware Guide ...
Page 216: ...Copyright 2017 Juniper Networks Inc 196 QFX5110 Switch Hardware Guide ...
Page 222: ...Copyright 2017 Juniper Networks Inc 202 QFX5110 Switch Hardware Guide ...