Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request system software delete (Junos OS Evolved)

Syntax

Description

Use this command to remove a software package from the device, as long as it is not the software version currently running on the system. The force option is required if the requested version is the rollback version.

CAUTION:

Before removing a software package, make sure that you have already placed the new software package that you intend to load onto the device, in the /var/tmp directory.

Options

package-name

Name of the Junos OS Evolved package running on the device. Type the package-name explicitly and do not use the tab key to auto-complete the command. You can see this package name by issuing the show system software list operational mode command.

all-third-party-packages

(Optional) Delete all third-party software on the device.

archived

(Optional) Delete all archived software versions except the current and the rollback versions. When there is a pending next-boot software version, you must reboot the system to finish installing that version, or delete just that version, before you can delete any versions with this option. If the other RE in the system has more images than the one from which you are issuing the command, the older versions are deleted from the current RE and the current and the rollback versions are synchronized to the other RE.

force

(Optional) Ignore warnings and force removal of the software. The force option is required if the requested version is the rollback version.

Additional Information

Before you upgrade the software on the router or replace one of the Routing Engines, when you have a known stable system, issue the request system snapshot command to back up the software, including the configuration, to the /soft directory. After you have upgraded the software or have replaced one of the Routing Engines, and are satisfied that the software packages are successfully installed and running, issue the request system snapshot command again to back up the software to the /soft directory.

After you run the request system snapshot command, you cannot return to the previous version of the software because the running and backup copies of the software are identical.

Required Privilege Level

maintenance

Output Fields

When you enter this command, the system provides feedback on the status of your request.

Sample Output

request system software delete (Junos OS Evolved)

request system software delete archived

request system software delete archived (with Next-boot Software Version in System)

request system software delete archived (with Only a Current and Rollback Version Available)

Release Information

all-third-party-packages option introduced in Junos OS Evolved Release 19.4R2.

archived option added in Junos OS Evolved Release 20.4R2.