Software image upgrade to a compatible version
Upgrade requirements
As shown in Figure 4, the IRF fabric has two members.
Upgrade feature1 from R0201 to R0202. The two versions are compatible.
Figure 31: Network diagram
Upgrade procedure
# Save the running configuration.
<Sysname> save
# Download the image file that contains the 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 256 100 256 0 0 764 0 --:--:-- --:--:-- --:--:-- 810
# 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. 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 Upgrade summary according to following table: Copying file flash:/feature1-r0202.bin to slot2#flash:/feature1-r0202.bin......Done. 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.
# Upgrade the feature on the original master.
<Sysname> issu commit slot 1 Upgrade summary according to following table: flash:/feature1-r0202.bin Running Version New Version Alpha 0201 Alpha 0202 Slot Upgrade Way 1 Service Upgrade Upgrading software images to compatible versions. Continue? [Y/N]:y This operation might take several minutes, please wait...Done.
# Verify that both members are running the new image.
<Sysname> display install active Active packages on slot 1: flash:/boot-r0201.bin flash:/system-r0201.bin flash:/feature1-r0202.bin Active packages on slot 2: flash:/boot-r0201.bin flash:/system-r0201.bin flash:/feature1-r0202.bin