Got it

Example for Upgrading a New Device

253 0 0 0 0

Preparations for the Upgrade

  1. Prepare the upgrade tools, including the operation terminal PC, Ethernet cable, and serial cable.

  2. Log in to to obtain the system software (.cc) required for the upgrade.

  3. Log in to to obtain the patch (.pat) required for the upgrade.

  4. Enable the FTP server function on the PC.

    imgDownload?uuid=d93b8a6776dd4041b14cf69 NOTE:

    Most laptops do not provide COM ports and can only be connected to devices through USB ports. In this case, you need to purchase a USB-serial cable, directly connect the COM female connector to the COM male connector of the console communication cable delivered with the device, and connect the USB port of the device to that of the PC. Then install the driver delivered with the USB-serial cable on the PC or download a USB-to-RS232 driver from the Internet.

Establishing the Upgrade Environment in FTP Mode

  1. Connect the switch to the PC using a console communication cable and Ethernet cable to establish the networking. As shown in Figure 3-1, connect the console communication cable to the console port of the switch and connect the Ethernet cable to any Ethernet port. (GigabitEthernet 0/0/1 is used as an example here.)
    Figure 3-1  Networking diagram for upgrading a new device 
  2. Start the terminal emulation software on your PC, create a connection, select the connected COM port, and set communication parameters. Communication parameter settings on the terminal emulation software must be the same as the default settings on the switch, which are: 9600 bit/s baud rate, 8 data bits, 1 stop bit, no parity check, and no flow control.

  3. Enter the user name and password. If you log in to a switch running a version earlier than V200R0010C00 for the first time, the system prompts you to set a login password. In V200R010C00 and later versions, the default user name for first login is admin and the default password is You must change the password after login.

    Login authentication                                                            
  4. Configure a management IP address for the switch to make the switch and PC reside on the same network segment, so that the switch and PC can ping each other.

    <HUAWEI> system-view [HUAWEI] interface vlanif 1[HUAWEI-vlanif1] ip address 24    // is the IP address configured for the VLANIF interface. You can configure the interface IP address based on the actual situation. Ensure that the interface IP address is on the same network segment as the PC.
    [HUAWEI-vlanif1] quit 

Version Upgrade Operations

  1. Configure the switch as an FTP client to transmit files between the FTP server and the PC.

    <HUAWEI> ftp    // is the IP address of the terminal PC.
    <HUAWEI> get    //Load the system software to the switch. is the file name of the system software.
    <HUAWEI> get S5720HI-V200R010SPH013.pat    //Load the patch file to the switch. S5720HI-V200R010SPH013.pat is the file name of the system patch.
  2. Check whether the system software and patch file are successfully loaded.

    <HUAWEI> dir flash:    //Check whether the size of the loaded file is the same as that of the file on the PC. If not, delete the file and load it again.
    Directory of flash:/                                                            
      Idx  Attr     Size(Byte)  Date        Time       FileName                     
        0  -rw-    106,395,444  Jul 22 2017 23:44:18
        1  -rw-          84210  Jun 28 2017 05:16:29   S5720HI-V200R010SPH013.pat
        2  drw-              -  Jan 01 2017 00:00:44   dhcp                         
        3  drw-              -  Dec 03 2013 09:22:27   user                         
        4  -rw-         13,432  Jan 01 2017 00:00:45   default_ca.cer            
  3. Specify the system software and patch for next startup of the switch.

    <HUAWEI> startup system-software    //Set the system software for next startup.
    <HUAWEI> startup patch S5720HI-V200R010SPH013.pat    //Set the patch for next startup.
  4. Check the configuration for next startup.

    <HUAWIE> display startup  
      Configured startup system software:        flash:/
      Startup system software:                   flash:/
      Next startup system software:              flash:/
      Startup saved-configuration file:          flash:/
      Next startup saved-configuration file:     flash:/
      Startup paf file:                          default
      Next startup paf file:                     default
      Startup license file:                      default
      Next startup license file:                 default
      Startup patch package:                     flash:/patch.pat
      Next startup patch package:                flash:/S5720HI-V200R010SPH013.pat
  5. Restart the switch.

    <HUAWEI> reboot fast                                                             Info: If want to reboot with saving diagnostic information, input 'N' and then e
    xecute 'reboot save diagnostic-information'.                                    
    System will reboot! Continue?[Y/N]: y                                         
imgDownload?uuid=d93b8a6776dd4041b14cf69 NOTE:

If the system software of the switch is damaged and you cannot restart the switch, you can use the BootLoad program to modify the system software, configuration files, and patch files, and configure the switch to start with the specified files. This implements the system software restoration and rollback of the switch. For detailed operations, see Configuration Guide - Basic Configuration Guide - BootLoad Menu Operation.

Verifying the Upgrade

After the switch is restarted, check whether the upgrade succeeds following Table 3-1.

Table 3-1  Upgrade verification table



Check Criteria


Check the system software.

Run the display startup command to check whether the running system software (displayed in the Configured startup system software field) is the target version.

Run the display patch-information command to check whether the patch package name and patch package version are of the patch package to be loaded and check whether the patch package state is Running.

Run the check version command to check whether the software to be upgraded is displayed in the output. If the command output is not empty, run the upgrade allcommand to upgrade the software.



Check the running status of the switch.

Run the display device command to check whether all components of the switch are present (displayed in the Online field), and the registration status (displayed in the Register field) and running status (displayed in the Status field) of the components.

See more please click

  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.