Related Documentation
- EX, J, M, MX, PTX, QFX, T Series
- request system software abort
- request system configuration rescue delete
- request system configuration rescue save
- EX, J, M, MX, QFX, SRX, T Series
- request system software add
- EX, J, M, MX, PTX, QFX, SRX, T Series
- request system software delete
- J, M, MX, PTX, QFX, SRX, T Series
- request system software validate
- Additional Information
- Routing Matrix with a TX Matrix Plus Router Solutions Page
request system software rollback
Syntax
Syntax (EX Series Switches)
Syntax (TX Matrix Router)
Syntax (TX Matrix Plus Router)
Syntax (MX Series Router)
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Option sfc introduced for the TX Matrix Plus router in Junos OS Release 9.6.
Command introduced in Junos OS Release 11.1 for the QFX Series.
Command behavior changed in Junos OS Release 12.1.
Option reboot introduced in Junos OS Release 12.3.
Description
For all versions of Junos OS up to and including Junos OS 11.4, revert to the software that was loaded at the last successful request system software add command.
As of Junos OS 12.1 and greater, revert to the last known good state before the most recent request system software (add | delete) command. For example, using rollback in Junos OS 12.1 after using request system software add restores the system to a known good state prior to using the add command. Similarly, using rollback in Junos OS 12.1 after using request system software delete restores the system to a known good state prior to using the delete command.
A software rollback fails if any required package (or a jbundle package containing the required package) cannot be found in /var/sw/pkg.
Additional Information
- 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 o 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. Rollback takes each root back to the previously installed image.
Options
all-members | — | (EX4200 switches and MX Series routers only) (Optional) Attempt to roll back to the previous set of packages on all members of the Virtual Chassis configuration. |
lcc number | — | (TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, attempt to roll back to the previous set of packages on a T640 router connected to the TX Matrix router. On a TX Matrix Plus router, attempt to roll back to the previous set of packages on a connected router connected to the TX Matrix Plus router. Replace number with the following values depending on the LCC configuration:
|
local | — | (EX4200 switches and MX Series routers only) (Optional) Attempt to roll back to the previous set of packages on the local Virtual Chassis member. |
member member-id | — | (EX4200 switches and MX Series routers only) (Optional) Attempt to roll back to the previous set of packages on the specified member of the Virtual Chassis configuration. For EX4200 switches, replace member-id with a value from 0 through 9. For an MX Series Virtual Chassis, replace member-id with a value of 0 or 1. |
none | — | For all versions of Junos OS up to and including Junos OS 11.4, revert to the set of software as of the last successful request system software add. As of Junos OS 12.1 and greater, revert to the last known good state before the most recent request system software (add | delete) command. |
reboot | — | As of Junos OS 12.3 and greater, automatically reboot upon completing the request system software rollback command. |
scc | — | (TX Matrix routers only) (Optional) Attempt to roll back to the previous set of packages on the TX Matrix router (or switch-card chassis). |
sfc number | — | (TX Matrix Plus routers only) (Optional) Attempt to roll back to the previous set of packages on the TX Matrix Plus router. Replace number with 0. |
Required Privilege Level
maintenance
Related Documentation
- EX, J, M, MX, PTX, QFX, T Series
- request system software abort
- request system configuration rescue delete
- request system configuration rescue save
- EX, J, M, MX, QFX, SRX, T Series
- request system software add
- EX, J, M, MX, PTX, QFX, SRX, T Series
- request system software delete
- J, M, MX, PTX, QFX, SRX, T Series
- request system software validate
- Additional Information
- Routing Matrix with a TX Matrix Plus Router Solutions Page
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
Published: 2013-08-15
Related Documentation
- EX, J, M, MX, PTX, QFX, T Series
- request system software abort
- request system configuration rescue delete
- request system configuration rescue save
- EX, J, M, MX, QFX, SRX, T Series
- request system software add
- EX, J, M, MX, PTX, QFX, SRX, T Series
- request system software delete
- J, M, MX, PTX, QFX, SRX, T Series
- request system software validate
- Additional Information
- Routing Matrix with a TX Matrix Plus Router Solutions Page