Software image rollback example

Rollback requirement

As shown in Figure 6, the IRF fabric has two members.

Roll back feature1 from R0202 to R0201 after upgrading it from R0201 to R0202. The two versions are compatible.

Figure 33: Network diagram

Rollback procedure

# Save the running configuration.

<Sysname> save

# Download the image file that contains the R0202 feature1 image from the TFTP server.

<Sysname> tftp 2.2.2.2 get feature1-r0202.bin
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  256k  100  256k    0     0   764k      0 --:--:-- --:--:-- --:--:--  810k

# Display active software images.

<Sysname> display install active
Active packages on slot 1:
  flash:/boot-r0201.bin
  flash:/system-r0201.bin
  flash:/feature1-r0201.bin
Active packages on slot 2:
  flash:/boot-r0201.bin
  flash:/system-r0201.bin
  flash:/feature1-r0201.bin

# Identify the ISSU method to be used for the upgrade and view the possible impact of the upgrade.

<Sysname> display version comp-matrix file feature flash:/feature1-r0202.bin 
Feature image: flash:/feature1-r0202.bin 
  Version: 
  V700R001B31D002 
  Version Compatibility List: 
  V700R001B31D001 
  V700R001B31D002 
  Version Dependency System List: 
  V700R001B31D001 
  V700R001B31D002 
                                                
  Slot                        Upgrade Way 
  1                           Service Upgrade
  2                           Service Upgrade

Influenced service according to following table on slot 1: 
  flash:/feature1-r0202.bin 
         feature1
Influenced service according to following table on slot 2: 
  flash:/feature1-r0202.bin 
         feature1

The output shows that an incremental upgrade is recommended, and the feature1 module will be rebooted during the upgrade process.

# Upgrade feature1 on the subordinate member.

<Sysname> issu load file feature flash:/feature1-r0202.bin slot 2
This operation will delete the rollback point information for the previous upgrade and maybe get unsaved configuration lost. Continue? [Y/N]:y
Copying file flash:/feature1-r0202.bin to slot2#flash:/feature1-r0202.bin......Done.
Upgrade summary according to following table: 

flash:/feature1-r0202.bin
  Running Version             New Version
  Alpha 0201                  Alpha 0202

  Slot                        Upgrade Way
  2                           Service Upgrade
Upgrading software images to compatible versions. Continue? [Y/N]:y
This operation might take several minutes, please wait...Done.

# Perform a master/subordinate switchover.

<Sysname> issu run switchover
Upgrade summary according to following table: 

flash:/feature1-r0202.bin
  Running Version             New Version
  Alpha 0201                  Alpha 0202

  Slot                        Switchover Way
  1                           Active standby process switchover
Upgrading software images to compatible versions. Continue? [Y/N]:y
This operation might take several minutes, please wait...Done.

# Display active software images.

<Sysname> display install active
Active packages on slot 1:
  flash:/boot-r0201.bin
  flash:/system-r0201.bin
  flash:/feature1-r0201.bin
Active packages on slot 2:
  flash:/boot-r0201.bin
  flash:/system-r0201.bin
  flash:/feature1-r0202.bin

# Roll back feature1 to R0201.

<Sysname> issu rollback
This command will quit the ISSU process and roll back to the previous version. Continue? [Y/N]:Y

# Verify that both members are running the old image.

<Sysname> display install active
Active packages on slot 1:
  flash:/boot-r0201.bin
  flash:/system-r0201.bin
  flash:/feature1-r0201.bin
Active packages on slot 2:
  flash:/boot-r0201.bin
  flash:/system-r0201.bin
  flash:/feature1-r0201.bin