Example of software upgrade through a reboot

Network requirements

Use the file startup-a2105.ipe to upgrade software images for the IRF fabric in Figure 29.

Figure 29: Network diagram

Configuration procedure

# Configure IP addresses and routes to make sure the device and the TFTP server can reach each other. (Details not shown.)

# Complete TFTP settings on both the device and the TFTP server. (Details not shown.)

# Display information about the current software images.

<Sysname> display version

# Use TFTP to download the image file startup-a2105.ipe from the TFTP server to the root directory of the flash on the master device.

<Sysname> tftp 2.2.2.2 get startup-a2105.ipe

# Back up the image file to startup-a2105-backup.ipe. Skip this step if the flash does not have sufficient space.

<Sysname> copy startup-a2105.ipe startup-a2105_backup.ipe

# Specify startup-a2105.ipe as the main startup image file for all IRF member devices.

<Sysname> boot-loader file flash:/startup-a2105.ipe slot 1 main
<Sysname> boot-loader file flash:/startup-a2105.ipe slot 2 main

# Specify startup-a2105-backup.ipe as the backup startup image file for all IRF member devices.

<Sysname> boot-loader file flash:/startup-a2105-backup.ipe slot 1 backup
<Sysname> boot-loader file flash:/startup-a2105-backup.ipe slot 2 backup

# Verify the startup image settings.

<Sysname> display boot-loader

# Reboot the device to complete the upgrade.

<Sysname> reboot

Verifying the configuration

# Verify that the device is running the correct software.

<Sysname> display version