How to Upgrade Huawei Switch Version by Using BootLoad?

When Huawei switch cannot to be reboot, and need to be upgrade, then how to upgrade it via BootLoad?

If the BootLoad method is used, the services will be interrupted for a long time; therefore, you are advised to upgrade an operating switch by using the command line. If the switch cannot enter the command line mode, upgrade the switch by using the BootLoad.

Procedure for upgrading the version to V200R019C10 using BootLoad, and there take S6720-HI switch for example.

 

Uploading Switch System Software

Back up the old configuration file before the upgrade, which will be used in rollback. Otherwise, the rollback may fail.

Upgrading the System Software Through the Network Interface

Purpose

To upload the system software

Impact

Services are interrupted during the system software uploading and the switch reboot.

Time Required

If the system software is uploaded through the FTP or TFTP protocol, the system software uploading time is about one minute.

Prerequisites

The matched BootLoad is upgraded.

The flash memory has enough space to store the system software.

The FTP service is enabled on the PC.

Your PC has been connected to the switch through a network cable. Note: Generally, the network cable is connected to the switch’s management interface. If a switch does not have a management interface, connect the network cable to the first interface. If the first interface of a switch is a combo interface, ensure that the combo interface works in electrical mode.

Step 1     Enter the BootLoad menu.

When the switch is starting, the following information is displayed:

Press Ctrl+B or Ctrl+E to enter BootLoad menu : 2

Press Ctrl+B before the countdown timer expires, and then enter the password. The default password is [email protected]. Then the BootLoad menu is displayed. The following information is displayed:

      BootLoad  Menu
    1. Boot with default mode
    2. Enter serial submenu
    3. Enter startup submenu
    4. Enter ethernet submenu
    5. Enter filesystem submenu
    6. Enter password submenu
    7. Clear password for console user
    8. Reboot
    (Press Ctrl+E to enter diag menu)
    Enter your choice(1-8):

 Step 2     Select 4. Enter ethernet submenu. The following information is displayed:

       ETHERNET  SUBMENU                                                     
    1. Update BootLoad system                                                    
    2. Download file to Flash through ethernet interface                        
    3. Upload Configuration file to Ftp through ethernet interface              
    4. Modify ethernet interface boot parameter                                 
    5. Return to main menu                                                  
Enter your choice(1-5):

Step 3    Modify the parameters of the network interface.

Select 4. Modify ethernet interface boot parameter. The following information is displayed:

    BOOTLINE  SUBMENU
 
    1. Set TFTP protocol parameters
    2. Set FTP protocol parameters
    3. Return to ethernet menu

Select TFTP or FTP as required.

For example, after you select 2. Set FTP protocol parameters, the following information is displayed and cannot be deleted. New configuration automatically overwrites the old configuration.

If the TFTP protocol is used, you do not need to enter the user name and password.

'.' = clear field;  '-' = go to previous field;  ^D = quit
Load File name      :  S6720-HI-V200R019C10.cc
Switch IP address   : 192.168.1.15 192.168.0.1 
Server IP address   : 192.168.1.40 192.168.0.2
FTP User Name       : huawei user 
FTP User Password   :

The fields are described as follows:

l   Load File name: file name of the startup file to be loaded

l   Switch IP address: switch IP address (the mask is optional)

l   Server IP address: server IP address

l   FTP User Name: FTP user name

l   FTP User Password: FTP password

Step 4     Download the system software.

After network interface parameters are modified, select 3. Return to ethernet menu to return to the Ethernet submenu. Connect a cable to the management interface of the switch. If the switch does not have a management interface, connect a cable to port 1 on the front panel. Then select 2. Download file to Flash through ethernet interface to load the file. The following information is displayed:

Use ftp to download file :  S6720-HI-V200R019C10.cc , please wait for a moment......
Successfully download  S6720-HI-V200R019C10.cc

After the upgrade file is transferred, select 5. Return to main menu to return to the BootLoad menu.

Specifying the System Software to Be Loaded for Starting the Switch

Purpose

To specify the system software to be loaded for starting the switch

Impact

Services are interrupted when you are specifying the system software and the switch is restarting.

Prerequisites

The system software to be specified has been downloaded to the flash memory.

Specify the system software that is loaded when the switch starts.

 Step 1     Enter the BootLoad menu and select 3. Enter startup submenu to enter the startup submenu. The following information is displayed:

   Startup Configuration Submenu
 
    1. Display startup configuration
    2. Modify startup configuration
    3. Return to main menu
Enter your choice(1-3):

 Step 2     Select 2. Modify startup configuration to set the startup mode of the  S6720-HI, system software, configuration file, and patch file. The following information is displayed:

Note: startup file field can not be cleared
'.'=clear field; '^D'=quit; Enter=use current configuration
 
startup type(1: Flash)
  current: 1
  new    : 1
Flash startup file (can not be cleared)
  current:  S6720-HI-V200R019C00SPC500.cc
  new    :  S6720-HI-V200R019C10.cc
saved-configuration file
  current: vrpcfg.zip
  new    : vrpcfgnew.zip
patch package
  current:  S6720-HI-v200r011sph001.pat
  new    :  S6720-HI-V200R019C10SPH001.pat

Below table describes the displayed information.

Description of the displayed information

Field

Precautions

startup type

Startup mode:

1: The system software is loaded from the flash memory.

Flash startup file

System software loaded during the startup. If the system software is loaded from the server, you do not need to set the field.

saved-configuration file

Configuration file loaded during startup.

patch package

Patch file loaded during startup.

current

File that is currently loaded.

new

File to be loaded during the next startup.

 

    Startup Configuration Submenu
 
    1. Display startup configuration
    2. Modify startup configuration
    3. Return to main menu
 
Enter your choice(1-3):

Step 3     After entering the startup information, select 3. Return to main menu to return to the BootLoad menu.

       BootLoad  Menu
 
    1. Boot with default mode
    2. Enter serial submenu
    3. Enter startup submenu
    4. Enter ethernet submenu
    5. Enter filesystem submenu
    6. Enter password submenu
    7. Clear password for console user
    8. Reboot
    (Press Ctrl+E to enter diag menu)
 
Enter your choice(1-8):

—-End

Restarting the Switch

The switch is automatically upgraded by loading the latest system software during startup.

Select 8. Reboot to restart the switch. Then, the switch restores the baud rate on the console port to 9600 bit/s. The baud rate of the HyperTerminal also needs to be set to 9600 bit/s. The PC then can communicate with the switch.

Tags