request system software rollback
List of Syntax
SyntaxSyntax (EX Series Switches)
Syntax (TX Matrix Router)
Syntax (TX Matrix Plus Router)
Syntax (MX Series Router)
Syntax (Junos OS Evolved)
Syntax
Syntax (EX Series Switches)
Syntax (TX Matrix Router)
Syntax (TX Matrix Plus Router)
Syntax (MX Series Router)
Syntax (Junos OS Evolved)
Release Information
Command introduced before Junos OS Release 7.4.
sfc option introduced in Junos OS Release 9.6 for the TX Matrix Plus router.
Command behavior changed in Junos OS Release 12.1.
reboot option introduced in Junos OS Release 12.3.
device-alias, satellite, and upgrade-group options introduced in Junos OS Release 14.2R3 for Junos Fusion.
force option deprecated in Junos OS Release 15.1 for Junos OS with Upgraded FreeBSD.
To determine which platforms run Junos OS with Upgraded FreeBSD, see the table listing the platforms currently running Junos OS with upgraded FreeBSD in Release Information for Junos OS with Upgraded FreeBSD.
validate and no-validate options introduced for Junos OS Evolved Release 18.3R1.
package-name version option introduced for Junos OS Evolved Release 18.3R1.
with-old-snapshot-config option introduced for Junos OS Evolved Release 18.3R1.
Description
Use this command to revert to the last successfully
installed package before the request system software (add | delete) command. It uses the copy stored in the /var/sw/pkg
directory.
Additional Information
On Junos Fusion, the request system software rollback command can be used to roll back the version of satellite software associated with a satellite software upgrade group. Rolling back the version of satellite software associated with a satellite software upgrade group triggers a satellite software upgrade.
On M Series and T Series routers, if request system software add <jinstall> reboot was used for the previous installation, then request system software rollback has no effect. In this case, use jinstall to reinstall the required package.
On M Series and T Series routers, if request system software add <sdk1> was used for the previous installation, then request system software rollback removes the last installed SDK package (sdk1 in this example).
On SRX Series devices with dual root systems, when request system software rollback is run, the system switches to the alternate root. Each root can have a different version of Junos OS. Roll back takes each root back to the previously installed image.
On QFX3500 and QFX3600 devices in a mixed Virtual Chassis, when the request system software rollback command is issued, the system does not rollback to the image stored in the alternate partition.
On QFX5100 switches, the reboot option has been removed. To reboot the switch after a software rollback, issue the request system reboot command as a separate, secondary command.
On Junos OS Evolved, the reboot command is required in order to complete the rollback.
Options
Replace number with the following values depending on the LCC configuration:
0 through 3, when T640 routers are connected to a TX Matrix router in a routing matrix.
0 through 3, when T1600 routers are connected to a TX Matrix Plus router in a routing matrix.
0 through 7, when T1600 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.
0, 2, 4, or 6, when T4000 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.
Required Privilege Level
maintenance
Related Documentation
List of Sample Output
request system software rollbackOutput Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
request system software rollback
user@host> request system software rollback
Verified SHA1 checksum of ./jbase-7.2R1.7.tgz Verified SHA1 checksum of ./jdocs-7.2R1.7.tgz Verified SHA1 checksum of ./jroute-7.2R1.7.tgz Installing package './jbase-7.2R1.7.tgz' ... Available space: 35495 require: 7335 Installing package './jdocs-7.2R1.7.tgz' ... Available space: 35339 require: 3497 Installing package './jroute-7.2R1.7.tgz' ... Available space: 35238 require: 6976 NOTICE: uncommitted changes have been saved in /var/db/config/juniper.conf.pre-install Reloading /config/juniper.conf.gz ... Activating /config/juniper.conf.gz ... mgd: commit complete Restarting mgd ... Restarting aprobed ... Restarting apsd ... Restarting cosd ... Restarting fsad ... Restarting fud ... Restarting gcdrd ... Restarting ilmid ... Restarting irsd ... Restarting l2tpd ... Restarting mib2d ... Restarting nasd ... Restarting pppoed ... Restarting rdd ... Restarting rmopd ... Restarting rtspd ... Restarting sampled ... Restarting serviced ... Restarting snmpd ... Restarting spd ... Restarting vrrpd ... WARNING: cli has been replaced by an updated version: CLI release 7.2R1.7 built by builder on 2005-04-22 02:03:44 UTC Restart cli using the new version ? [yes,no] (yes) yes Restarting cli ... user@host