request system software validate (Junos OS Evolved)
Syntax
request system software validate package-name <restart>
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 |
Name of the software bundle or package to test. |
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
user@host-re0> request system software validate /var/tmp/ptxinstall.iso Validating software image /var/tmp/ptxinstall.iso... Download and Validate in Progress re0: Starting validation : /var/tmp/ptxinstall.iso re0: Validating version : junos-evo-install-ptx-x86-64-20.4-202103131143.0-EVO re0: Running pre-checks for 'junos-evo-install-ptx-x86-64-20.4-202103131143.0-EVO' re0: Pre-checks pass successfully, copying files to software area re0: Running post install commands... re0: Post install sequence was successful. re0: Validating existing configs. See /var/log/validation_config.log for config validation logs. re0: Validation Passed re1: Running pre-checks for 'junos-evo-install-ptx-x86-64-20.4-202103131143.0-EVO' re1: Pre-checks pass successfully, copying files to software area re1: Running post install commands... re1: Post install sequence was successful. re0: Validation successful - cleaning up re0: Removing version junos-evo-install-ptx-x86-64-20.4-202103131143.0-EVO... re1: Removing version junos-evo-install-ptx-x86-64-20.4-202103131143.0-EVO... Image validation succeeded.
Release Information
restart
option added in Junos OS Evolved Release 18.3R1.