Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request system software rollback (Junos OS)

Syntax

Syntax (EX Series Switches)

Syntax (MX Series Router)

Syntax (SRX Series Firewalls)

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 SRX Series Firewalls 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.

  • For SRX300, SRX320, SRX340, SRX345, and SRX380 firewalls, you cannot use the request system rollback command to roll back from Junos OS Release 24.4R1 to either Junos OS Release 23.4R2-S3 or to Release 24.2R2. Instead, you must treat the rollback as a downgrade, and use the request system software add package-name no-validate reboot command instead.

  • 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.

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.

device-alias alias-name

(Junos Fusion only) (Optional) Rollback the satellite software package onto the specified satellite device using the satellite devices FPC slot identifier.

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.

node-id (SRX Series Firewalls only) Identification number of the chassis cluster node. It can be 0 or 1.
none

Revert to the last known good state before the most recent request system software (add | delete) command.

reboot

(Optional) The system reboots automatically to complete the rollback.

satellite slot-id

(Junos Fusion only) (Optional) Roll back the satellite software package onto the specified satellite device using the satellite devices FPC slot identifier.

upgrade-group [ all |upgrade-group-name]

(Junos Fusion only) Roll back the satellite software image associated with the specified satellite software upgrade group, or for all satellite software upgrade groups in the Junos Fusion when all is entered.

Required Privilege Level

maintenance

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

request system software rollback

Release Information

Command introduced before Junos OS Release 7.4.

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 find which platforms in which releases use Junos OS with upgraded FreeBSD, see Feature Explorer, enter freebsd, and select Junos kernel upgrade to FreeBSD 10+.