Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request system software validate (Junos OS Evolved)

Syntax

Description

Use this command to validate the candidate software package against the current configuration of the node. The configuration check does not change the current software or the file system.

You can use the request system software validate command before using the request system software add restart command to determine if you can upgrade to the new image with an application restart or with a reboot.

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 command:

restart

(Optional) Verify the new software configuration compatibility. When you issue the command with this option, the output lists those services that might be restarted.

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 validate /var/tmp/package-name

Release Information

restart option added in Junos OS Evolved Release 18.3R1.