Downgrading Software on the J Series Services Routers

When you upgrade your software, the device creates a backup image of the software that was previously installed, as well as installs the requested software upgrade.

To downgrade the software, you can use the backup image of the software that was previously installed, which is saved on the device. If you revert to the previous image, this backup image is used, and the image of the running software is deleted. You can downgrade to only the software release that was installed on the device before the current release with this method.

Use the procedures as described in Installing Software Upgrades by Uploading Files on J Series Services Routers (J-Web Procedure) and Installing Software Upgrades on J Series Services Routers (CLI Procedure) and specify an older software image as the source image to be upgraded.

Downgrade your software with either the J-Web interface or the CLI.

Note: To downgrade Junos OS to Junos OS (legacy services), see the Junos OS Migration Guide.

This topic includes the following sections:

Downgrading the Software on the J Series Services Routers (J-Web Procedure)

You can downgrade the software from the J-Web interface. For your changes to take effect, you must reboot the device.

Note: This procedure applies only to downgrading one Junos OS Release to another or one Junos OS services release to another. To downgrade Junos OS services to the Junos OS, see the Junos OS Migration Guide.

To downgrade software with the J-Web interface:

  1. In the J-Web interface, select Maintain>Software>Downgrade. The image of the previous version (if any) is displayed on this page.

    Note: After you perform this operation, you cannot undo it.

  2. Select Downgrade to downgrade to the previous version of the software or Cancel to cancel the downgrade process.
  3. When the downgrade process is complete, for the new software to take effect, click Maintain>Reboot from the J-Web interface to reboot the device.

After you downgrade the software, the previous release is loaded, and you cannot reload the running version of software again. To downgrade to an earlier version of software, follow the procedure for upgrading, using the software image labeled with the appropriate release.

Downgrading the Software on the J Series Services Routers (CLI Procedure)

You can revert to the previous version of software using the request system software rollback command in the CLI. For the changes to take effect, you must reboot the device. To downgrade to an earlier version of software, follow the procedure for upgrading, using the software image labeled with the appropriate release.

Note: This procedure applies only to downgrading one Junos OS Release to another or one JUNO Software services release to another. To downgrade Junos OS services to the Junos OS, see the Junos OS Migration Guide.

To downgrade software with the CLI:

  1. Enter the request system software rollback command to return to the previous Junos OS version:
    user@host> request system software rollback

    The previous software version is now ready to become active when you next reboot the device.

  2. Reboot the device:
    user@host> request system reboot

The device is now running the previous version of the software. To downgrade to an earlier version of software, follow the procedure for upgrading, using the software image labeled with the appropriate release.