Image Upgrade Tweaks and Options

The traditional request system software add <image-name> command supports options for additional functionality through the upgrade process. The help key (?) lists the options:

lab@r5-re0> request system software add jbundle-8.1R1.5-domestic.tgz?
Possible completions:
  <[Enter]>            Execute this command
  delay-restart        Don't restart processes
  force                Force addition of package (ignore warnings)
  no-copy              Don't save copies of package files
  no-validate          Don't check compatibility with current configuration
  reboot               Reboot system after adding package
  validate             Check compatibility with current configuration
  |                    Pipe through a command
delay-restart

Installs the software package but does not restart any software process. This option does not eliminate the need to restart for the upgrade to take effect; it just stops the restart from happening automatically.

force

Forces the image to be loaded regardless of any system warnings that are generated. This is a dangerous option and can result in a corrupt JUNOS image being loaded as a boot image, effectively making the router inoperable.

no-copy

Installs the new image but does not save copies of package files.

no-validate

Installs the new image but suppresses the warning messages that would be generated by the validate function.

validate

Confirms that all configuration elements and hardware components are compatible with the image being loaded.

reboot

Automatically reboots the system after finishing the image upgrade.

unlink

Removes the package ...

Get JUNOS High Availability now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.