Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request system software validate-restart (Junos OS Evolved)

Syntax

Description

Verify the new package against the current configuration to ensure that it supports unified in-service software upgrade (unified ISSU). The command output also indicates which applications can be upgraded by using an application-level restart or an in-service kernel warm restart. Use this command before you run request system software add restart to detect any compatibility issues before actually upgrading the software.

Note:

You can currently use this command only on QFX5220-32CD switches.

Options

package-name

Specify the location from which to download the software package or bundle. You can specify the location as either the URL of a remote location or the pathname of a local package.

For example:

  • /var/tmp/package-name—For a software package or bundle in a local directory on the device.

  • protocol://hostname/pathname/package-name—For a software package or bundle downloaded and installed from a remote location. Replace protocol with one of the following:

    • ftp—File Transfer Protocol or tftp—Trivial File Transfer Protocol.

      Use ftp://hostname/pathname/package-name. To specify authentication credentials, use ftp://<username>:<password>@hostname/pathname/package-name. To have the system prompt you for the password, specify prompt in place of the password. If a password is required, and you do not specify the password or prompt, an error message is displayed.

    • http—Hypertext Transfer Protocol or https—Hypertext Transfer Protocol Secure.

      Use http://hostname/pathname/package-name or https://hostname/pathname/package-name. To specify authentication credentials, use http://<username>:<password>@hostname/pathname/package-name or https://<username>:<password>@hostname/pathname/package-name. If a password is required and you omit it, you are prompted for it.

    • scp—Secure copy (not available for limited editions).

      Use scp://hostname/pathname/package-name. To specify authentication credentials, use scp://<username>:<password>@hostname/pathname/package-name.

Use the file copy command to copy a software package or bundle from the remote location to the /var/tmp directory on the hard disk:

Then test the software package or bundle using the request system software validate-restart command:

Additional Information

Starting in Junos OS Evolved Release 23.4R1, the request system software validate-restart command output summarizes the method required to perform the indicated upgrade. For example:

  • Image validation succeeded. Application restart or Reboot is needed for this software image upgrade.

  • Image validation succeeded. In-service kernel warm restart or Reboot is needed for this software image upgrade.

  • Image validation succeeded. Reboot is needed for this software image upgrade.

Required Privilege Level

maintenance

Sample Output

request system software validate-restart

Release Information

Command introduced in Junos OS Evolved Release 22.1R1.