Revert the Junos OS Software Image to the Previous Release
Learn how to revert the Junos OS software image on the SRX Series Firewalls.
Requirements
No special configuration beyond device initialization is required before this task.
Overview
When you upgrade your software, the device creates a backup image of the software that was previously installed in addition to installing the requested software upgrade package.
To downgrade the software, you can revert to the previous image by using the backup image. You can use this method to downgrade to only the software release that was installed on the device before the current release. To downgrade to an earlier release, follow the procedure for upgrading, using the software image labeled with the appropriate release. This example returns the software to the previous Junos OS release.
This procedure applies only to downgrading from one Junos OS software release to another or from one Junos OS services release to another.
Use Feature Explorer to confirm platform and release support for specific features.
Review the Platform-Specific Rollback Behavior section for notes related to your platform.
Revert Junos OS Software
Procedure
CLI Quick Configuration
To quickly set up this section, copy the following commands into a text file.
Remove any line breaks from the commands and update the details to match
your network. Paste the commands into the CLI at the [edit]
hierarchy level and enter commit to apply the changes.
From operational mode, enter:
user@host> request system software rollback request system reboot
In SRX chassis clustering, this will run the rollback for both nodes, unless you specify the node ID.
Step-By-Step Procedure
To downgrade Junos OS on SRX Series Firewalls:
In the J-Web UI, select Device Administration>Software Management>Downgrade. The image of the previous release (if any) appears on the UI.
Click Downgrade to downgrade to the previous version of the software or click Cancel to cancel the downgrade process.
Click Device Administration>Software Management>Reboot from the J-Web UI to reboot the device. To downgrade to an earlier release, follow the procedure used to upgrade the software image labeled with the appropriate release.
Click OK to check your configuration and save your changes as a candidate configuration. In Junos OS, a candidate configuration is a draft, that is, changes are saved but not yet applied to the running system.
Click Commit Options>Commit. Commit applies the candidate configuration to the device and activates all changes.
Step-by-Step Procedure Using CLI
The following example requires you to navigate various levels in the configuration hierarchy. For detailed instructions, see Using the CLI Editor in Configuration Mode.
To downgrade Junos OS on SRX Series Firewalls:
From operational mode, use this command to return to the previous Junos OS release.
user@host> request system software rollback
Reboot the device.
user@host> request system reboot
The device now runs the previous version of Junos OS.
Verify Installation of Junos OS Downgrade Package
Confirm that the configuration is working properly.
Purpose
Verify that the Junos OS downgrade is installed.
Action
From configuration mode, confirm software downgrade by entering the show
system command. If the output does not display the intended
configuration, repeat the configuration instructions in this example to correct
it. If you are done downgrading the software release, enter
commit from configuration mode.
correct it.
Meaning
The command show system helps verify whether the Junos OS
downgrade was intalled correctly.
Platform-Specific Rollback Behavior
Use Feature Explorer to confirm platform and release support for specific features.
Use the following table to review platform-specific rollback behavior for your platform:
|
Platform |
Difference |
|---|---|
|
SRX Series |
|