Example of software upgrade through a warm reboot

Network requirements

Use the file feature.bin to upgrade the feature image file for the device.

Figure 30: Network diagram

Configuration procedure

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

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

# Use TFTP to download the image file feature.bin from the TFTP server to the root directory of the flash memory.

<Sysname> tftp 2.2.2.2 get feature.bin

# Specify feature.bin as a main startup image file and perform a warm reboot.

<Sysname> warm-reboot file feature flash:/feature.bin
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:

flash:/feature.bin
  Running Version             New Version
  Alpha 7122                  Alpha 7123
  
  Slot                        Upgrade Way 
  1                           Warm Reboot
Upgrading software images to compatible versions. Continue? [Y/N]:y

Verifying the configuration

# Verify that the device is running the correct software.

<Sysname> display version