OBJECTIVE
This document is intended to provide information about the update process for Huawei S5700 switches.
PREPARATIONS FOR UPDATE
Obtaining update reference documents
Step 1 Log in to http://support.huawei.com/enterprise.
Step 2 Search for S5700 for the latest product documents and release notes.

In the example suggested by the document, we will use the version recommended by the manufacturer S5720SI-V200R011C10SPC600.cc, that is, the stable version for the S5720-52X-PWR-SI-AC equipment.
GETTING TOOLS
Prepare the following tools before upgrading:
• Operation terminal (desktop or laptop);
• Network cable and serial cable;
• FTP server software, TFTP software or SFTP server software for updating.
Obtain and install before upgrading.
CHECKING THE CURRENT SYSTEM SOFTWARE VERSION
Run the “display version” command to view the system software version.

CHECKING THE SWITCH EXECUTION STATUS
Run the “display device” command to check the switch's execution status. If the [Status] value is [Normal], the switch can be updated.

CONFIGURING AN ENVIRONMENT FOR UPDATE
Update via TFTP or FTP
In the BootLoad menu or in the command line display, you can use TFTP or FTP to download the system software and configure it as the next system boot software. Then, restart the switch to complete the update. The Figure shows the network diagram of the system update via FTP or TFTP.
The general requirements for setting up an environment to update the system via TFTP or FTP are as follows:
• You can log in to the switch from a PC via the serial interface or Telnet. The server and the switch can communicate.
• The files for the update are stored on the server.

Figure: Network diagram of the system update via TFTP or FTP
METHOD (CLI) USE THE PC AS THE TFTP CLIENT
Obtain and install the software before upgrading. In the example below we will use TFTPD32:

Step 1 - Configure the TFTP server.
Run the TFTP server program on a PC and configure the address:
• Click Browse to define the directory to store the new system software.
• The TFTP server address on the server interface is 192.168.1.1 defined manually.
Back up the old configuration file before the update, which will be used in the rollback. Otherwise, the rollback may fail.
Step 2 - Back up the system software, configuration file and patch file to the TFTP server.
Before the backup, check the size of the files. After the backup, compare the size of the original file with the size of the backup file. Make sure the two files are the same size.

Step 3 - Enable the TFTP server role.
To enter privilege mode, type the command “system-view” then type the command “sftp server enable”.

Step 4 - Backup the current configuration
Run the following commands “tftp 192.168.1.1 put vrpcfg.zip” and “tftp 192.168.1.1 put s5720si-v200r019c00spc200.cc” on the switch to back up the data. The backup system software is s5720si-v200r019c00spc200.cc and the backup configuration file is vrpcfg-bak.zip.


It is important to check if the files are available in the targeted repository on the PC.
Step 5 - Obtain the target version system software on the server.
In the example we will use the version recommended by the manufacturer S5720SI-V200R011C10SPC600.cc
Run the following commands “tftp 192.168.1.1 get S5720SI-V200R011C10SPC600.cc” to transfer the file from the TFTP server into the device, in this case the S5720.

If the message “Downloading the file successfully” is displayed, the system software has been downloaded.
Step 6 - Verification of the software that was sent inside the equipment

Check that the file S5720SI-V200R011C10SPC600.cc is already available inside the equipment.
Step 7 - Specify the system software that will be loaded at the next “boot” when the equipment is started.
Run the following command “startup system-software S5720si-V200r011c10spcC600.cc”

If the following information is displayed when you run the “startup system-software” command, type Y to update BootROM. When the update is successful, the system proceeds to the next step. If the following information is not displayed, proceed to the next step.
Step 8 - Restart the equipment
Run the command "reboot"
When asked if you want to save the configuration, type y or n. After configuration is complete, type Y to restart the system.

Step 9 - Verify the update
Run the command “display version” and check the update status:

Note that the current version is V200R011C10SPC600, ie update completed successfully. 

