Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

request system software recovery-package

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
request system software recovery-package ( add package-name | delete package-name | extract (ex-xre200-package | ex-8200-package) package-name)
<backup>
<master>

Description

Add, remove, or extract a software recovery package for the EX8200 switch or the XRE200 External Routing Engine in an EX8200 Virtual Chassis.

Use this command to load a software recovery package onto the USB flash drive of the external Routing Engine and then extract it to the recovery partition of the external Routing Engine—so that it is available for use during a software recovery installation. During a software recovery installation procedure, you are prompted to select which software recovery package to use for the recovery.

Note:

This command is available only on the external Routing Engine.

If you do not have the desired software recovery package already installed in the recovery partition of the external Routing Engine, download the software package from the Internet.

Options

An EX8200 Virtual Chassis supports up to two external Routing Engines for the purpose of external Routing Engine redundancy. If you have configured two external Routing Engines, one functions as the primary external Routing Engine and the other functions as the backup. If you have not configured two external Routing Engines, the backup and master options are not relevant.

add package-name backup | master

Load the EX8200 software recovery package or the XRE200 software recovery package onto the USB flash drive of the external Routing Engine.

Note:

You can have up to five software recovery packages loaded in the USB flash drive.

  • package-name—path name of the software recovery package.

  • backup—(Optional) Load the specified package onto the USB flash drive of the backup external Routing Engine.

  • master—(Optional) Load the specified package onto the USB flash drive of the primary external Routing Engine.

delete package-name backup | master

Delete the EX8200 software recovery package or the XRE200 software recovery package from the USB drive of the external Routing Engine.

  • package-name—Path name of the software package.

  • backup—(Optional) Delete the specified package from the USB flash drive of the backup external Routing Engine.

  • master—(Optional) Delete the specified package from the USB flash drive of the primary external Routing Engine.

extract (ex-xre200-package | ex-8200-package) package-name backup | master

Extract either the XRE200 software recovery package or the EX8200 software recovery package from the USB flash drive of the external Routing Engine and put it into the recovery partition of the external Routing Engine.

  • package-name—Path name of the software recovery package.

  • backup—(Optional) Extract the specified package from the USB flash drive to the recovery partition of the backup external Routing Engine.

  • master—(Optional) Extract the specified package from the USB flash drive to the recovery partition of the primary external Routing Engine.

Required Privilege Level

maintenance

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

request system software recovery-package add

content_copy zoom_out_map
user@external-routing-engine> request system software recovery-package add /tftpboot/jinstall-ex-xre200-11.1I20110608_1356_pravasp-domestic.tgz

...-ex-xre200-11.1I20110608_1356_pravasp-domestic.tgz
Member 1 :
This feature is not supported on this device
Inorder to activate this feature, please reinstall the device from USB with a package not lesser than 11.4
Member 0 :
Validating package... Done.
Please wait while the package is being uploaded.
jinstall-ex-xre200-11.1I20110608_1356_pravasp-domestic.tgz was added successfully.

request system software recovery-package delete

content_copy zoom_out_map
user@external-routing-engine> request system software recovery-package delete jinstall-ex-xre200-11.1I20110608_1356_pravasp-domestic.tgz

Member 1 : jinstall-ex-xre200-11.1I20110608_1356_pravasp-domestic.tgz was removed successfully.
Member 0 : Requested package doesn't exist in the recovery media.

request system software recovery-package extract

content_copy zoom_out_map
user@external-routing-engine> request system software recovery-package extract ex-xre200-package jinstall-ex-xre200-11.1I20110608_1356_pravasp-domestic.tgz

...kage jinstall-ex-xre200-11.1I20110608_1356_pravasp-domestic.tgz
Package extracted to member1:/tftpboot/jinstall-ex-xre200-11.1I20110608_1356_pravasp-domestic.tgz

Release Information

Command introduced in Junos OS Release 12.2.

footer-navigation