Software image rollback example

Rollback requirement

As shown in Figure 2, the IRF fabric has two members. The feature1 feature has been upgraded from R0201 to R0202, but the software change has not been confirmed.

Roll back feature1 from R0202 to R0201.

Rollback procedure

# Display active software images.

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

# Display available rollback points.

<Sysname> display install rollback
  Install rollback information 1 on slot 1:
    Updating from flash:/feature1-r0201.bin
             to flash:/feature1-r0202.bin.
  Install rollback information 2 on slot 2:
    Updating from flash:/feature1-r0201.bin
             to flash:/feature1-r0202.bin.

# Roll back feature1 to R0201.

<Sysname> install rollback to original
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-r0201.bin

# Confirm the software change.

<Sysname> install commit