0% found this document useful (0 votes)
525 views144 pages

S200, S300, S500, S1700, S2700, S5700, and S6700 V200R022C00 Upgrade Guide

This document provides instructions for upgrading S200, S300, S500, S1700, S2700, S5700, and S6700 Series Ethernet Switches from version V200R021C10SPC600 to version V200R022C00. It describes the upgrade process, preparations needed before upgrading such as obtaining software and licenses, and potential impacts of the upgrade. Precautions are provided to ensure a successful upgrade.

Uploaded by

luis ordoñez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
525 views144 pages

S200, S300, S500, S1700, S2700, S5700, and S6700 V200R022C00 Upgrade Guide

This document provides instructions for upgrading S200, S300, S500, S1700, S2700, S5700, and S6700 Series Ethernet Switches from version V200R021C10SPC600 to version V200R022C00. It describes the upgrade process, preparations needed before upgrading such as obtaining software and licenses, and potential impacts of the upgrade. Precautions are provided to ensure a successful upgrade.

Uploaded by

luis ordoñez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 144

S200, S300, S500, S1700, S2700, S5700, and S6700 Series

Ethernet Switches
V200R022C00
Upgrade Guide

Issue 01
Date 2022-10-26

HUAWEI TECHNOLOGIES CO., LTD.


Copyright © Huawei Technologies Co., Ltd. 2023. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior
written consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions

and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.

Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees
or representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.

Huawei Technologies Co., Ltd.


Address: Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China

Website: https://e.huawei.com

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. i


Security Declaration
Product Life Cycle
Huawei's regulations on product life cycle are subject to the Product End of Life Policy. For details about
the policy, see the following website:
https://support.huawei.com/ecolumnsweb/en/warranty-policy

Vulnerability
Huawei's regulations on product vulnerability management are subject to "Vul. Response Process". For
details about the policy, see the following website:
https://www.huawei.com/en/psirt/vul-response-process
For enterprise customers who need to obtain vulnerability information, visit:
https://securitybulletin.huawei.com/enterprise/en/security-advisory

Preconfigured Digital Certificate


Huawei has released the Huawei Preset Digital Certificate Disclaimer for the preconfigured digital
certificates delivered with devices. For details about the disclaimer, visit the following website:
https://support.huawei.com/enterprise/en/bulletins-service/ENEWS2000015789

Life Cycle of Product Documentation


Huawei released the Huawei Product Documentation Lifecycle Policy for after-sales customer
documentation. For details about this policy, see the website of Huawei's official website:
https://support.huawei.com/enterprise/en/bulletins-website/ENEWS2000017761

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. ii


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide About This Document

1 About This Document

Overview
This document describes the upgrade and rollback procedure for S200, S300, S500, S1700,
S2700, S5700, and S6700 Series Ethernet Switches V200R022C00 and provides solutions to
common problems.

Intended Audience
This document is intended for operators that will perform an upgrade. Maintenance personnel
must have the following qualifications:
 Be familiar with the existing networking and version information of network elements
(NEs).
 Have device maintenance experience and master device operation and maintenance
(O&M) methods.

Involved Products and Versions


This document applies to all versions of V200R022C00, for example, V200R022C00SPC500
and V200R022C00SPC600.
This document uses V200R021C10SPC600 as the basic version and V200R022C00 as the
target version.

Symbol Conventions
The symbols that may be found in this document are defined as follows.

Symbol Description

Indicates a hazard with a high level of risk which, if not


avoided, will result in death or serious injury.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. iii


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide About This Document

Symbol Description

Indicates a hazard with a medium level of risk which, if


not avoided, could result in death or serious injury.
Indicates a hazard with a low level of risk which, if not
avoided, could result in minor or moderate injury.
Indicates a potentially hazardous situation which, if not
avoided, could result in equipment damage, data loss,
performance deterioration, or unanticipated results.
NOTICE is used to address practices not related to
personal injury.
Supplements the important information in the main text.
NOTE is used to address information not related to
personal injury, equipment damage, and environment
deterioration.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. iv


Contents

Contents

About This Document...................................................................................................................iii


1 Before You Start.............................................................................................................................1
1.1 Version Requirements Before Upgrade..........................................................................................................................1
1.2 Impact of the Upgrade....................................................................................................................................................5
1.2.1 Impact on the System During an Upgrade..................................................................................................................5
1.2.2 Impact on the System After Installation......................................................................................................................5
1.3 Precautions.....................................................................................................................................................................6

2 Upgrade Process...........................................................................................................................23
3 Preparations for Upgrade...........................................................................................................24
3.1 Preparation Checklist....................................................................................................................................................24
3.2 Obtaining Upgrade Reference Documents...................................................................................................................25
3.3 Obtaining Tools............................................................................................................................................................26
3.4 Obtaining Required Software for the Upgrade.............................................................................................................26
3.5 Preparing the Latest Patch............................................................................................................................................28
3.6 Verifying Software Integrity.........................................................................................................................................28
3.7 (Optional) Obtaining the License File for the Target Version......................................................................................29
3.7.1 Obtaining the License File in Typical Scenarios.......................................................................................................29
3.8 Preparing the Configuration File..................................................................................................................................29
3.9 Checking the Current System Software Version..........................................................................................................29
3.10 Checking the Switch Running Status.........................................................................................................................30
3.11 Setting Up an Environment for the Upgrade..............................................................................................................30
3.12 Backing Up the Key Data in the Flash Memory........................................................................................................32
3.13 Checking the Flash Memory Space............................................................................................................................33

4 Upgrade Operations on a Single Switch.................................................................................35


4.1 Upgrading a Switch Using the Command Line............................................................................................................35
4.1.1 Method 1: Using the Switch as the TFTP Client.......................................................................................................36
4.1.2 Method 2: Using the Switch as the FTP Server.........................................................................................................39
4.1.3 Method 3: Using the Switch as the FTP Client.........................................................................................................43
4.1.4 Method 4: Using the Switch as the SFTP Client.......................................................................................................46
4.1.5 Method 5: Using the Switch as the SFTP Server......................................................................................................49
4.2 Web-based Upgrade......................................................................................................................................................53

Issue ()
Contents

4.2.1 Web System Use Precautions....................................................................................................................................54


4.2.2 Upgrade Procedure (EasyOperation).........................................................................................................................54
4.2.3 Upgrade Procedure (Classic).....................................................................................................................................62
4.2.4 Version Rollback.......................................................................................................................................................63
4.3 Upgrading the Version Using BootLoad......................................................................................................................63
4.3.1 Uploading the System Software................................................................................................................................64
4.3.1.1 Upgrading the System Software Through the Network Interface..........................................................................64
4.3.2 Specifying the System Software to Be Loaded for Starting the Switch....................................................................66
4.3.3 Restarting the Switch.................................................................................................................................................68
4.4 Upgrading a Switch Using a USB Flash Drive............................................................................................................68
4.4.1 Overview...................................................................................................................................................................68
4.4.2 Upgrading the Software Using a USB Flash Drive...................................................................................................69
4.4.2.1 Preparations for Upgrade........................................................................................................................................69
4.4.2.2 Procedure................................................................................................................................................................70
4.5 Upgrading the Version Using the HOUP......................................................................................................................71
4.6 Upgrading the Version Using eDesk Pro......................................................................................................................74

5 Upgrade Operations in a Stack.................................................................................................75


5.1 Upgrading All Stack Member Switches by Using the Command Line........................................................................75
5.2 Intelligent Upgrade.......................................................................................................................................................80
5.2.1 Overview...................................................................................................................................................................80
5.2.2 Upgrading the Version of a Switch Newly Added to a Stack to Be the Same as the Master Switch Version in an
Intelligent Mode.................................................................................................................................................................80
5.3 Smooth Upgrade...........................................................................................................................................................82
5.3.1 Overview...................................................................................................................................................................82
5.3.2 Preparations for Upgrade...........................................................................................................................................82
5.3.3 Upgrade Process........................................................................................................................................................82

6 Upgrade Operations in an SVF System..................................................................................84


6.1 Before You Start...........................................................................................................................................................84
6.1.1 Version Requirements Before Upgrade.....................................................................................................................84
6.1.2 Impact of the Upgrade...............................................................................................................................................84
6.1.3 Precautions................................................................................................................................................................85
6.2 Upgrade Procedure.......................................................................................................................................................86
6.3 Preparing for the Upgrade............................................................................................................................................87
6.3.1 Obtaining Upgrade Reference Documents................................................................................................................87
6.3.2 Obtaining Tools.........................................................................................................................................................87
6.3.3 Obtaining Upgrade Software.....................................................................................................................................87
6.3.4 Preparing the Latest Patch.........................................................................................................................................87
6.3.5 (Optional) Obtaining the License File.......................................................................................................................87
6.3.6 Preparing the Configuration File...............................................................................................................................87
6.3.7 Verifying the Current Version....................................................................................................................................88
6.3.8 Checking Switch Status.............................................................................................................................................88

Issue ()
Contents

6.3.9 Backing Up Data.......................................................................................................................................................88


6.3.10 Configuring a Local File Server..............................................................................................................................89
6.4 Performing the Upgrade...............................................................................................................................................89
6.4.1 Loading the New System Software and the Patch of Parent and ASs to the Parent..................................................89
6.4.2 Loading the New System Software and the Patch of ASs to the Parent....................................................................89
6.4.3 Specifying the System Software and the Patch on the Parent...................................................................................90
6.4.4 Restarting the SVF System........................................................................................................................................90
6.5 Verifying the Upgrade..................................................................................................................................................91
6.5.1 Checking the System Software on the Parent............................................................................................................91
6.5.2 Checking Whether the Parent Is Registered..............................................................................................................91
6.5.3 Checking Whether the Parent Configuration Is Restored.........................................................................................91
6.5.4 Verifying Services.....................................................................................................................................................91
6.5.5 Checking Whether ASs Are Registered.....................................................................................................................92
6.6 Rolling Back to an Earlier Version...............................................................................................................................92
6.6.1 Rollback Process.......................................................................................................................................................92
6.6.2 Performing a Version Rollback..................................................................................................................................92
6.6.3 Verifying the Rollback...............................................................................................................................................93

7 Upgrading AP Through AC.......................................................................................................94


7.1 Fit AP Upgrade Guide Process.....................................................................................................................................95
7.2 Preparing for Fit AP Upgrade.......................................................................................................................................95
7.2.1 Preparing for the Upgrade.........................................................................................................................................95
7.2.2 Checking the Running Status of the AC....................................................................................................................96
7.2.3 Checking the Type of the AP to Be Upgraded...........................................................................................................97
7.2.4 Uploading the Software Packages.............................................................................................................................99
7.3 Upgrading Fit APs Using Command Lines on the AC...............................................................................................102
7.3.1 In-Service Upgrade..................................................................................................................................................104
7.3.1.1 Configuring the Upgrade Mode............................................................................................................................105
7.3.1.2 Upgrading the AP.................................................................................................................................................107
7.3.2 Automatic Upgrade..................................................................................................................................................117
7.3.2.1 Configuring the Upgrade Mode............................................................................................................................118
7.3.2.2 Upgrading the AP.................................................................................................................................................120
7.4 Verifying Fit AP Upgrade...........................................................................................................................................124
7.5 Fit AP Version Rollback.............................................................................................................................................126
7.5.1 Using Command Lines on the AC for AP Version Rollback...................................................................................126

8 Verifying the Upgrade..............................................................................................................127


8.1 Verification Checklist.................................................................................................................................................127
8.2 Checking the Current System Software Version........................................................................................................127
8.3 Verifying Patch Installation........................................................................................................................................128
8.4 Checking the Switch Running Status.........................................................................................................................129
8.5 Checking the System Configuration...........................................................................................................................129

9 Version Rollback.......................................................................................................................131

Issue ()
Contents

9.1 Version Rollback........................................................................................................................................................131


9.1.1 Version Rollback Flowchart....................................................................................................................................131
9.1.2 Loading the Previous System Software...................................................................................................................132
9.1.3 Performing Version Rollback..................................................................................................................................132
9.1.4 Verifying Version Rollback.....................................................................................................................................132

Issue ()
S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

2 Before You Start

1.1 Version Requirements Before Upgrade


1.2 Impact of the Upgrade
1.3 Precautions

2.1 Version Requirements Before Upgrade

A C version may contain multiple SPC versions. This document involves only the C versions and global
commercial SPC versions.

Back up the old configuration file before the upgrade, which will be used in rollback.
Otherwise, the rollback may fail.
If the system software of a device running a version earlier than V200R019C10 needs to
be upgraded to V200R021C10 or a later version, and the following functions will be
added after the upgrade:

Cloud-based management services

Configuring an SSL policy for the HTTP server using the http secure-server ssl-policy
command

Binding an SSL policy to smart upgrade using the smart-upgrade ssl-policy command

Configuring an SSL policy for the FTP server using the ftp secure-server ssl-policy command

Configuring automatic backup of DHCP snooping binding entries on the remote HTTPS
server using the dhcp snooping user-bind https ssl-policy ssl-policy-name command

Configuring the Portal interconnection function of the HTTPS protocol using the portal web-
authen-server https ssl-policy command
You need to upgrade the system software of the device to V200R019C10 first. Otherwise,
the preconfigured certificate of the device may be unavailable, affecting the preceding
functions.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 1


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

Table 2-1 Version requirements before upgrade


Version Upgrade Instruction

S200: These versions can be directly upgraded to


V200R020C10SPC500 V200R022C00 (including the SPC versions
of S200 V200R022C00).
V200R021C00SPC100
Some commands will be modified after the
V200R021C01SPC200 upgrade. For details, see the Release Notes
V200R021C10SPC500 of the corresponding versions.
V200R021C10SPC600
S300: These versions can be directly upgraded to
V200R020C10SPC500 V200R022C00 (including the SPC versions
of S300 V200R022C00).
V200R021C00SPC100
Some commands will be modified after the
V200R021C01SPC200 upgrade. For details, see the Release Notes
V200R021C10SPC500 of the corresponding versions.
V200R021C10SPC600
S500: These versions can be directly upgraded to
V200R020C10SPC500 V200R022C00 (including the SPC versions
of S500 V200R022C00).
V200R021C00SPC100
Some commands will be modified after the
V200R021C01SPC200 upgrade. For details, see the Release Notes
V200R021C10SPC500 of the corresponding versions.
V200R021C10SPC600
S1720-GW: These versions can be directly upgraded to
V200R010C00SPC600 V200R022C00 (including the SPC versions
of S1700 V200R022C00).
V200R011C00SPC200
Some commands will be modified after the
V200R011C10SPC500 upgrade. For details, see the Release Notes
V200R011C10SPC600 of the corresponding versions.
V200R012C00SPC500
V200R013C00SPC500
V200R019C00SPC500
V200R019C10SPC500
V200R020C00SPC200
V200R020C00SPC300
V200R020C10SPC500
V200R021C00SPC100
V200R021C10SPC500
V200R021C10SPC600
S1720-GF:
V200R012C20
V200R013C00SPC500
V200R019C00SPC500
V200R019C10SPC500

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 2


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

Version Upgrade Instruction

V200R020C00SPC200
V200R020C00SPC300
V200R020C10SPC500
V200R021C00SPC100
V200R021C10SPC500
V200R021C10SPC600
S1730S-H:
V200R019C10SPC500
V200R020C00SPC200
V200R020C00SPC300
V200R020C10SPC500
V200R021C00SPC100
V200R021C10SPC500
V200R021C10SPC600
S1730S-S:
V200R019C00SPC500
V200R019C10SPC500
V200R020C00SPC200
V200R020C00SPC300
V200R020C10SPC500
V200R021C00SPC100
V200R021C10SPC500
V200R021C10SPC600
S1730S-S1:
V200R020C10SPC500
V200R021C00SPC100
V200R021C01SPC200
V200R021C10SPC500
V200R021C10SPC600
S2720: These versions can be directly upgraded to
V200R011C10SPC500 V200R022C00 (including the SPC versions
of S2720 V200R022C00)
V200R011C10SPC600
Some commands will be modified after the
V200R012C00SPC500 upgrade. For details, see the Release Notes
V200R013C00SPC500 of the corresponding versions.
V200R019C00SPC500
V200R019C10SPC500
V200R020C00SPC200
V200R020C00SPC300
V200R020C10SPC500

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 3


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

Version Upgrade Instruction

V200R021C00SPC100
S2730: These versions can be directly upgraded to
V200R020C10SPC500 V200R022C00 (including the SPC versions
of S2730 V200R022C00)
V200R021C00SPC100
Some commands will be modified after the
V200R021C01SPC200 upgrade. For details, see the Release Notes
V200R021C10SPC500 of the corresponding versions.
V200R021C10SPC600
S5700: These versions can be directly upgraded to
V200R010C00SPC600 V200R022C00 (including the SPC versions
of S5700 V200R022C00).
V200R011C00SPC200
Some commands will be modified after the
V200R011C10SPC500 upgrade. For details, see the Release Notes
V200R011C10SPC600 of the corresponding versions.
V200R012C00SPC500 For models with component replacement in
V200R012C20 this version, you can run the display
system-software information command in
V200R013C00SPC500 the user view to check starting supported
V200R013C02 version information.
V200R019C00SPC500
V200R019C10SPC500
V200R019C20SPC200
V200R020C00SPC200
V200R020C00SPC300
V200R020C10SPC500
V200R021C00
V200R021C01SPC200
V200R021C10SPC500
V200R021C10SPC600
S6700: These versions can be directly upgraded to
V200R008C00SPC500 V200R022C00 (including the SPC versions
of S6700 V200R022C00).
V200R009C00SPC500
Some commands will be modified after the
V200R010C00SPC600 upgrade. For details, see the Release Notes
V200R011C00SPC200 of the corresponding versions.
V200R011C10SPC500
V200R011C10SPC600
V200R012C00SPC500
V200R013C00SPC500
V200R013C02
V200R019C00SPC500
V200R019C10SPC500
V200R020C00SPC200

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 4


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

Version Upgrade Instruction

V200R020C00SPC300
V200R020C10SPC500
V200R021C00
V200R021C01SPC200
V200R021C10SPC500
V200R021C10SPC600

2.2 Impact of the Upgrade


Before you upgrade an earlier version to V200R022C00, read this section carefully to
understand the possible impacts of the upgrade on the system.

2.2.1 Impact on the System During an Upgrade


Impact on Services
The switch will restart during the upgrade and services will be interrupted.

The service interruption time depends on many factors, such as the system software size, upgrade
method, operator's skill, and service configurations. The following service interruption time is for your
reference.

In the following examples, the switches are not configured and they are not in any stack.
 If the switches are upgraded using the BootROM and the system software is uploaded
through the console port, the service interruption time is as follows (the baudrate is
115200): 50 minutes.
 If the switches are upgraded using the BootROM and the system software is uploaded
through the network port (FTP mode), the service interruption time is as follows: 6
minutes.
 If the switches are upgraded using the command line, the service interruption time is as
follows: 5 minutes.

When a device has typical configurations, services are interrupted for about 10 minutes during a
command-line upgrade. In the scenario where service deployment is complicated, the service
interruption time increases and the time depends on the complexity of services.

Impact on Network Communication


When the system restarts, the communication between the switch and the NMS is interrupted.
The communication interruption time is the same as the service interruption time.

2.2.2 Impact on the System After Installation


There is no adverse impact on the system.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 5


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

2.3 Precautions

- indicates all versions.

No. Version Precautions


Used
Before
Upgrade

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

When you perform a command line, stack, or USB-based
upgrade, do not copy or delete files.

A later software version is compatible with earlier versions, but
an earlier software version is incompatible with later versions.
Therefore, after a software upgrade is complete, save the
configurations only after you confirm that the upgrade is
successful. Otherwise, configuration data may be lost when
you perform a version downgrade.

If a switch has no management interface, enter the BIOS menu
and use the first electrical interface to transfer the software
package to the switch. Errors may occur if you use other
interfaces to transfer the software package.

During BootROM upgrade, the XMODEM protocol transmits
data at 128 bit/s. If the size of the system software is not a
multiple of 128 bits, the system software size increases. After
the stack reboots, configurations cannot be restored because
the system software size changes. It is recommended that you
download the system software package through FTP or TFTP.

After the software version is upgraded from V200R001C00 to
any version through the USB flash drive, index file verification
may be failed. A formal patch must be installed to solve this
problem.

If the software already has patches installed, you do not need to
delete the patches before the upgrade. After the upgrade is
complete, the original patches are not activated. You can run
the startup patch command to specify the patch for next
startup before the upgrade.

After the stack upgrade is complete, you only need to install the
patch on the master device.

For an S1720, the software version can only be downgraded to
V200R006C10.

Before downgrading V200R009C00 or a later version to an
earlier version, run the reset boot password command to
restore the BootROM/BootLoad password to the default value,
and then specify the system software. Otherwise, the
BootROM/BootLoad password will become invalid or the
switch works abnormally. If the BootROM/BootLoad
password has become invalid after downgrade, run the reset
boot password command again to restore the password to the

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 6


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

default value.

When the system software of a switch is downgraded from
V200R011C10 or a later version to V200R010 or an earlier
version, you need to restore the default BootLoad password;
otherwise, the downgrade may fail. When the startup system-
software command is run, the system displays a prompt and
the current password is cleared only after the user confirms the
operation. If you perform the downgrade operation using tools
such as the NMS, no prompt is displayed and the current
password is directly cleared after the downgrade. The
password clearance operation is recorded in a log.

After a cloud switch is downgraded to V200R011C10 and
managed by the controller again, you need to change the IP
address of MEth0/0/2 of the cloud switch to 192.168.2.1/30 on
the controller. If you do not change the IP address, you will not
be able to log in to the cloud switch through the controller.
2 Versions In V200R009 and later versions, the default broadcast suppression
earlier than threshold is changed to 10%. If the default threshold (100%) is
V200R003 used in earlier versions, the buildrun is not generated after the
software version is upgraded to V200R010 or a later version. In
this situation, the broadcast suppression threshold on interface is
10%. The buildrun is generated for other configurations after the
upgrade.
3 V200R005 In V200R009 and later versions, the default broadcast suppression
to threshold is changed to 10%. If the default threshold (50%) is
V200R007 used in earlier versions, the buildrun is not generated after the
V200R008 software version is upgraded to V200R010 or a later version. In
(V200R008 this situation, the broadcast suppression threshold on interface is
SPH006 10%. The buildrun is generated for other configurations after the
patch not upgrade.
installed)
4 Versions 
In V200R007 and later versions, SSHv1 is disabled by default.
earlier than 1. After an earlier version is upgraded to V200R007 or later,
V200R007 the SSH server status remains unchanged.
2. When an unconfigured switch running V200R007 or a later
version is deployed, the display current-configuration
command output contains undo ssh server compatible-ssh1x
enable. To use the SSHv1 function, run the ssh server
compatible-ssh1x enable command.
Note: SSHv1 is not secure. SSHv2 or a later version is
recommended.

In V200R007 and later versions, you cannot configure an
authentication password for USB-based deployment. To
improve security of USB-based deployment, run the undo set
device usb-deployment password command to delete the

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 7


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

existing authentication password, run the set device usb-


deployment config-file password command to configure an
encryption password for the configuration file, and then
transfer the encrypted configuration file to the USB flash
drive. These operations prevent configuration leak during
upgrade.

If the configuration file of a switch contains the http server
load configuration, this configuration will not be restored after
the software version of the switch is upgraded to V200R007 or
later.
5 Versions 
After the software version is upgraded to V200R008C00 or
earlier than later, the log and alarm thresholds for interface bandwidth
V200R008C usage are 80%. To change the thresholds, run the log-
00 threshold input-rate output-rate and trap-threshold input-
rate output-rate commands.

When an earlier version is upgraded to V200R008C00 or later,
the storm control mode is automatically changed from kbps or
percentage to pps. The storm control function is not affected.
6 Versions 
When the number of request packet retransmissions, timeout
earlier than period, and the number of RADIUS server Down detections
V200R009 and interval retain the default values, if only one user is
authenticated and goes online, this user cannot detect the
Down state of the RADIUS server and cannot enter the
survival state. To avoid this problem, adjust the parameter
settings, to make the user quickly detect the server Down state
and enter the survival state. For example, run the radius-
server retransmit retry-times command to set the number of
packet retransmissions to 2, run the radius-server timeout
time-value command to set the timeout period to 2s, run the
radius-server dead-count dead-count command to set the
maximum number of no response times to 2, and run the
radius-server dead-interval dead-interval command to set
the server status detection interval to 5s. With these settings, a
single user can enter the survival state within 10s.
7 Versions 
After a switch running a version earlier than V200R010C00 is
earlier than upgraded to V200R010C00 or a later version, the source port
V200R010C number of RADIUS packets is changed from 1812 or 1813 to a
00 random value in the range from 1 to 65535. As such, you need
to modify the network policies in which the source port
number of RADIUS packets is specified, in order to ensure
successful RADIUS authentication.
8 Versions In V200R011C10 and later versions, the authorization VLAN
earlier than delivered by a control device in a policy association scenario takes
V200R011C effect only on trunk interfaces. Before the upgrade, authenticated
10 users on a trunk interface have permission in the default VLAN.
After the upgrade, these users have permission in the

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 8


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

authorization VLAN, which is generally higher than the


permission in the default VLAN.
9 Versions 
If a VTY port, an FTP port, or an SNMP port on a switch
earlier than running a version earlier than V200R012C00 is configured to
V200R012C match packets of a specified IPv6 VPN instance against an
00 ACL rule, the switch will strictly perform the match after it is
upgraded to V200R012C00 or a later version. An example is
provided as follows to explain the upgrade impact: Assume
that the rule permit ipv6 vpn-instance HW command is
configured on the switch. In the source version, packets of a
VPN instance other than HW can match the rule and be
forwarded. However, since strict match is performed after the
upgrade, packets not coming from the VPN instance HW
cannot match the rule and may be discarded by the switch. To
allow such packets to pass through, you can add rule permit
ipv6 source with a higher priority before the rule.

After the S6720EI or S6720S-EI is upgraded from an earlier
version to V200R012C00 or a later version, load balancing
between ECMP paths and Eth-Trunk member interfaces may
be affected if the ECMP load balancing mode configured
before the upgrade is not based on the transport-layer source
port number. If traffic is unevenly load balanced after the
upgrade, run the ecmp load-balance command to adjust the
ECMP load balancing mode, or run the load-balance
command to adjust the load balancing mode of the Eth-Trunk.

A switch is upgraded to V200R012C00 or a later version.
During the restart process, if you press Ctrl+B to stop the
startup and change the system software for the next startup to
another version of V200R012C00 or later, there is a possibility
that the card or switch cannot be started.
10 Versions 
If the main interface of a switch is blocked and QinQ stacking
earlier than sub-interfaces can forward traffic, after the switch is upgraded
V200R013C from an earlier version to V200R013C00 or later, the sub-
00 interfaces are also blocked and traffic fails to be forwarded.

After a switch is upgraded from an earlier version to
V200R013C00 or a later version, the following menus in
BootLoad are deleted:
(1) Enter serial submenu under BootLoad Menu
(2) Update EPLD file under FILESYSTEM SUBMENU
(3) POE test under DIAG MENU

Assume that a switch runs a version earlier than V200R013C00
and its configuration file contains hwtacacs-server shared-
key cipher. After the switch is upgraded to V200R013C00 or
a later version and then downgraded to the source version
through the controller, the hwtacacs-server shared-key
cipher configuration is lost. You need to redeliver this

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 9


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

configuration on the controller.



After a switch is upgraded to V200R013C00 or a later version,
the switch no longer supports NAC authentication on
management network interfaces.

Before upgrading a switch to V200R013C00 or a later version,
ensure that the system MAC address of the switch is not 0x0a-
0b-0c-xx-xx-xx. Otherwise, the switch cannot ping other
devices after the upgrade.

By default, the S1720GW-E, S1720GWR-E, S1720GF,
S1720GFR-P, S2720-EI, S5720I-SI, S5720-LI, and S5720S-LI
in a version earlier than V200R013C00 do not trust priorities
of packets. If the trust command is not executed to change the
switches to trust 802.1p or DSCP priority of packets, the
switches will process packets based on the mapping of the
802.1p priority after they are upgraded to V200R013C00 and
later versions.
11 Versions 
After a switch is upgraded to V200R019C00 or a later version
earlier than through the controller, the original CLI configurations can only
V200R019C be modified on the controller. This is because the related
00 commands are blacklisted in the target version.

After switches using ENP and BCM chips are upgraded to
V200R019C00 or a later version, they change the DSCP and
802.1p priorities of packets based on the authorized DSCP and
802.1p values.

In V200R019C00 and later versions, the cloud-based
management mode and NETCONF mode are integrated as the
NETCONF mode.
12 Versions In versions earlier than V200R019C00SPC300, the upper alarm
earlier than threshold for the IPv4 route prefix usage can be greater than or
V200R019C equal to the lower alarm threshold. In V200R019C00SPC300 and
00SPC300 later versions, the upper alarm threshold for the IPv4 route prefix
usage must be greater than the lower alarm threshold. If the upper
alarm threshold for the IPv4 route prefix usage is configured to be
equal to the lower alarm threshold on a switch running a version
earlier than V200R019C00SPC300, the configuration will be lost
after the switch is upgraded to V200R019C00SPC300 or a later
version, and the upper and lower alarm thresholds will be restored
to the default settings.
13 Versions In versions earlier than V200R019C00SPC500, if a 40GE optical
earlier than module or cable is installed on a 100GE stack port, the stack port
V200R019C can go Up. In V200R019C00SPC500 or a later version, however,
00SPC500 a 100GE stack port having a 40GE optical module or cable
installed will fail to go Up and cannot be used to set up a stack.
14 Versions 
The S5735-L, S5735S-L, S5735S-L-M, S5735-S, and S5735S-S
earlier than support the stacking function since V200R019C10. If multiple

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 10


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

V200R019C switches set up a stack and the system software package for the
10 next startup is earlier than V200R019C10, the stack will split
after the reboot command is executed to restart any stack
member. If the stacking function is enabled on a single switch,
the system software package for the next startup is earlier than
V200R019C10, and the stack slot renumber command is
executed to change the stack ID of the switch to a non-zero
value, then the stack configuration of the switch will be cleared
and the slot-ID-related configuration cannot be restored after
the reboot command is executed to restart the switch.

User CAC and load balancing based on the channel utilization
are not supported in V200R019C10. If these functions are
configured before an upgrade, the function settings will be
restored to the defaults after the upgrade.

The DBS function is enabled by default in V200R019C10. If
this function is not configured before the upgrade, the new
default value is used after the upgrade.

For the V200R019C10 and later versions, the S5735-S and
S5735S-S support only URPF check in loose mode. If URPF
check in strict mode is configured in V200R019C00, the
configuration will be changed to URPF check in loose mode
after the version is upgraded to V200R019C10 or later.

In versions earlier than V200R019C10, the default password of
a static user is vlan. In V200R019C10 and later versions, the
default password of a static user is not configured. If static
users in a version earlier than V200R019C10 use the default
password vlan, the default password configuration will be lost
after the upgrade to V200R019C10 or a later version. As a
result, static user authentication fails. In this case, you need to
run the static-user password cipher password command to
manually configure the default password again.
15 Versions Assume that on a switch running a version earlier than
earlier than V200R019C10SPC100, ECA-related commands are delivered in
V200R019C ECA resource mode, and then the resource mode is changed to a
10SPC100 non-ECA mode. After the switch is upgraded to
V200R019C10SPC200 or a later version, ECA-related command
configurations fail to be restored.
16 Versions 
After a switch is upgraded to V200R020C00 or a later version,
earlier than an additional command must be run to specify a source
V200R020C interface if you want to enable the HTTP, Telnet, FTP, SSH, or
00 SNMP service. For example, on a switch running a version
earlier than V200R020C00, the FTP service is enabled after
you run only the ftp server enable command. However, on a
switch running V200R020C00 or a later version, you must also
run the ftp server-source -i command to specify a source
interface, so as to enable the FTP service. If one of the
preceding services has been enabled before a switch is

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 11


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

upgraded to V200R020C00 or a later version, the server-


source all-interface command configuration is automatically
generated to enable the service on all interfaces after the
upgrade, so that the service can run normally. The following
commands are involved:
http ipv6 server enable, ftp server enable, ftp secure-server
enable, ftp ipv6 server enable, ftp ipv6 secure-server
enable, stelnet server enable, sftp server enable, scp server
enable, stelnet ipv4 server enable, sftp ipv4 server enable,
scp ipv4 server enable, stelnet ipv6 server enable, sftp ipv6
server enable, scp ipv6 server enable, telnet server enable,
telnet ipv6 server enable, and snmp-agent

If a switch running a version earlier than V200R020C00 does
not have the http server command configured, the http
server-source all-interface command configuration will be
generated by default after the switch is upgraded to
V200R020C00 or a later version.

Assume that on a switch running a version earlier than
V200R020C00, the IPv4 HTTP, Telnet, FTP, or SSH service
is enabled, a source interface is configured, and no IP address
or DHCP is configured for this interface. After the switch is
upgraded to V200R020C00 or a later version, the server-
source all-interface command is automatically delivered to
overwrite the server-source -i configuration in the source
version.

In V200R020C00 and later versions, the http server-source -i
and stelnet server-source -i commands are delivered by
default to enable the HTTP and SSH services on uplink ports
of cloud switches. When the SNMP, Telnet, or SSH service is
configured on iMaster NCE-Campus, it delivers the server-
source all-interface command to enable the service on all
interfaces.

In V200R020C00 and later versions, only the S5731-H, S5731-
S, S5731S-H, S5731S-S, S5732-H, S6730-H, S6730S-H,
S6730-S, and S6730S-S support the portal https-redirect
wired enable command (used to enable HTTPS redirection for
Portal authentication).

In V200R020C00 and later versions, the built-in Portal server
function is no longer supported. If the built-in Portal server
function has been configured on a switch running a version
earlier than V200R020C00, this function can still be used after
the switch is upgraded to V200R020C00 or a later version.

During a switch upgrade to V200R020C00 or a later version, if
the BootLoad menu is used to replace the system software
package after the login through the console port, an error
message indicating a logic loading failure is displayed. In this
case, the system automatically performs package replacement

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 12


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

through the BootLoad menu, and the switch then can start with
the new system software package.

In V200R020C00 and later versions, the default account Admin
is deleted. After an unconfigured switch is upgraded to
V200R020C00 or a later version, or a switch is upgraded to
V200R020C00 or a later version, its configuration file is
cleared, and then the switch is restarted, you must create an
administrator account and configure the password before
logging in to the switch through the console port, web system,
or the parent device in an SVF.

In V200R020C00 and later versions, the default BootLoad
password is deleted. If no BootLoad password is configured on
a switch running a version earlier than V200R020C00, the
BootLoad login password must be configured when you log in
to the BootLoad menu after the switch is upgraded to
V200R020C00 or a later version.

If a switch running a version earlier than V200R020C00 is
configured with the radius-server authorization command,
the radius-server authorization server-source all-interface
command is automatically delivered after the switch is
upgraded to V200R020C00 or a later version.

In versions earlier than V200R020C00, if a cloud switch has the
native AC function enabled and has both a locally loaded AP
license and a cloud management AP license obtained from the
controller, the locally loaded license is preferentially used and
the controller does not manage APs. After the switch is
upgraded to V200R020C00 or a later version, the cloud
management AP license obtained from the controller is
preferentially used.

For the S1730S-S, S1730S-H, S5735-L, S5735S-L, S5735S-L-
M, S5735-S, and S5735S-S: The relative aging time function
in port security is no longer supported in V200R020C00 and
later versions. If a switch running a version earlier than
V200R020C00 has the port-security aging-time time type
inactivity command configured, this configuration still takes
effect after the switch is upgraded to V200R020C00 or a later
version.

In V200R020C00SPC300 and later versions, the PKI module
uses the enhanced key algorithm for encryption and decryption
by default. The enhanced key algorithm is incompatible with
the key algorithm used by the PKI module in versions earlier
than V200R020C00SPC300. Therefore, before downgrading a
device from V200R020C00SPC300 or a later version to a
version earlier than V200R020C00SPC300, run the undo pki
key enhance enable command to disable this function so that
the PKI module uses the same key algorithm before and after
the device downgrade, ensuring service continuity.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 13


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

17 Versions 
In V200R020C10SPC100 or later versions, you must specify
earlier than the source IP address or source interface used for connecting to
V200R020C the Portal server before enabling Portal-based Portal
10SPC100 authentication. To be specific, in versions earlier than
V200R020C10SPC100, you do not need to specify the source
IP address or source interface used for connecting to the Portal
server. However, in V200R020C10SPC100 and later versions,
you must run the web-auth-server server-source all-
interface command in the system view or run the server-
source ip-address command in the web-auth-server template
view to specify the source IP address or source interface used
for connecting to the Portal server. Assume that the server-
source ip-address ip-address command is not configured in
the web-auth-server template for a version earlier than
V200R020C10SPC100. After the version is upgraded to
V200R020C10SPC100 or later, the web-auth-server server-
source all-interface command will be generated to enable
services on all interfaces, so that services are not affected.

In V200R020C10SPC100 or later versions, you must specify
the source IP address or source interface used for connecting to
terminals before enabling HTTP/HTTPS-based Portal
authentication. To be specific, in versions earlier than
V200R020C10SPC100, you do not need to specify the source
IP address or source interface used for connecting to terminals.
However, in V200R020C10SPC100 and later versions, you
must run the portal web-authen-server server-source all-
interface or portal web-authen-server server-source ip-
address ip-address command to specify the source IP address
or source interface used for connecting to the terminal. If the
HTTP/HTTPS-based Portal authentication function is enabled
in a version earlier than V200R020C10SPC100, the portal
web-authen-server server-source all-interface command
will be generated after the version is upgraded to
V200R020C10SPC100 or later to enable services of all
interfaces. This ensures that services are not affected.

In V200R020C10SPC100 or later versions, you must specify
the source IP address or source interface used for connecting to
the RADIUS server before enabling the RADIUS session
management function. To be specific, in versions earlier than
V200R020C10SPC100, you do not need to specify the source
IP address or source interface used for connecting to the
RADIUS server. However, in V200R020C10SPC100 and later
versions, you must run the radius-server session-manage
server-source all-interface or radius-server session-manage
server-source ip-address ip-address command to specify the
source IP address or source interface used for connecting to the
RADIUS server. If the RADIUS session management function
is enabled in a version earlier than V200R020C10SPC100, the
radius-server session-manage server-source all-interface

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 14


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

command will be generated after the version is upgraded to


V200R020C10SPC100 or later to enable services of all
interfaces. This ensures that services are not affected.

In V200R020C10SPC100 or later versions, you must specify
the source IP address or source interface used for connecting to
the web server before enabling the web session management
function. To be specific, in versions earlier than
V200R020C10SPC100, you do not need to specify the source
IP address or source interface used for connecting to the web
server. However, in V200R020C10SPC100 and later versions,
you must run the remote-access-user manage server-source
all-interface or remote-access-user manage server-source
ip-address ip-address command to specify the source IP
address or source interface used for connecting to the web
server. If the web session management function is enabled in a
version earlier than V200R020C10SPC100, the remote-
access-user manage server-source all-interface command
will be generated to enable services of all interfaces after the
version is upgraded to V200R020C10SPC100 or later. This
ensures that services are not affected.
18 Versions 
In V200R021C00 or a later version, the v1 parameter in the
earlier than remote-address { ip-address | host-name host-name } { v1 |
V200R021C v2 } command for the IPsec function can be configured only
00 after the XXXX-V200R021C00WEAKEA.mod plug-in is
installed. If the v1 parameter is configured on a device running
a version earlier than V200R021C00, the parameter can still be
used after the system software of the device is upgraded to
V200R021C00 or a later version.

In V200R021C00 or a later version, if the certificate exported
using the pki export-certificate { ca | local | ocsp } realm
realm-name { pem | pkcs12 } command is in PEM format and
the private key file needs to be exported, the XXXX-
V200R021C00WEAKEA.mod plug-in must be installed.

In V200R021C00 or a later version, the pem parameter in the
pki export rsa-key-pair key-name [ and-certificate
certificate-name ] { pem file-name aes | pkcs12 file-name }
password password command can be configured only after the
XXXX-V200R021C00WEAKEA.mod plug-in is installed.

In a version earlier than V200R021C00, if CAPWAP DTLS
encryption is enabled using the capwap dtls control-link
encrypt command but the pre-shared key (PSK) for DTLS
encryption is not specified using the capwap dtls psk
command, the administrator is forced to configure the PSK in
interactive mode upon the first login to the device after the
system software is upgraded to V200R021C00 or a later
version.

In a version earlier than V200R021C00, if the native AC

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 15


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

function is enabled but the user name and password for AP


login are not configured using the ap username username
password cipher command, the administrator is forced to
configure the user name and password for AP login in
interactive mode upon the first login to the device after the
system software is upgraded to V200R021C00 or a later
version.

In V200R021C00 and later versions, the console user interface
or virtual type terminal (VTY) user interface does not support
the authentication-mode none mode by default. To use this
function, you must install the empty password authentication
plug-in. If the authentication-mode none command is
configured on a device running a version earlier than
V200R021C00, the configuration can still be used after the
system software of the device is upgraded to V200R021C00 or
a later version.
19 - 
If there is a card whose CANbus boot version is 0x64 on a
device before an upgrade, there is a low probability that the
system displays a message indicating that the communication
on the monitoring plane of the card is lost after the upgrade. As
a result, information such as the temperature and voltage of the
card cannot be queried.
Before performing an upgrade, run the display environment
version command to check whether there is a card whose boot
version is 0x64 (including the main control board, LPU, and
monitoring board).
LPU board[3] CANbus version information:
1. APP Version : 0fa
2. BOOT Version : 064
3. PCB Version : 002
4. SDR Version : 00c

20 - Typically, the MAC address of the master switch in a stack is used


as the system MAC address of the stack. If the stack is upgraded
and restarted or a member switch is removed and installed or
replaced, the system MAC address of the stack may change.
Before upgrading a stack, evaluate whether the gateway MAC
address change affects services. If the change affects services, you
are advised to run the display stack command to check the roles
of stack member switches and the system MAC address of the
stack before the upgrade. After the upgrade, check whether the
master switch in the stack is changed. If the master switch is
changed, perform an active/standby switchover in a timely manner
to ensure that the master switch remains unchanged before and
after the upgrade. This configuration ensures that the stack uses
the same system MAC address before and after the upgrade. You
can run the slave switchover command to perform an
active/standby switchover.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 16


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

21 - When the NMS obtains interface traffic statistics using the MIB
tables iftable and ifxtable, it takes a long time to query interface
traffic statistics in real time. When a device has a large number of
interfaces, the query efficiency on the NMS is low. In
V200R013C00, the device supports the function of periodically
collecting interface traffic statistics. After the system software of a
device is upgraded from a version earlier than V200R013C00 to
V200R013C00 or a later version, you need to run the set if-mib
sample-interval 0 command to disable this function. Otherwise,
interface traffic statistics collected by the NMS are incorrectly
displayed.
22 Versions 
In versions earlier than V200R013C00, after Layer 2 multicast
earlier than is enabled on the S1720GFR, S1720GW-E, S1720GWR-E,
V200R013C S1720X-E, S2750EI, S5720LI, S5720S-LI, S6720LI, S6720S-
00 LI, S5700S-LI, S5700LI, S5710-X-LI, S5720S-SI, S5720SI,
S5730SI, S5730S-EI, S6720SI, or S6720S-SI, the device
broadcasts unknown multicast traffic in a VLAN regardless of
the Layer 2 multicast forwarding mode.

In V200R013C00 and later versions, after Layer 2 multicast is
enabled on the S1720GFR, S1720GW-E, S1720GWR-E,
S1720X-E, S2750EI, S5720LI, S5720S-LI, S6720LI, S6720S-
LI, S5700S-LI, S5700LI, S5710-X-LI, S5720S-SI, S5720SI,
S5730SI, S5730S-EI, S6720SI, or S6720S-SI, the device
broadcasts unknown multicast traffic in a VLAN if the MAC
address-based Layer 2 multicast forwarding mode is used, and
discards received unknown multicast traffic if the IP address-
based Layer 2 multicast forwarding mode is used.
23 V200R021C 
In versions earlier than V200R021C01, the training function is
01 enabled by default on 40GE interfaces (2*40GE subcard) of
the S5731-H and S5736-S.

In V200R021C01 and later versions, the training function can
be controlled using the training { enable | disable } command
on service interfaces of the S5731-H and S5736-S.
This command is supported by the
ES5D21Q02Q00/ES5D21Q04Q01 card, but not supported by
S7Q02001 series cards. When an S7Q02001 card is connected
to an ES5D21Q02Q00/ES5D21Q04Q01 card using a high-
speed cable, the training function must be disabled on the
ES5D21Q02Q00/ES5D21Q04Q01 card. In versions earlier
than V200R021C01, when an S7Q02001 card is connected to
an ES5D21Q02Q00/ES5D21Q04Q01 card, the connected
interfaces on the cards cannot go Up. If the cards are
connected using optical modules, the connected interfaces on
the cards can go Up.

In a stack scenario:
If high-speed cables are used for stack connections, the
training function is disabled by default in V200R021C01 and

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 17


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

later versions, and is enabled by default in versions earlier than


V200R021C01. Stack interfaces of the old and new versions
cannot be connected. You need to upgrade the cards of the old
version to the new version to support the stacking function.
24 Versions After the system software of a device is upgraded from a version
earlier than earlier than V200R019C00SPC200 to V200R021C10SPC500 or a
V200R019C later version, if no negotiation key is configured for an E-Trunk
00SPC200 before the upgrade, there is no negotiation key for the E-Trunk by
default after the upgrade. As a result, the negotiation fails.
Solution:
Solution 1: Before the upgrade, run the security-key { simple
simple-key | cipher cipher-key } command in the E-Trunk view on
the devices at both ends of the E-Trunk to configure the same key.
(The configured key cannot be the default key
00E0FC0000000000.)
Solution 2: After the upgrade, run the security-key { simple
simple-key | cipher cipher-key } command in the E-Trunk view on
the devices at both ends of the E-Trunk to configure the same key
25 Versions If the system software of a device is upgraded from a version
earlier than earlier than V200R021C10SPC500 to V200R021C10SPC500 or a
V200R021C later version, and the update proxy { domain domain-name | ip
10SPC500 ip-address } [ port port-number ] [ user user-name [ password
password ] ] command is configured on the device before the
upgrade, the password becomes invalid after the upgrade. As a
result, authentication fails during connection establishment with
the proxy server for upgrading the application identification
signature database (SA-SDB), and the SA-SDB cannot be
automatically upgraded.
Solution:
After the upgrade, reconfigure the update proxy { domain
domain-name | ip ip-address } [ port port-number ] [ user user-
name [ password password ] ] command.
26 V200R021C If the system software of a device is downgraded from
10SPC500 V200R021C10SPC500 or a later version to a version earlier than
and later V200R021C10SPC500, and the update proxy { domain domain-
versions name | ip ip-address } [ port port-number ] [ user user-name [
password password ] ] command is configured on the device
before the downgrade, the password becomes invalid after the
downgrade. As a result, authentication fails during connection
establishment with the proxy server for upgrading the SA-SDB,
and the SA-SDB cannot be automatically upgraded.
Solution:
After the upgrade, reconfigure the update proxy { domain
domain-name | ip ip-address } [ port port-number ] [ user user-
name [ password password ] ] command.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 18


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

27 V200R021C 
In V200R021C10 and later versions, you can add the remote
10SPC500 unit (RU) firmware of a new version to the patch of the central
switch. After the patch is installed on the central switch, the
firmware of the new version in the patch can be automatically
or manually synchronized to the managed RUs, and then the
RUs restart to complete the firmware upgrade.

In versions later than V200R021C10, if the system software
package contains the RU firmware of a new version, after the
central switch is upgraded to the later version, the firmware of
the new version in the system software package can be
automatically or manually synchronized to the managed RUs,
and then the RUs restart to complete the firmware upgrade.

If the version of the firmware carried in the patch or system
software package is different from the current firmware
version of RUs and the central switch is configured to
automatically upgrade the firmware of RUs, the firmware of
the new version is automatically synchronized to RUs after the
patch is installed or the system software is upgraded. After the
synchronization is complete, RUs restart to complete the
upgrade. As a result, services on the terminals connected to
RUs are interrupted in the patch installation scenario, or the
service interruption duration of the terminals connected to RUs
is prolonged in the system software upgrade scenario. To avoid
the preceding impact, you can disable the function of
automatically upgrading the firmware of RUs and manually
trigger the upgrade or configure scheduled upgrade, and
perform the upgrade during off-peak hours.
28 V200R021C If the system software of a device needs to be downgraded from
10SPC500 V200R021C10SPC500 or a later version to an earlier version and
and later the device model is supported in the earlier version only after a
versions matching patch is installed, install the patch first and then
configure the system software package for next startup.
29 - In V200R021C10SPC500 and later versions, the vpn-instance
command (DHCP server group view) is deleted. If this command
has been configured in the source version, it will be deleted from
the configuration file in the target version after the upgrade, which
does not affect functions in the target version.
30 V200R021C 
In V200R021C10SPC600 and later versions, if the patch
10SPC600 installed on the central switch contains the remote unit (RU)
firmware and the firmware version is different from that of the
managed RUs, the firmware upgrade is not triggered by
default. You need to manually trigger the RU firmware
upgrade. For details about the commands and application
scenarios, see the product documentation.

In V200R021C10SPC600 and later versions, if the RU firmware
version contained in the system software of the central switch
is different from the firmware version of the managed RUs, the

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 19


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

firmware upgrade is not triggered by default. You need to


manually trigger the RU firmware upgrade. For details about
the commands and application scenarios, see the product
documentation.

Some models cannot be downgraded due to the component
upgrade. Therefore, before downgrading the system software
of a device to a version earlier than V200R021C10SPC600,
you are advised to run the display system-software
information command (supported in V200R021C00 and later
versions) to check the software version supported by the
device.

Some models that cannot be downgraded can be used in earlier
versions by installing the corresponding patches. For details,
see the software version mapping of the models in the product
documentation. Before downgrading the system software to an
earlier version, you need to configure the corresponding patch
as the patch for next startup, and then configure the earlier
version as the version for next startup.
31 Versions In V200R022C00 and later versions, the default signature
earlier than algorithm for CMPv2-based certificate application is changed
V200R022C from SHA-1 to SHA-256. You can run the cmp-request
00 signature-algorithm [ sha1 | sha256 ] command to configure a
signature algorithm for CMPv2-based certificate application. If
the sha1 parameter needs to be specified, the XXXX-
V200R022C00WEAKEA.mod plug-in must be installed.
32 Versions In V200R022C00 and later versions, the application identification
earlier than signature database can be upgraded only in HTTPS mode, and the
V200R022C HTTP mode is not supported. After the system software of a
00 device is upgraded from a version earlier than V200R022C00 to
V200R022C00 or a later version, the HTTP mode is changed to
the HTTPS mode.
33 Versions Assume that the system software of an AC is upgraded to
earlier than V200R020C00 or a later version, a VLAN pool is used as the
V200R020C service VLAN, and the DHCP server is not deployed on the AC.
00 Because the VLAN pool hash algorithm is updated, a terminal's IP
address corresponding to the VLAN assigned by the pre-upgrade
AC is not aged out when the terminal obtains a new IP address in
the new VLAN assigned by the post-upgrade AC. In this case, one
terminal occupies two IP addresses. As a result, the number of
occupied IP addresses corresponding to the VLAN pool may
increase sharply after the upgrade. If the address pool is small, all
addresses in the address pool are occupied. As a result, some
terminals cannot obtain IP addresses. After the occupied old IP
addresses are aged out, address allocation is normal.
In this case, you need to manually release the IP addresses
corresponding to the used VLAN in the VLAN pool for the AC

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 20


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

service on the DHCP server during the AC upgrade.


34 Versions In V200R022C00 or a later version, after authentication is
earlier than configured on a VLANIF interface in a native AC scenario, the
V200R022C authentication configuration is not delivered to APs.
00
35 Versions For the S5731-H, S5731S-H, S5732-H, S5731-S, S5731S-S,
earlier than S6730-H, S6730S-H, S6730-S, and S6730S-S running a version
V200R022C earlier than V200R022C00, the authentication ipv6-control
00 enable command does not take effect, and users cannot access the
network through IPv6 before being authenticated successfully. For
the S5731-H, S5731S-H, S5732-H, S5731-S, S5731S-S, S6730-H,
S6730S-H, S6730-S, and S6730S-S running V200R022C00 or a
later version, users can access the network through IPv6 by
default before being authenticated successfully. To prevent users
from accessing the network through IPv6 before being
authenticated successfully, configure the authentication ipv6-
control enable command.
36 Versions In V200R021C10 and earlier versions, the default VCMP role of a
earlier than device is client. In V200R022C00 and later versions, the default
V200R022C VCMP role of a device is silent. If the system software of a device
00 is upgraded from V200R021C10 or an earlier version to
V200R022C00 or a later version, the VCMP role of the device
does not change after the upgrade.
For a device running V200R021C10 or an earlier version:

The default VCMP role is client, and the configuration file does
not contain the vcmp role client configuration. After the
system software of the device is upgraded to V200R022C00 or
a later version, the configuration file contains the vcmp role
client configuration.

If the role of the device in a VCMP domain has been set to
silent using the vcmp role silent command and the
configuration file contains the vcmp role silent configuration,
the configuration file does not contain the vcmp role silent
configuration after the system software is upgraded to
V200R022C00 or a later version.
37 - To prevent the device from being overloaded due to excessive
ARP replication, ARP broadcast is disabled on Layer 3 sub-
interfaces by default. The device does not proactively send or
forward ARP broadcast packets to learn ARP entries. If the device
has Layer 3 sub-interfaces and only a few VLAN segments are
configured on the sub-interfaces, run the arp broadcast enable
command to enable the ARP broadcast function on the sub-
interfaces. Otherwise, services may be interrupted because the
device cannot learn ARP entries after it is upgraded and restarts.
38 Versions In V200R021C01, the RADIUS attribute encapsulation

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 21


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 1 Before You Start

No. Version Precautions


Used
Before
Upgrade

earlier than optimization function is added. This function is enabled by default


V200R021C and cannot be modified using commands. In V200R022C00 and
01 later versions, the radius-attribute encap optimize command is
added to enable or disable RADIUS attribute encapsulation
optimization. By default, RADIUS attribute encapsulation
optimization is enabled. If the switch is upgraded from a version
earlier than V200R021C01 to V200R022C00 or a later version,
the RADIUS attribute encapsulation optimization function
remains disabled after the upgrade, and the radius-attribute
encap optimize disable command is added to the configuration
file.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 22


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 2 Upgrade Process

3 Upgrade Process

Figure 3-1 Upgrade flowchart

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 23


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

4 Preparations for Upgrade

3.1 Preparation Checklist


3.2 Obtaining Upgrade Reference Documents
3.3 Obtaining Tools
3.4 Obtaining Required Software for the Upgrade
3.5 Preparing the Latest Patch
3.6 Verifying Software Integrity
3.7 (Optional) Obtaining the License File for the Target Version
3.8 Preparing the Configuration File
3.9 Checking the Current System Software Version
3.10 Checking the Switch Running Status
3.11 Setting Up an Environment for the Upgrade
3.12 Backing Up the Key Data in the Flash Memory
3.13 Checking the Flash Memory Space

4.1 Preparation Checklist


Table 4-1 Upgrade preparation checklist
No. Item Check Point Result

1 Check the system The system software


software version version is between
V200R008C00 and
V200R022C00.
2 Check the running The switch functions
status of the device normally.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 24


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

No. Item Check Point Result

3 Set up an An environment is
environment for the set up for the
upgrade upgrade as required.
4 Obtain required Software required
software for the for the upgrade is
upgrade obtained.
5 Obtain the Latest The latest patch file
Patch (.pat) of the target
system software
version is obtained
from Huawei.
6 Verify the digital OpenPGP does not
signature of the detect errors when
system software verifying the digital
signature.
7 (Optional) Obtaining Required license
the License File for files have been
the Target Version obtained from
Huawei.
8 Preparing the The commands in
Configuration File the configuration
file meet the target
version
requirements.
9 Back up the key data All the key data in
in the flash memory the flash memory is
backed up.
10 Check the available The space in the
space in the flash flash memory is
memory sufficient for storing
the system software
package and other
files such as patch
files and
configuration files.

In the following sections, the S6730-H is used as an example to describe the upgrade procedure.

4.2 Obtaining Upgrade Reference Documents


Step 1 Log in to http://support.huawei.com/enterprise.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 25


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

Step 2 Search for S200, S300, S500, S1700, S2700, S5700, and S6700 V200R022C00 to obtain the
latest product documents and release notes.
----End

4.3 Obtaining Tools


Prepare the following tools before upgrading:
 Operation terminal, such as a desktop computer or a portable computer
 Network cable and serial cable
 FTP server software, TFTP server software, or SFTP server software for the upgrade

Huawei does not provide the SFTP server, FTP server, or TFTP server software. Obtain and install the
software before the upgrade.

4.4 Obtaining Required Software for the Upgrade


To obtain the required software for the upgrade, contact Huawei technical support personnel.

Table 4-1 Software for different upgrade methods


Upgrade Method Matching Software

Upgrading the version to V200R022C00 System software


using the command line 
S200: S200_V200R022C00.cc

S300: S300_V200R022C00.cc

S500: S500_V200R022C00.cc

S1720-GF: S1720-GF_V200R022C00.cc

S1720-GW: S1720-
GW_V200R022C00.cc

S1730S-H: S1730S-H_V200R022C00.cc

S1730S-S: S1730S-S_V200R022C00.cc

S1730S-S1: S1730S-
S1_V200R022C00.cc

S2720-EI: S2720EI_V200R022C00.cc

S2730S-S: S2730S-S_V200R022C00.cc

S5720-LI/S5720S-LI:
S5720LI_V200R022C00.cc

S5720I-SI: S5720SI_V200R022C00.cc

S5731-H/S5731S-H: S5731-
H_V200R022C00.cc

S5731-S/S5731S-S: S5731-
S_V200R022C00.cc

S5732-H: S5732-H_V200R022C00.cc

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 26


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

Upgrade Method Matching Software



S5735-L/S5735S-L/S5735S-L-M: S5735-
L_V200R022C00.cc

S5735-L1/S5735S-L1: S5735-
L1_V200R022C00.cc

S5735-S/S5735S-S: S5735-
S_V200R022C00.cc

S5735S-H: S5735-H_V200R022C00.cc

S5736-S: S5736-S_V200R022C00.cc

S6720-EI/S6720S-EI:
S6720EI_V200R022C00.cc

S6720S-S: S6720S-S_V200R022C00.cc

S6730-H/S6730S-H: S6730-
H_V200R022C00.cc

S6730-S/S6730S-S: S6730-
S_V200R022C00.cc

S6735-S: S6735-S_V200R022C00.cc
Upgrading the version to V200R022C00 The system software packages are the same
using BootLoad as those listed in the previous row.
BootLoad software:

S200: S200-uboot.bin and S200-
bootloader.bin

S300: S300-uboot.bin and S300-
bootloader.bin

S500: S500-uboot.bin and S500-
bootloader.bin

S1730S-H: S1730S-H-uboot.bin and
S1730S-H-bootloader.bin

S1730S-S: S1730S-S-uboot.bin and
S1730S-S-bootloader.bin

S2720-EI: S2720EI-uboot.bin and
S2720EI-bootloader.bin

S2730S-S: S2730S-S-uboot.bin and
S2730S-S-bootloader.bin

S5720-LI/S5720S-LI: S5720LI-uboot.bin
and S5720LI-bootloader.bin

S5720I-SI: S5720SI-uboot.bin and
S5720SI-bootloader.bin

S5720SV2-LI: S5720SV2-LI-uboot.bin
and S5720SV2-LI-bootloader.bin

S5731-H/S5731-S-H: S5731-H-uboot.bin
and S5731-H-bootloader.bin

S5731-S/S5731-S-S: S5731-S-uboot.bin
and S5731-S-bootloader.bin

S5732-H: S5732-H-uboot.bin and S5732-

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 27


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

Upgrade Method Matching Software

H-bootloader.bin

S5735-L/S5735S-L/S5735S-L-M: S5735-
L-uboot.bin and S5735-L-
bootloader.bin

S5735-L1: S5735-L1-uboot.bin and
S5735-L1-bootloader.bin

S5735S-L1: S5735S-L1-uboot.bin and
S5735S-L1-bootloader.bin

S5735-S/S5735S-S: S5735-S-uboot.bin
and S5735-S-bootloader.bin

S5735S-H: S5735S-H-uboot.bin and
S5735S-H-bootloader.bin

S5736-S: S5736-S-uboot.bin and S5736-
S-bootloader.bin

S6720-EI/S6720S-EI: S6720EI-uboot.bin
and S6720EI-bootloader.bin

S6720S-S: S6720S-S-uboot.bin and
S6720S-S-bootloader.bin

S6730-H/S6730S-H: S6730-H-uboot.bin
and S6730-H-bootloader.bin

S6730-S/S6730S-S: S6730-S-uboot.bin
and S6730-S-bootloader.bin

S6735-S: S6735-S-uboot.bin and S6735-
S-bootloader.bin

4.5 Preparing the Latest Patch

If the target version does not have a matching patch file, skip this step.

To obtain the latest patch of the target system software version, contact Huawei technical
support engineers or visit http://support.huawei.com/enterprise/.

4.6 Verifying Software Integrity


After downloading the software package, verify its integrity. If the software fails the integrity
check, download the software package again.

To prevent security risks, do not upload an incomplete software package to the switch.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 28


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

Using the OpenPGP Tool to Verify Integrity of a ZIP Package or Single File
To prevent a software package from being maliciously tampered with during transmission or
storage, download the corresponding digital signature file for integrity verification when
downloading the software package.
After the software package is downloaded, verify its PGP digital signature according to the
OpenPGP Signature Verification Guide. If the software package fails the verification, do not
use the software package, and contact Huawei technical support engineers.
Before a software package is used in installation or upgrade, its digital signature also needs to
be verified according to the OpenPGP Signature Verification Guide to ensure that the software
package is not tampered with.
Visit either of the following websites to obtain the OpenPGP Signature Verification Guide:
Carrier customers: https://support.huawei.com/carrier/digitalSignatureAction.
Enterprise customers: https://support.huawei.com/enterprise/en/tool/pgp-verify-
TL1000000054.

4.7 (Optional) Obtaining the License File for the Target


Version
4.7.1 Obtaining the License File in Typical Scenarios
Log in to the Huawei license system (https://app.huawei.com/isdp) to obtain a license file.

4.8 Preparing the Configuration File


To batch issue configurations to the device after upgrade, load the latest configuration file to
the device.

The new configuration file must contain the version information. Otherwise, some functions
are not as expected after the device restarts.

4.9 Checking the Current System Software Version


Run the display version command to view the system software version.
<HUAWEI> display version #The storage capacity may vary depending on the
actual environment.
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (S6730 V200R021C10SPC600)

Copyright (C) 2000-2020 HUAWEI TECH CO., LTD

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 29


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

HUAWEI S6730-H24X6C Routing Switch uptime is 0 week, 3 days, 3 hours, 34


minutes

CEM24S4Q2CQP01 0(Master) : uptime is 0 week, 3 days, 3 hours, 33 minutes

DDR Memory Size : 256 M bytes


FLASH Total Memory Size : 512 M bytes
FLASH Available Memory Size : 200 M bytes
Pcb Version : VER.B
BootROM Version : 020b.0001
CPLD Version : 0103
Software Version : VRP (R) Software, Version 5.170 (V200R021C10SPC600)

RPS information
RPS Version : 020a.0002

In the preceding display version command output, the content in bold indicates the version of
the system software currently running on the device. If the running system software version is
the target version, you do not need to perform an upgrade.

4.10 Checking the Switch Running Status


Run the display device command to check the switch running status. If the value of Status is
Normal, the switch can be upgraded.
<HUAWEI> display device
S6730-H24X6C's Device status:
Slot Sub Type Online Power Register Status Role
-------------------------------------------------------------------------------
2 - S6730-H24X6C Present PowerOn Registered Normal Master

4.11 Setting Up an Environment for the Upgrade


Upgrade Through TFTP or FTP
In the BootLoad menu or the command line view, you can use the Trivial File Transfer
Protocol (TFTP) or File Transfer Protocol (FTP) to download the system software, and set it
as the next startup system software. Then restart the switch to complete the upgrade. shows
the network diagram of upgrading the system through FTP or TFTP.
The general requirements for setting up an environment for upgrading the system through
TFTP or FTP are as follows:
 You can log in to the switch from a PC through the serial interface or Telnet.
 The server and the switch can communicate with each other.
 Files for the upgrade are stored on the server.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 30


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

Figure 4-1 Network diagram of upgrading the system through TFTP or FTP

Upgrade Through SFTP


You can download system software through Secure File Transfer Protocol (SFTP) in the
command view, specify the system software as the next startup system software, and then
restart the switch to complete the upgrade. shows the network diagram of the upgrade
environment.
The general requirements for setting up an environment for upgrading the system through
SFTP are as follows:
 You can log in to the switch from a PC through the serial interface or Telnet.
 The server and the switch can communicate with each other.
 Files for the upgrade are stored on the server.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 31


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

Figure 4-1 Networking diagram of upgrading the system through SFTP

Upgrade Through XModem


You can upgrade the basic and advanced BootLoad software using XModem in the basic
BootLoad menu; you can upgrade the system software using XModem in the BootLoad menu.
shows the network diagram of upgrading the system through XModem.
The general requirements for setting up an environment for upgrading the system through
XModem are as follows:
 The RS-232 serial interface on the PC and the console port on the switch are connected
through a console cable.
 Files for the upgrade are stored on the PC.

Figure 4-1 Network diagram of upgrading the system through XModem

4.12 Backing Up the Key Data in the Flash Memory


You must back up the key data stored in the flash memory before the upgrade. You can
download the data that needs to be backed up to the PC through SFTP, FTP or TFTP. After the
upgrade, you can reload the backup files to the flash memory. For details, see Upgrading a
Switch Using the Command Line.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 32


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

4.13 Checking the Flash Memory Space


Step 1 Run the dir command to check whether the flash memory space is sufficient for the upgrade
file. For a stack system, ensure that sufficient space is available for all member switches. The
following information shows that there is 4,544 KB space.
<HUAWEI> dir
Directory of flash:/

Idx Attr Size(Byte) Date Time FileName


0 -rw- 14,083,796 Oct 02 2020 14:44:50 S6730-H-V200R021C10SPC600.cc
1 -rw- 1,998 Oct 13 2020 07:57:22 private-data.txt
2 -rw- 3,284 Oct 13 2020 07:57:07 vrpcfg.zip
3 -rw- 11,177,996 Nov 04 2020 16:10:03 s6730.cc

30,008 KB total (4,544 KB free)

In the following example, the name of the device where the standby MPU resides in the stack
is slot1#flash.
<HUAWEI> cd slot1#flash:
<HUAWEI> dir
Directory of slot1#flash:/

Idx Attr Size(Byte) Date Time FileName


0 -rw- 14,083,796 Oct 02 2016 14:44:50 S6730-H-V200R021C10SPC600.cc

1 -rw- 1,998 Oct 13 2016 07:57:22 private-data.txt


2 -rw- 3,284 Oct 13 2016 07:57:07 vrpcfg.zip
3 -rw- 11,177,996 Nov 04 2016 16:10:03 s6730.cc

30,008 KB total (4,544 KB free)

Step 2 Delete redundant files.


If the available space is insufficient for the new system software, you must delete redundant
files to free up space.

Before deleting the system software (.cc), configuration file (.cfg or .zip), license file (.dat), web file
(.web.zip or .web.7z), patch file (.pat), and plugin (.mod), ensure that they are not in use.

Run the delete command to delete redundant files to ensure that there is enough space for
storing relevant upgrade files. Confirm that the file you want to delete has been backed up or
is not needed. In this example, the s6730.cc file is deleted. For details, see File Management
in the CLI-based Configuration Guide - Basic Configuration.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 33


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 3 Preparations for Upgrade

After you run the delete/unreserved command to delete a file from the flash memory, the file
cannot be restored; therefore, run this command with caution, and a file backup is
recommended.

<HUAWEI> delete /unreserved s6730.cc

Warning: The contents of file flash:/s6730.cc cannot be recycled. Continue?


[Y/N]:y
Info: Deleting file flash:/s6730.cc...succeeded.

If the standby MPU has insufficient space, delete redundant files from the standby MPU to
release space. For example, the name of the device where the standby MPU resides is
slot1#flash and the file to be deleted is s6730
<HUAWEI> cd slot1#flash:
<HUAWEI> delete /unreserved s6730.cc

Warning: The contents of file slot1#flash:/s6730.cc cannot be recycled. Continue?


[Y/N]:y
Info: Deleting file slot1#flash:/s6730.cc...succeeded.

----End

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 34


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

5 Upgrade Operations on a Single Switch

4.1 Upgrading a Switch Using the Command Line


4.2 Web-based Upgrade
4.3 Upgrading the Version Using BootLoad
4.4 Upgrading a Switch Using a USB Flash Drive
4.5 Upgrading the Version Using the HOUP
4.6 Upgrading the Version Using eDesk Pro

5.1 Upgrading a Switch Using the Command Line


The command line upgrade method has little impact on services; therefore, you are advised to
upgrade an operating switch by using the command line.

Purpose To upgrade the system software

Impact Services are interrupted when the switch


restarts.
Time Required In the scenario where a single switch is
configured and service deployment is
simple, services are interrupted for about 5
minutes. In the scenario where service
deployment is complicated, the service
interruption time increases and the time
depends on the complexity of services.
Prerequisites 
The switch that runs system software of
an earlier version functions properly.

The available space in the flash memory
is sufficient for storing the system
software.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 35


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch


The methods of upgrading the system software using command line are similar on the S200, S300,
S500, S1700, S2700, S5700, and S6700. In the following description, the system software of the
S6730-H is upgraded.

The MEth interface can be used as a Layer 3 interface.

Before the upgrade, use the terminal monitor command to enable the terminal to display logs,
traps, and debugging information sent from the information center.

In the following sections, the patch to be installed is S6730-H-V200R021SPH001.pat.

You can use any of the following methods to load the system software:
 Use the S6730-H as the TFTP client.
 Use the S6730-H as the FTP server.
 Use the S6730-H as the FTP client.
 Use the S6730-H as the SFTP client.
 Use the S6730-H as the SFTP server.
FTP and TFTP are insecure. SFTP is recommended.

5.1.1 Method 1: Using the Switch as the TFTP Client

Huawei does not provide the TFTP server software. Obtain and install the software before the upgrade.

Step 1 Configure the TFTP server.


Run the TFTP server program on a PC and configure the PC:
 Click Browse to set the directory for storing the new system software.
 The TFTP server address in Server interface is automatically set by the system, for
example, 10.164.30.29.

Do not stop the TFTP server program when you are backing up data.

Step 2 Back up the system software, configuration file, and patch file to the TFTP server.

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

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. Ensure that the two files have the same size.
<HUAWEI> dir *.cc
Directory of flash:/

Idx Attr Size(Byte) Date Time FileName


0 -rw- 14,083,796 Oct 02 2016 14:44:50 s6730-h-v200r021c10spc600.cc

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 36


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

30,008 KB total (15,932 KB free)


<HUAWEI> dir *.zip
Directory of flash:/

Idx Attr Size(Byte) Date Time FileName


0 -rw- 3,284 Oct 13 2016 07:57:07 vrpcfg.zip

30,008 KB total (15,932 KB free)


<HUAWEI> dir *.pat
Directory of flash:/

Idx Attr Size(Byte) Date Time FileName


0 -rw- 90,602 Oct 02 2016 15:10:03 s6730-h-v200r021sph001.pat

30,008 KB total (15,932 KB free)

Run the following commands on the switch to back up the data. The backup system software
is s6730-h-v200r021c10spc600-bak.cc, the backup configuration file is vrpcfg-bak.zip, and
the backup patch file is s6730-h-v200r021sph001-bak.pat.
<HUAWEI> tftp 10.164.30.29 put s6730-h-v200r021c10spc600.cc
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...|
TFTP: Uploading the file successfully.
14083796 byte(s) sent in 91 seconds.
<HUAWEI> tftp 10.164.30.29 put vrpcfg.zip vrpcfg-bak.zip
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait.../
TFTP: Uploading the file successfully.
3284 byte(s) sent in 0.01 second(s).
<HUAWEI> tftp 10.164.30.29 put s6730-h-v200r021sph001.pat s6730-h-v200r021sph001-
bak.pat
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...\
TFTP: Uploading the file successfully.
90602 byte(s) sent in 1 second(s).

Step 3 Obtain the system software of the target version from the server.
<HUAWEI> tftp 10.164.30.29 get S6730-H-V200R022C00.cc
Info: Transfer file in binary mode.
Downloading the file from the remote TFTP server. Please wait.../
TFTP: Downloading the file successfully.
14,701,348 byte(s) received in 93 second(s).

If the message "Downloading the file successfully" is displayed, the system software has
been downloaded.

If the file size is too large, file transfer may require more than 2 minutes.

Step 4 Obtain the patch file.


If the target system software version does not have a matching patch file, skip this step.
<HUAWEI> tftp 10.164.30.29 get S6730-H-V200R021SPH001.pat.pat

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 37


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Step 5 (Optional) Obtain the license file from the server.


<HUAWEI> tftp 10.164.30.29 get license.dat
Info: Transfer file in binary mode.
Downloading the file from the remote TFTP server. Please wait...\
TFTP: Downloading the file successfully.
1748 byte(s) received in 1 second(s).

Step 6 Obtain the new configuration file from the server.


If the configuration file does not need to be changed after the upgrade, this step is not
required.
<HUAWEI> tftp 10.164.30.29 get vrpcfgnew.zip
Info: Transfer file in binary mode.
Downloading the file from the remote TFTP server. Please wait.../
TFTP: Downloading the file successfully.
2757 byte(s) received in 1 second(s).

Step 7 Specify the system software that is loaded when the switch starts.
<HUAWEI> startup system-software S6730-H-V200R022C00.cc

If the following information is displayed when you run the startup system-software file command,
enter Y to update the BootROM. When the update is successful, the system proceeds to the next step. If
the following information is not displayed, go to the next step.
Warning: Basic BootROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BootROM,please wait for a moment...

Info: BootROM upgrade is ok.


Info: Succeeded in setting the software for booting system.

Step 8 (Optional) Specify the configuration file for the device startup.
<HUAWEI> startup saved-configuration vrpcfgnew.zip
Info: Succeeded in setting the configuration for booting system.

Step 9 Specify the patch file that is loaded when the switch starts.

If the target system software version does not have a matching patch file, skip this step.
<HUAWEI> startup patch S6730-H-V200R021SPH001.pat

Step 10 (Optional) Upgrade the AP.


If the WLAN function has been configured before the upgrade, upgrade the AP version to
match the switch version V200R022C00; otherwise, the AP cannot go online. For the version
mappings, see Version Mappings in the release notes. For the upgrade of APs, seeUpgrading
AP Through AC.
Step 11 Restart the switch.
When the system asks you whether to save the configuration, enter y or n. After the setting is
complete, enter y to restart the system.
For switches running versions earlier than V200R009C00:

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 38


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

<HUAWEI> reboot
Info: The system is now comparing the configuration, please wait.
Warning: The configuration has been modified, and it will be saved to the next s
tartup saved-configuration file flash:/105_xu.cfg. Continue? [Y/N]:y
Now saving the current configuration to the slot 0....
Save the configuration successfully.
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
Info: System is rebooting, please wait.

For switches running V200R009C00 and later versions:


<HUAWEI> reboot
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
Info: System is rebooting, please wait...

Device reboot may require over 5 minutes.


After an unconfigured switch is upgraded to V200R020C00 or a later version, you must create an
administrator account and configure the password before logging in to the switch.

Step 12 (Optional) Activate the license.


After a license file is loaded to the switch, you must activate it; otherwise, the license will not
take effect.
<HUAWEI> license active license.dat

----End

5.1.2 Method 2: Using the Switch as the FTP Server

Huawei does not provide the FTP client software. Obtain and install the software before the upgrade.

Step 1 Set an IP address for the switch.


An idle service interface is recommended. The following uses VLANIF 10 and the IP address
10.1.1.1/24 as an example.
<HUAWEI> system-view
[HUAWEI] interface GigabitEthernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] port link-type access
[HUAWEI-GigabitEthernet0/0/1] quit
[HUAWEI] vlan 10
[HUAWEI-vlan10] port GigabitEthernet 0/0/1
[HUAWEI-vlan10] quit
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] ip address 10.1.1.1 24
[HUAWEI-Vlanif10] quit
[HUAWEI]

Step 2 Configure the switch as an FTP server.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 39


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Configure the switch as the FTP server, set the source interface to VLANIF 10, FTP user
name to ftpuser, password to admin@123456, and FTP working directory to flash:/.
<HUAWEI> system-view
[HUAWEI] ftp server-source -i vlanif 10
Warning: To make the server source configuration take effect, the FTP server will
be restarted. Continue? [Y/N]: y
Info: Succeeded in setting the source interface of the FTP server to
GigabitEthernet 0/0/1.
Info: Succeeded in starting the FTP server.
[HUAWEI] ftp server enable
[HUAWEI] aaa
[HUAWEI-aaa] local-user ftpuser password irreversible-cipher admin@123456
[HUAWEI-aaa] local-user ftpuser privilege level 3
[HUAWEI-aaa] local-user ftpuser service-type ftp
[HUAWEI-aaa] local-user ftpuser ftp-directory flash:
[HUAWEI-aaa] return

The user level must be set to 3 or upper levels to ensure successful connection establishment.

Step 3 Log in to the FTP server (switch).

Assume that the Windows XP operating system is used.

Save the file to be uploaded in the specified directory (for example, the D:\> directory).
Choose Start > Run. Enter cmd and press Enter. Then enter d:. Enter FTP 10.1.1.1. Enter
the user name at the User prompt and the password at the Password prompt, and then press
Enter. The following information is displayed:
D:\>ftp 10.1.1.1
Connected to 10.1.1.1.
220 FTP service ready.
User (10.1.1.1:(none)): ftpuser
331 Password required for 1.
Password:
230 User logged in.
ftp>

Step 4 Back up the system software, configuration file, and patch file to the D:\> directory.
ftp> binary
200 Type set to I.
ftp> get s6730-h-v200r021c10spc600.cc
200 Port command okay.
150 Opening BINARY mode data connection for directory list.
226 Transfer complete.
ftp: 14083796 bytes received in 10.43 seconds 1350.65Kbytes/sec.

If the file size is too large, file transfer may take more than 2 minutes.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 40


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

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

The preceding output indicates that the system software has been transferred and you can find
it in the D:\> directory.
ftp> get vrpcfg.zip
200 Port command okay.
150 Opening BINARY mode data connection for directory list.
226 Transfer complete.
ftp: 589 bytes received in 0.01 seconds 60Kbytes/sec.

The preceding output indicates that the system software has been transferred and you can find
it in the D:\> directory.
ftp> get s6730-h-v200r021sph001.pat
200 Port command okay.
150 Opening BINARY mode data connection for directory list.
226 Transfer complete.
ftp: 90602 bytes received in 0.07 seconds 1333.74Kbytes/sec.

The preceding output indicates that the system software has been transferred and you can find
it in the D:\> directory.
Step 5 Upload the system software of the target version to the switch.
Run the put source-filename [ destination-filename ] command on the FTP client (PC) to
upload the system software from the PC.
ftp> put S6730-H-V200R022C00.cc
200 Port command okay.
150 Opening BINARY mode data connection for directory list.
226 Transfer complete.
ftp: 14,701,348 bytes sent in 104.44Seconds 140.76Kbytes/sec.
ftp>

If the file size is too large, file transfer may take more than 2 minutes.

Step 6 Obtain the patch file.


If the target system software version does not have a matching patch file, skip this step.
ftp> put S6730-H-V200R021SPH001.pat

Step 7 (Optional) Upload the license file to the switch.


ftp> put license.dat

Step 8 Upload the configuration file to the switch.


If the configuration file does not need to be changed after the upgrade, this step is not
required.
ftp> put vrpcfgnew.zip

Step 9 (Optional) Disable FTP server on the switch to ensure network security.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 41


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

[HUAWEI] undo ftp server


Info: Succeeded in closing the FTP server.
[HUAWEI] quit

Step 10 Specify the system software that is loaded when the switch starts.
<HUAWEI> startup system-software S6730-H-V200R022C00.cc

If the following information is displayed when you run the startup system-software file command,
enter Y to update the BootROM. When the update is successful, the system proceeds to the next step. If
the following information is not displayed, go to the next step.
Warning: Basic BootROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BootROM,please wait for a moment...

Info: BootROM upgrade is ok.


Info: Succeeded in setting the software for booting system.

Step 11 (Optional) Specify the configuration file for the device startup.
<HUAWEI> startup saved-configuration vrpcfgnew.zip
Info: Succeeded in setting the configuration for booting system.

Step 12 Specify the patch file that is loaded when the switch starts.

If the target system software version does not have a matching patch file, skip this step.
<HUAWEI> startup patch S6730-H-V200R022SPH001.pat

Step 13 (Optional) Upgrade the AP.


If WLAN has been configured before the upgrade, upgrade the AP version to a version that
matches the switch version V200R022C00; otherwise, the AP cannot go online. For the
version mappings, see "Version Mappings" in the Release Notes. For the upgrade of APs, see
Upgrading AP Through AC.
Step 14 Restart the switch.
When the system asks you whether to save the configuration, enter y or n. After the setting is
complete, enter y to restart the system.
For switches running versions earlier than V200R009C00:
<HUAWEI> reboot
Info: The system is now comparing the configuration, please wait.
Warning: The configuration has been modified, and it will be saved to the next s
tartup saved-configuration file flash:/105_xu.cfg. Continue? [Y/N]:y
Now saving the current configuration to the slot 0....
Save the configuration successfully.
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
Info: System is rebooting, please wait

For switches running V200R009C00 and later versions:


<HUAWEI> reboot
Info: If want to reboot with saving diagnostic information, input 'N' and then e
xecute 'reboot save diagnostic-information'.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 42


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

System will reboot! Continue?[Y/N]:y


Info: System is rebooting, please wait...

Device reboot may require over 5 minutes.


After an unconfigured device is upgraded to V200R020C00 or a later version, you must create a user
name and a password to log in to the device.

Step 15 (Optional) Activate the license.


After a license file is loaded to the switch, you must activate it; otherwise, the license will not
take effect.
<HUAWEI> license active license.dat

----End

5.1.3 Method 3: Using the Switch as the FTP Client

Huawei does not provide FTP server software. Obtain and install the software before the upgrade.

Step 1 Configure a PC as the FTP server.


Run an FTP server program on the PC. Choose Security > Users/rights.
Click New User to set the user name and password. Here, the user name is S6730 and the
password is admin@123456. Set the FTP working directory in the home directory, for
example, D:\ftp. Place the V200R021 system software package, patch file, and configuration
file to the FTP working directory. Click Done to close the dialog box.
Do not stop the FTP server program when the system is backing up data.
Step 2 Back up the system software, configuration file, and patch file.

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

The FTP commands on the switch are the same as the FTP commands in the DOS system.
Assume that the IP address of the FTP server is 10.164.30.27, the FTP user name is S6730,
and the password of the FTP user is admin@123456.
<HUAWEI> cd flash:/
<HUAWEI> ftp 10.164.30.27
Trying 10.164.30.27 ...
Press CTRL+K to abort
Connected to 10.164.30.27.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(10.164.30.27:(none)):S6730 # Enter the user name and press Enter.
331 Give me your password, please
Enter password: # Enter admin@123456 and press Enter. The password is not
displayed on the screen.
230 Logged in successfully

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 43


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

[ftp] binary
200 Type set to I.

Back up the system software s6730-h-v200r021c10spc600.cc to the FTP server and specify
the name of the backup file as s6730-h-v200r021c10spc600-bak.cc. If the name of the
backup file is not specified, the original name is used.
[ftp] put s6730-h-v200r021c10spc600.cc s6730-h-v200r021c10spc600-bak.cc
200 PORT command okay
150 "D:\s6730-h-v200r021c10spc600-bak.cc" file ready to receive in ASCII mode
226 Transfer finished successfully.
FTP: 14083796 byte(s) sent in 11.09 second(s) 1296.55Kbyte(s)/sec.

Back up the configuration file vrpcfg.zip to the FTP server and specify the name of the
backup file as vrpcfg-bak.zip. If the name of the backup file is not specified, the original
name is used.
[ftp] put vrpcfg.zip vrpcfg-bak.zip
200 PORT command okay
150 "D:\vrpcfg-bak.zip" file ready to receive in ASCII mode
226 Transfer finished successfully.
FTP: 1387 byte(s) sent in 0.176 second(s) 22.04Kbyte(s)/sec.

Back up the patch file s6730-h-v200r021sph001.pat to the FTP server and specify the name
of the backup file as s6730-h-v200r021sph001-bak.pat. If the name of the backup file is not
specified, the original name is used.
[ftp] put s6730-h-v200r021sph001.pat s6730-h-v200r021sph001-bak.pat
200 PORT command okay
150 "D:\s6730-h-v200r021sph001-bak.pat" file ready to receive in ASCII mode
226 Transfer finished successfully.
FTP: 90602 byte(s) sent in 0.087 second(s) 1035.51Kbyte(s)/sec.

Step 3 Obtain the system software of the target version.


[ftp] get S6730-H-V200R022C00.cc
200 PORT command okay
150 "D:\s6730-he600-V200R022C00.cc" file ready to receive in ASCII mode
226 Transfer finished successfully.
FTP: 14,701,348 byte(s) received in 13.157 second(s) 1117.40Kbyte(s)/sec.

If the file size is too large, file transfer may require more than 2 minutes.

Step 4 Obtain the patch file.


If the target system software version does not have a matching patch file, skip this step.
[ftp] get S6730-H-V200R021SPH001.pat

Step 5 (Optional) Obtain the license file.


[ftp] get license.dat

Step 6 Obtain the new configuration file.


If the configuration file does not need to be changed after the upgrade, this step is not
required.
[ftp] get vrpcfgnew.zip

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 44


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Step 7 Close the FTP connection.


[ftp] bye
221 Windows FTP Server (WFTPD, by Texas Imperial Software) says goodbye

Step 8 Specify the system software that is loaded when the switch starts.
<HUAWEI> startup system-software S6730-H-V200R022C00.cc

If the following information is displayed when you run the startup system-software file command,
enter Y to update the BootROM. When the update is successful, the system proceeds to the next step. If
the following information is not displayed, go to the next step.
Warning: Basic BootROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BootROM,please wait for a moment...

Info: BootROM upgrade is ok.


Info: Succeeded in setting the software for booting system.

Step 9 (Optional) Specify the configuration file for the device startup.
<HUAWEI>startup saved-configuration vrpcfgnew.zip
Info: Succeeded in setting the configuration for booting system.

Step 10 Specify the patch file that is loaded when the switch starts.

If the target system software version does not have a matching patch file, skip this step.
<HUAWEI> startup patch S6730-H-V200R021SPH001.pat

Step 11 (Optional) Upgrade the AP.


If the WLAN function has been configured before the upgrade, upgrade the AP version to
match switch version V200R022C00; otherwise, the AP cannot go online. For the version
mappings, see Version Mappings in the release notes. For the upgrade of APs, seeUpgrading
AP Through AC.
Step 12 Restart the switch.
When the system asks you whether to save the configuration, enter y or n. After the setting is
complete, enter y to restart the system.
For switches running versions earlier than V200R009C00:
<HUAWEI> reboot
Info: The system is now comparing the configuration, please wait.
Warning: The configuration has been modified, and it will be saved to the next s
tartup saved-configuration file flash:/105_xu.cfg. Continue? [Y/N]:y
Now saving the current configuration to the slot 0....
Save the configuration successfully.
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
Info: System is rebooting, please wait.

For switches running V200R009C00 and later versions:


<HUAWEI> reboot
Info: If want to reboot with saving diagnostic information, input 'N' and then e

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 45


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

xecute 'reboot save diagnostic-information'.


System will reboot! Continue?[Y/N]:y
Info: System is rebooting, please wait...

Device reboot may require over 5 minutes.


After an unconfigured switch is upgraded to V200R020C00 or a later version, you must create an
administrator account and configure the password before logging in to the switch.

Step 13 (Optional) Activate the license.


After a license file is loaded to the switch, you must activate it; otherwise, the license will not
take effect.
<HUAWEI> license active license.dat

----End

5.1.4 Method 4: Using the Switch as the SFTP Client

Huawei does not provide SFTP server software. Obtain and install the software before the upgrade.

Step 1 Configure a PC as an SFTP server.


Run the SFTP server on the PC, for example, the Core FTP mini-sftp-server, on the PC.

Click User and set the user name and password. Here, the user name is 123 and the password
is 123. Enter the SFTP working directory, for example, D:\ftp. Do not stop the SFTP server
program when you are backing up data.
Step 2 Back up the system software, configuration file, and patch file.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 46


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

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

The SFTP commands on the switch are the same as the SFTP commands in the DOS system.
In this example, the SFTP server IP address is 10.138.112.38, the FTP user name is 123, and
the password of the SFTP user is 123.
<HUAWEI> cd flash:/
<HUAWEI> system-view
[HUAWEI] ssh client first-time enable
[HUAWEI] sftp 10.138.112.38
Please input the username:123
Trying 10.138.112.38 ...
Press CTRL+K to abort
Connected to 10.138.112.38 ...
The server is not authenticated. Continue to access it? [Y/N] :y
Save the server's public key? [Y/N] :y
The server's public key will be saved with the name 10.138.112.38. Please wait…

Enter password: #Enter the password.


sftp-client>

Back up the system software s6730-h-v200r021c10spc600.cc to the SFTP server and specify
the name of the backup file as s6730-h-v200r021c10spc600-bak.cc. If the name of the
backup file is not specified, the original name is used.
sftp-client> put s6730-h-v200r021c10spc600.cc s6730-h-v200r021c10spc600-bak.cc

local file: s6730-h-v200r021c10spc600.cc ---> Remote file: / s6730-h-


v200r021c10spc600-bak.cc
|
Info: Uploading file successfully ended.
SFTP: 14083796 byte(s) sent in 11.09 second(s) 1296.55Kbyte(s)/sec.

Back up the configuration file vrpcfg.zip to the SFTP server and specify the name of the
backup file as vrpcfg-bak.zip. If the name of the backup file is not specified, the original
name is used.
sftp-client> put vrpcfg.zip vrpcfg-bak.zip
local file: vrpcfg.zip ---> Remote file: / vrpcfg-bak.zip
|
Info: Uploading file successfully ended.
SFTP: 1387 byte(s) sent in 0.176 second(s) 22.04Kbyte(s)/sec.

Back up the patch file s6730-h-v200r021sph001.pat to the SFTP server and specify the name
of the backup file as s6730-h-v200r021sph001-bak.pat. If the name of the backup file is not
specified, the original name is used.
sftp-client> put s6730-h-v200r021sph001.pat s6730-h-v200r021sph001-bak.pat
local file: s6730-h-v200r021sph001.pat ---> Remote file: / s6730-h-
v200r021sph001-bak.pat
|
Info: Uploading file successfully ended.
SFTP: 90602 byte(s) sent in 0.087 second(s) 1035.51Kbyte(s)/sec.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 47


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Step 3 Obtain the system software of the target version.


sftp-client> get S6730-H-V200R022C00.cc
Remote file: / S6730-H-V200R022C00.cc ---> Local file: S6730-H-V200R022C00.cc
\
End of file
Info: Downloading file successfully ended.
SFTP: 14,701,348 byte(s) received in 13.157 second(s) 1117.40Kbyte(s)/sec.

If the file size is too large, file transfer may require more than 2 minutes.

You can specify the file name of the loaded system software. If the file name is not specified,
the original name is used.
Step 4 Obtain the new patch file.
If the patch file is not modified, this step is not required
sftp-client> get S6730-H-V200R021SPH001.pat

Step 5 (Optional) Obtain the license file.


sftp-client> get license.dat

Step 6 Obtain the new configuration file.


If the configuration file does not need to be changed after the upgrade, this step is not
required.
sftp-client> get vrpcfgnew.zip

Step 7 Close the SFTP connection.


sftp-client>quit
[HUAWEI]quit

Step 8 Specify the system software that is loaded when the switch starts.
<HUAWEI> startup system-software S6730-H-V200R022C00.cc

If the following information is displayed when you run the startup system-software file command,
enter Y to update the BootROM. When the update is successful, the system proceeds to the next step. If
the following information is not displayed, go to the next step.
Warning: Basic BootROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BootROM,please wait for a moment...

Info: BootROM upgrade is ok.


Info: Succeeded in setting the software for booting system.

Step 9 (Optional) Specify the configuration file for the device startup.
<HUAWEI>startup saved-configuration vrpcfgnew.zip
Info: Succeeded in setting the configuration for booting system.

Step 10 Specify the patch file that is loaded when the switch starts.

If the target system software version does not have a matching patch file, skip this step.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 48


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

<HUAWEI>startup patch S6730-H-V200R021SPH001.pat

Step 11 (Optional) Upgrade the AP.


If the WLAN function has been configured before the upgrade, upgrade the AP version to
match switch version V200R022C00; otherwise, the AP cannot go online. For the version
mappings, see Version Mappings in the release notes. For the upgrade of APs, seeUpgrading
AP Through AC.
Step 12 Restart the switch.
When the system asks you whether to save the configuration, enter y or n. After the setting is
complete, enter y to restart the system.
For switches running versions earlier than V200R009C00:
<HUAWEI>reboot
Info: The system is now comparing the configuration, please wait.
Warning: The configuration has been modified, and it will be saved to the next s
tartup saved-configuration file flash:/105_xu.cfg. Continue? [Y/N]:y
Now saving the current configuration to the slot 0....
Save the configuration successfully.
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
Info: System is rebooting, please wait.

For switches running V200R009C00 and later versions:


<HUAWEI> reboot
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
Info: System is rebooting, please wait...

Device reboot may require over 5 minutes.


After an unconfigured switch is upgraded to V200R020C00 or a later version, you must create an
administrator account and configure the password before logging in to the switch.

Step 13 (Optional) Activate the license.


After a license file is loaded to the switch, you must activate it; otherwise, the license will not
take effect.
<HUAWEI>license active license.dat

----End

5.1.5 Method 5: Using the Switch as the SFTP Server

When the source version is V200R009C00 or an earlier version, it is time-consuming to transfer system
software packages if a switch acts as the SFTP server. Therefore, using a switch as an SFTP client is
recommended.
The switch does not provide the SFTP client software. Obtain and install the software before the
upgrade.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 49


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Step 1 Configure the switch as an SFTP server.


Set the SFTP user name to sftpuser, the password to admin@123456, and the SFTP working
directory to flash:/.
<HUAWEI> system-view
Enter system view, return user view with Ctrl+Z.
[HUAWEI] dsa local-key-pair create
Info: The key name will be: HUAWEI_Host_DSA.
Info: The key modulus can be any one of the following : 1024, 2048.
Info: If the key modulus is greater than 512, it may take a few minutes.
Please input the modulus [default=2048]:
Info: Generating keys...
Info: Succeeded in creating the DSA host keys.
[HUAWEI] sftp server-source -i GigabitEthernet 0/0/1
Warning: To make the server source configuration take effect, the SFTP server will
be restarted. Continue? [Y/N]: y
Info: Succeeded in setting the source interface of the SFTP server to
GigabitEthernet 0/0/1.
Info: Succeeded in starting the SFTP server.
[HUAWEI] sftp server enable
Info: Succeeded in starting the SFTP server.
[HUAWEI] ssh user sftpuser sftp-directory flash:/
[HUAWEI] ssh user sftpuser authentication-type password
[HUAWEI] ssh user sftpuser service-type sftp
[HUAWEI] ssh user sftpuser authorization-cmd aaa
Info: Please make sure that the command line authorization method has been set for
the user.
[HUAWEI] aaa
[HUAWEI-aaa] local-user sftpuser password irreversible-cipher admin@123456
[HUAWEI-aaa] local-user sftpuser privilege level 3
[HUAWEI-aaa] local-user sftpuser service-type ssh
[HUAWEI-aaa] quit
[HUAWEI] user-interface vty 0
[HUAWEI-ui-vty0] authentication-mode aaa
[HUAWEI-ui-vty0] user privilege level 3
[HUAWEI-ui-vty0] protocol inbound ssh
[HUAWEI-ui-vty0] quit

Step 2 Set an IP address for the switch.


An idle interface with the default configuration is recommended. Here, GigabitEthernet0/0/1
is used as an example.
[HUAWEI] interface GigabitEthernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] port link-type access
[HUAWEI-GigabitEthernet0/0/1] quit
[HUAWEI] vlan 10
[HUAWEI-vlan10] port GigabitEthernet 0/0/1
[HUAWEI-vlan10] quit
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] ip address 10.1.1.1 24
[HUAWEI-Vlanif10] quit
[HUAWEI]

Step 3 Log in to the SFTP server (switch).

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 50


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

This example assumes that the SFTP server runs the Windows XP operating system. OpenSSH
commands can be used in the Windows command line interface only after the OpenSSH software is
installed.

Save the file in the specified directory (for example, D:\>directory) on the PC. Choose Start
> Run. Enter cmd and press Enter. Then enter d:, sftp [email protected], and the password
at the prompt, and then press Enter. The command output information is as follows:
D:\>sftp [email protected]
Connecting to 10.1.1.1...
The authenticity of host '10.1.1.1 (10.1.1.1)' can't be established.
DSA key fingerprint is 69:1c:c6:20:5b:29:0e:15:47:50:4f:31:ae:68:5b:0e.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.1.1.1' (DSA) to the list of known hosts.
User Authentication
Password:
sftp>

Step 4 Back up the system software, configuration file, and patch file to D:\>directory.
sftp> get s6730-h-v200r021c10spc600.cc
Remote file: /s6730-h-v200r021c10spc600.cc ---> Local file: s6730-h-
v200r021c10spc600.cc
|
End of file
Success
Info: Downloading file successfully ended.

If the file size is too large, file transfer may require more than 2 minutes.

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

The preceding information indicates that the system software has been transferred
successfully and you can find the file in D:\>directory.
sftp> get vrpcfg.zip
Remote file: / vrpcfg.zip ---> Local file: vrpcfg.zip
|
End of file
Success
Info: Downloading file successfully ended.

The preceding information indicates that the system software has been transferred
successfully and you can find the file in D:\>directory.
sftp> get s6730-h-v200r021sph001.pat
Remote file: /s6730-h-v200r021sph001.pat ---> Local file: s6730-h-
v200r021sph001.pat
|
End of file

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 51


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Success
Info: Downloading file successfully ended.

The preceding information indicates that the system software has been transferred
successfully and you can find the file in D:\>directory.
Step 5 Upload the system software of the target version to the switch.
Run the put source-filename [destination-filename ] command on the SFTP client (PC) to
upload new version files to the switch.
sftp> put S6730-H-V200R022C00.cc
local file: S6730-H-V200R022C00.cc ---> Remote file: / S6730-H-V200R022C00.cc
\
Success
Info: Uploading file successfully ended.
sftp>

If the file size is too large, file transfer may require more than 2 minutes.

Step 6 Obtain the patch file.


If the target system software version does not have a matching patch file, skip this step.
sftp> put S6730-H-V200R021SPH001.pat

Step 7 (Optional) Upload the license file to the switch.


sftp> put license.dat

Step 8 Upload the configuration file to the switch.


If the configuration file does not need to be changed after the upgrade, this step is not
required.
sftp> put vrpcfgnew.zip

Step 9 (Optional) Disable SFTP server on the switch to ensure network security.
[HUAWEI] undo sftp server enable
Info: Succeeded in closing the SFTP server.
[HUAWEI] quit

Step 10 Specify the system software that is loaded when the switch starts.
<HUAWEI> startup system-software S6730-H-V200R022C00.cc

If the following information is displayed when you run the startup system-software file command,
enter Y to update the BootROM. When the update is successful, the system proceeds to the next step. If
the following information is not displayed, go to the next step.
Warning: Basic BootROM will be upgraded. Continue?(Y/N)[N]: y
Upgrading BootROM,please wait for a moment...

Info: BootROM upgrade is ok.


Info: Succeeded in setting the software for booting system.

Step 11 (Optional) Specify the configuration file for the device startup.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 52


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

<HUAWEI> startup saved-configuration vrpcfgnew.zip


Info: Succeeded in setting the configuration for booting system.

Step 12 Specify the patch file that is loaded when the switch starts.

If the target system software version does not have a matching patch file, skip this step.
<HUAWEI> startup patch S6730-H-V200R021SPH001.pat

Step 13 (Optional) Upgrade the AP.


If the WLAN function has been configured before the upgrade, upgrade the AP version to
match the switch version V200R022C00; otherwise, the AP cannot go online. For the version
mappings, see Version Mappings in the release notes. For the upgrade of APs, seeUpgrading
AP Through AC.
Step 14 Restart the switch.
When the system asks you whether to save the configuration, enter y or n. After the setting is
complete, enter y to restart the system.
For switches running versions earlier than V200R009C00:
<HUAWEI> reboot
Info: The system is now comparing the configuration, please wait.
Warning: The configuration has been modified, and it will be saved to the next s
tartup saved-configuration file flash:/105_xu.cfg. Continue? [Y/N]:y
Now saving the current configuration to the slot 0....
Save the configuration successfully.
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
Info: System is rebooting, please wait

For switches running V200R009C00 and later versions:


<HUAWEI> reboot
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
Info: System is rebooting, please wait...

Device reboot may require over 5 minutes.


After an unconfigured switch is upgraded to V200R020C00 or a later version, you must create an
administrator account and configure the password before logging in to the switch.

Step 15 (Optional) Activate the license.


After a license file is loaded to the switch, you must activate it; otherwise, the license will not
take effect.
<HUAWEI> license active license.dat

----End

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 53


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

5.2 Web-based Upgrade

This chapter uses V200R021C10SPC600 as the basic version and V200R022C00 as the target
version.
This section describes only the web-based upgrade for a stand-alone switch.
The methods of upgrading the system software are similar on the S200, S300, S500, S1700,
S2700, S5700, and S6700. In the following description, the system software of the S6720 is
upgraded.
V200R011C10 and later versions do not support Web Classic Edition.
For more upgrade precautions, see Precautions.

5.2.1 Web System Use Precautions


 The operating system required for web system login in V200R022C00 must be the
Windows 7.0, Windows 8.0, Windows 8.1, Windows 10.0, or iOS operating system. The
iOS operating system supports only login to the EasyOperation web system, but does not
support file uploading and downloading.
 The browsers required for EasyOperation web system login in V200R022C00 must be
the Microsoft Edge, IE11.0, FireFox 58.0-62.0, or Chrome 60.0-69.0. The browsers
required for Classic web system login must be IE11.0 or FireFox 39.0-49.0. If the
browser version or browser patch version is not within the preceding ranges, the web
page may not be properly displayed. Upgrade the browser and browser patch. In
addition, the browser must support JavaScript.
 When the system software version changes, such as upgrade or downgrade, you are
advised to clear the browser cache before using the web system; otherwise, the page may
not be correctly displayed.
 The web system does not support the built-in back, next, and update buttons of the
browser. Using these buttons will return the system to the monitoring or device panel
page.
 The minimum SSL version supported by SSL policy is TLS 1.1. Ensure that the SSL
version supported by your browser is the same as the SSL version supported by the
switch; otherwise, you may fail to log in to the web system. To view the supported SSL
version, for example, in IE, Choose Tools > Internet Options > Advanced.
 Before rolling V200R002 or a later version back to an earlier version, back up the SSL
private key file.

For more precautions of using the web system, see the corresponding web-based
configuration sections in the Product Documentation.

5.2.2 Upgrade Procedure (EasyOperation)

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 54


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

For the preparations such as new system software, patch file, and configuration file, see
Preparations for Upgrade.
Back up the old configuration file before the upgrade, which will be used in rollback.
Otherwise, the rollback may fail.
The product models, system software, configuration file, and patch file in the screenshots in
this section are only represented in their formats, but not actual values.

Step 1 Log in to the web system.


Open the browser on your PC, enter https://192.168.1.253 in the address box, and press
Enter. The login page is displayed. In , enter the user name and password of a web account
that has the administrator right. Click Login or press Enter. The EasyOperation edition is
displayed.


If the level of the web account is non-administrator (lower than 3), the user cannot configure the
switch through web. Raise the level to 3 or above according to Web-based Configuration in the
product manual.

In versions earlier than V200R020C00, there is a default local account (with user name admin and
password [email protected]) in the system. If the password of the default account is not
changed, the system will ask you to change the password when you log in as an administrative user.
Click OK. The User Management page is displayed on which you can change the password of the
default user. To ensure security, you are advised to change the default password. In V200R020C00
and later versions, there is no local user in the system by default. You need to configure a local user
account before login.

Figure 5-1 Web login page

Step 2 Check the current software version.


Open the Monitor page to check the running system software version. Ensure that the running
version meets the upgrade requirement, as shown in .
Assume that the current system software version is V200R021C10SPC600.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 55


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Figure 5-1 Device information

Step 3 Back up key data and check available space.


1. Choose Maintenance > System Maintenance > System > File Management to open
the File Management page, as shown in 1.

Figure 5-1 File Management

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 56


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

2. Click behind a file name (such as configuration file, system software package, license
file, and patch file), and select a path to back up the file to the PC.
3. Check whether there is sufficient space in the storage medium on the switch to store the
new system software package. If the space is insufficient, select the undesired file and
click Permanently Delete to release space.
Step 4 Upload the new version files from the PC to switch.
1. On the File Management page, click Upload to open the Upload dialog box, as shown
in 1.

Figure 5-1 Upload dialog box

2. Click Browse to select the system software, patch file, and configuration file to be
uploaded.
3. Click OK. The system prompts that the file is uploaded successfully after the upload is
finished.

The file with the name the same as that in File Management cannot be uploaded.
If the security level of the web browser is too high, the message "The security level of the browser is too
high" may be displayed when you attempt to upload a file. In this case, choose Tools > Internet
Options > Security, and click Custom level. In the displayed dialog box, set Initialize and script
ActiveX controls not marked as safe for scripting and Include local directory path when uploading
files to a server to Enable.

Step 5 Specify the file for next startup and restart the switch.
1. Choose Maintenance > System Maintenance > Upgrade to open the Upgrade page, as
shown in 1.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 57


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Figure 5-1 Upgrade page

2. In the Next Startup Configuration area, select the system software, configuration file,
and patch file for next startup, and click Apply.
Assume that the system software name is S6730-V200R022C00.cc, configuration file is
vrpcfgnew.zip, and patch file is S6730-V200R022SPH001.pat.

If the target version does not have a matching patch file, the patch file does not need to be selected.
3. Select a restart method and click Apply.
− If you select immediate restart, the system asks you whether to save the
configuration.
 Click Save the configuration and Reboot. The switch restarts immediately
and disconnects from the web system.
 Click Reboot. The switch restarts without saving the configurations. Unsaved
configurations will be lost.
 Click Cancel to cancel the restart.

The switch is disconnected from the web system during restart. The restart of the switch
may require longer than five minutes.

− If you select timed restart, enter the restart time, and the system waits until the
restart time is reached.
Step 6 When the restart is complete, log in to the web system, and view the current system software
version and patch version to verify the upgrade.

After an unconfigured device is upgraded to V200R020C00 or a later version, you must create a user
name and a password to log in to the device.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 58


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Click Monitoring and check whether the system software and patch versions are the target
versions, as shown in .

Figure 5-1 Device information after the upgrade

Step 7 (Optional) Upgrade the AP.

If WLAN has been configured before the upgrade, upgrade the AP version to a version that
matches the switch version V200R022C00; otherwise, the AP cannot go online. For the
version mappings, see "Version Mappings" in the Release Notes.
In the versions earlier than V200R009C00, the EasyOperation edition does not support AP
upgrade.

1. Check the current AP software version.


a. Choose Configuration > Wireless Services > AP Config > AP Info to open the
AP Info page, as shown in a.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 59


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Figure 5-1 AP Info

b. Check whether the current AP software version matches the switch version
V200R022C00. If the versions match, the AP does not need to be upgraded;
otherwise, go to next step.
c. Check the AP type to confirm the AP upgrade file to be uploaded. Assume that the
AP type is AP6010DN-AGN and upgrade file is
FitAP6X10XN_V200R007C10.bin.
d. Check whether the AP is in normal or vmiss state. Only APs in normal or vmiss
state can be upgraded through the web system.
2. Upgrade a single AP.
a. Choose Maintenance > AP Maintenance > AP Upgrade. The AP Upgrade page
is displayed, as shown in a.

Figure 5-2 AP upgrade

b. Click New Upgrade Task. The configuration page is displayed, as shown in b.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 60


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Figure 5-3 Upgrading a single AP

c. Set Upgrade scope to Single AP and AP name to the name of the AP to be


upgraded. Set Upgrade file, Upgrade type, and Upgrade mode as required.
The options of Upgrade file are as follows:
 On the LSW: An AP downloads the target version file from a switch.
 On the server: An AP downloads the target version file from a server.
If you select On the server, you need to configure the server type, server IP
address, server port number, and user name and password for logging in to the
server.
d. Click OK.
e. Click AP Upgrade File Configuration to view the configured upgrade task.
3. Upgrade APs in batches.
a. Choose Maintenance > AP Maintenance > AP Upgrade. The AP Upgrade page
is displayed.
b. Click New Upgrade Task. The configuration page is displayed, as shown in b.

Figure 5-4 Upgrading APs in batches

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 61


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

c. Set Upgrade scope to Batch APs and AP type to the type of APs to be upgraded.
Set AP group, Upgrade file, Upgrade type, and Upgrade mode as required.
d. Click OK.
e. Click AP Upgrade File Configuration to view the configured upgrade task.
4. Check the AP upgrade status.
a. Choose Configuration > Wireless Services > AP Config > AP Info to open the
AP Info page, as shown in a.

Figure 5-5 AP Info

b. Check whether the AP status is normal. If so, go to the next step. If the AP state is
fault, wait until the AP state becomes normal.
c. Check whether the running AP software version is the target version.
----End

5.2.3 Upgrade Procedure (Classic)


Switches running V200R011C10 and later versions do not support the web management
system of the classic edition. You are advised to upgrade the web management system
according to section Upgrade Procedure (EasyOperation)

5.2.4 Version Rollback


Step 1 Reset the Boot password. (Only the EasyOperation edition supports this step.)
Choose Maintenance > System Maintenance > System and select Initialization tab, as
shown in . Click Reset Boot Password to restore the default BootLoad password. Click OK.

Figure 5-1 Reset passwords.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 62


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Step 1 must be performed before you specify the system software for rollback; otherwise, the
BootROM or BootLoad password may be invalid or the switch may work abnormally. If the
BootROM or BootLoad password becomes invalid after downgrade, run the reset boot
password to restore the default password.

Step 2 Other steps are the same as those in the upgrade procedure. See Upgrade Procedure
(EasyOperation). Note that you need to specify the old system software and old
configuration file backed up previously for next startup.

When you roll back the version with WLAN configured, you need to roll back the AP version.
Pay attention to the following points:
If rollback is performed between V200R009C00 and a later version, the AP version can be
rolled back using EasyOperation.
If the version is rolled back to be earlier than V200R009C00, you can downgrade APs in
either of the following methods:
Use the Classic edition of a version earlier than V200R009C00. (Downgrade the switch and
then APs.)
Use the EasyOperation edition of V200R009C00 and later versions. (Downgrade APs and
then the switch.)

----End

5.3 Upgrading the Version Using 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.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 63


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Figure 5-1 Procedure for upgrading the version to V200R022C00 using BootLoad

5.3.1 Uploading the System Software

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

5.3.1.1 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 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

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 64


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

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. In V200R019
and earlier versions, the default BootLoad password is [email protected]. In V200R020
and later versions, the BootLoad password is not configured by default. 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.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 65


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

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 : S6730-H-V200R022C00.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:


 Load File name: file name of the startup file to be loaded
 Switch IP address: switch IP address (the mask is optional)
 Server IP address: server IP address
 FTP User Name: FTP user name
 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 : S6730-H-V200R022C00.cc , please wait for a
moment......
Successfully download S6730-H-V200R022C00.cc

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

5.3.2 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:

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 66


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

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 S6730-H, 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: S6730-H-V200R021C10SPC600.cc
new : S6730-H-V200R022C00.cc
saved-configuration file
current: vrpcfg.zip
new : vrpcfgnew.zip
patch package
current: S6730-H-v200r021sph001.pat
new : S6730-H-V200R022SPH001.pat

describes the displayed information.

Table 5-1 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):

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 67


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

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

5.3.3 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.

5.4 Upgrading a Switch Using a USB Flash Drive


5.4.1 Overview
If you do not have a PC in the on-site deployment, use a USB flash drive in which the system
software, patch file, and configuration file are stored. This method does not need the
intervention of a software commissioning engineer.

The S1720 does not support USB-based deployment. For details, see the configuration notes of USB-
based deployment in the latest configuration guide.
In V200R003C00 and earlier versions, USB-based deployment is not supported in the stack
environment. In later versions, USB-based deployment can be implemented in a stack system by using a
new index file (smart_config.ini).
In the following description, the system software of the S6730-H is upgraded.

The general USB-based upgrade process is as follows:


Step 1 Copy files.
When the switch is started successfully (the SYS indicator blinks green slowly), insert the
USB flash drive to load files. The switch automatically downloads the system software and
configuration file according to the index file in the USB flash drive.
Step 2 Restart the switch.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 68


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

The switch sets the system software and configuration file for next startup, and then restarts
automatically.
Step 3 Verify file loading.
# Observe the SYS indicator on the S6720S-EI, S5720I-6X-PWH-SI-AC, or S5720I-10X-
PWH-SI-AC to determine the progress of USB-based deployment.
 Slow blinking yellow (once every 2s): The USB-based deployment has succeeded.
 Fast blinking green (four times every 1s): The system is reading data from the USB flash
drive.
 Fast blinking red (four times every 1s): USB-based deployment has failed.
# Observe the USB indicator to determine the progress of USB-based deployment (except
S6720S-EI, S5720I-6X-PWH-SI-AC, or S5720I-10X-PWH-SI-AC).
 Steady green: The USB-based deployment has succeeded.
 Fast blinking green (four times every 1s): The system is reading data from the USB flash
drive.
 Fast blinking red (four times every 1s): USB-based deployment has failed.
 Steady yellow: The system will restart.
 Off: An error occurred. For example, no index file is saved in the USB flash drive, no
USB flash drive is installed, the USB port is damaged, the ACT indicator is damaged, the
USB flash drive contains no file for device deployment, or the switch is restarting.
----End

5.4.2 Upgrading the Software Using a USB Flash Drive


5.4.2.1 Preparations for Upgrade
Step 1 Prepare the hardware.
 USB port: The S6730-H provides USB 1.1.
 USB flash drive:
− The USB flash drives delivered with Huawei switches are recommended because
they are compatible with the switches. The USB flash drive must be paid
independently. If you have not bought the USB flash drive, contact Huawei local
office.
− The USB flash drive must use the FAT32 format; otherwise, set the format to
FAT32 before using it.
− The space in the USB flash drive must be sufficient for the system software and
configuration file.
Step 2 Prepare the system software, configuration file, web file, and patch file.
Step 3 Create the index file. Here are two kinds of index files.
1. Create the file smart_config.ini.
2. Fill in the file content.
The format of index file (The HMAC field is supported since V200R007C00.) is as follows:

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 69


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

BEGIN LSW
[GLOBAL CONFIG]
TIMESN=
AUTODELFILE=
ACTIVEMODE=
USB-DEPLOYMENT PASSWORD=
[DEVICEn DESCRIPTION]
OPTION=
ESN=
MAC=
AUTODELFILE=
ACTIVEMODE=
DEVICETYPE=
HMAC=
DIRECTORY=
SYSTEM-SOFTWARE=
SYSTEM-CONFIG=
SYSTEM-LICENSE=
SYSTEM-PAT=
SYSTEM-WEB=
SYSTEM-USERDEF1=
SYSTEM-USERDEF2=
SYSTEM-USERDEF3=
END LSW

To obtain more information, see the product documentation.


Step 4 Copy the index file, system software, configuration file, web file, and patch file to the root
directory of the USB flash drive.

The index files must be stored to the root directory on the USB flash drive; the other files are stored in
the corresponding directories.


Do not power off the switch during file copy; otherwise, the upgrade fails or the switch
cannot start.

Do not remove the USB flash drive before the upgrade is finished; otherwise, the USB
flash drive may be damaged.

----End

5.4.2.2 Procedure

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

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 70


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Step 1 Power on the switch and wait until the system completes the startup (you may need to wait for
3 minutes).
Step 2 Confirm that the system is operating stably (the SYS indicator is in green and blinks every 2
seconds). If the system operating is unstable, wait until the system operates stably or manually
solve the issue.
 If the SYS indicator is on and in green or orange, the system startup is not finished. Wait
until the system starts successfully.
 If the SYS indicator is steady red, the system is started but an error occurs. Fix the
problem before the next step. Check whether the power supply and the fan function
properly. If no, power recycle the switch. If the fault persists (the indicator is red),
contact Huawei technical support personnel.
Step 3 Insert the USB flash drive.
1. If the USB indicator is in green and blinks more than twice every second, the system is
copying the system software and configuration file from the USB flash drive.
2. After copying the files, the system restarts.
3. If the USB indicator is steady on green after the restart, the upgrade is successful. Now
you can remove the USB flash drive.
If the USB indicator is steady on or blinks red, an error occurs. Power recycle the switch, and
then insert the USB flash drive again. If the upgrade fails three times, check whether the index
file on the USB flash drive is correct, view the usbload-error.txt file in the root directory of
the USB flash drive to find the reason of the upgrade failure, or contact Huawei technical
personnel for technical support.

If you want to upgrade the software through USB flash drive upon a failure of USB-based upgrade, load
the files to the USB flash drive again.

----End

5.5 Upgrading the Version Using the HOUP


Smart upgrade achieves one-click loading of and upgrade to the latest version of software by
connecting a switch to the Huawei Online Upgrade Platform (HOUP) through the Internet.
Before performing the following configurations, ensure that the switch can communicate with
the HOUP.
Step 1 Create an SSL policy on the switch and bind a CA certificate to the policy.
<HUAWEI> system-view
[HUAWEI] ssl policy houp
[HUAWEI-ssl-policy-houp] trusted-ca load pem-ca houp_root.cer
[HUAWEI-ssl-policy-houp] quit

Step 2 Configure smart upgrade on the switch.


[HUAWEI] smart-upgrade ssl-policy houp //Bind an SSL policy to smart upgrade.

[HUAWEI] smart-upgrade enable //Enable smart upgrade.


[HUAWEI] smart-upgrade information telephone 111111111 email

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 71


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

[email protected] //Set the contact phone number and email address for smart
upgrade.

Step 3 Check the switch version status and network connectivity.


# Check the connectivity between the switch and the HOUP and the current version status of
the switch.
[HUAWEI] display smart-upgrade information
Info: Loading the information, please wait .

Configuration:
URL : houp.huawei.com
HTTPS port : 443
Bind SSL policy : houp
Verify HTTPS server : true
Telephone : 1****1111
Email : ****@example.com

Version information:
Refresh time : 2019-01-23 12:24:06
Check version result : needUpdate //The software version of the
switch is not optimal. You are advised to perform an upgrade. (If the switch
cannot communicate with the HOUP, netError is displayed.)
Recommended software version : V200R022C00
Recommended patch version : V200R022SPH001
Upgrade description :
Firmware and Patch Description in English:1)description:2)CC+SPH

Software package name : S5731-H24T4XC.cc


Software package size(B) : 120101636
Patch package name : S5731-H-V200R022SPH001.pat
Patch package size(B) : 14910

Upgrade information:
Upgrade Time : 2019-01-23 11:13
Upgrade status : success
Cancellation status : -
Software download time : -
Software download progress(%): -
Software download speed(KB/s): -
Patch download time : -
Patch download progress(%) : -
Patch download speed(KB/s) : -
Last upgrade time : 2019-01-23 11:13
Last upgrade result : success

Local information:
Device name : S5731-H24T4XC
ESN : 2102351XFR12xxxxxxxx
Software version : V200R021C00
Patch version : V200R021SPH

Schedule Upgrade Information:


Download time : -
Download triggered : no

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 72


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Download pre-check result : -


Reboot time : -
Reboot triggered : no
Reboot triggered result : -

Step 4 Trigger smart upgrade on the switch.


[HUAWEI] smart-upgrade right-now
Info: Getting version information from houp, please wait ...

Info: If you want to stop the upgrade, please press CTRL + C.

Info: Downloading file basic-soft.cc ...

Info: The file already exists, check whether it can be resumed from the
breakpoint.
Info: Resume from the 15728640 bytes breakpoint.

Info: Current percent is 100%.

Info: 104372996 byte(s) received in 197.329 second(s) 516.53 Kbyte(s)/sec.

Info: Downloading file basic-soft.cc.asc ...


Info: Current percent is 100%.

Info: 490 byte(s) received in 0.201 second(s) 2.38 Kbyte(s)/sec.

Info: Downloading file basic-patch.pat ...

Info: The file already exists, check whether it can be resumed from the
breakpoint.
Info: The file size is OK and the content is consistent.

Info: Downloading file basic-patch.pat.asc ...

Info: The file already exists, check whether it can be resumed from the
breakpoint.
Info: The file size is OK and the content is consistent.

Info: Start verifying signature ...

Info: Signature verification passed.

Info: Set next startup patch basic-patch.pat successfully.

Info: Start set next startup file, please wait...

Info: Set next startup file basic-soft.cc successfully.

Info: System will rebooting for upgrade...

Step 5 Check the software version after the upgrade.


<HUAWEI> display version
Huawei Versatile Routing Platform Software

VRP (R) software, Version 5.170 (S5731 V200R022C00)

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 73


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 4 Upgrade Operations on a Single Switch

Copyright (C) 2000-2022 HUAWEI TECH Co., Ltd.

HUAWEI S5731-H24T4XC Routing Switch uptime is 2 weeks, 1 day, 14 hours, 3 minutes

ES5D2T28C007 0(Standby) : uptime is 2 weeks, 1 day, 14 hours, 0 minute

DDR Memory Size : 4096 M bytes

FLASH Total Memory Size : 1024 M bytes

FLASH Available Memory Size : 739 M bytes

Pcb Version : VER.B

MAB Version : 6

BootROM Version : 0000.0527

BootLoad Version : 0216.0000

CPLD Version : 0106

Software Version : VRP (R) Software, Version 5.170 (V200R022C00)

FLASH Version : 0000.0000

PWR2 information

Pcb Version : PWR VER.A

FAN1 information

Pcb Version : NA

FAN2 information

Pcb Version : NA

----End

5.6 Upgrading the Version Using eDesk Pro


For details about the process of upgrading the software version of a device using eDesk Pro,
see the eDesk Pro NE Upgrade Product Overview.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 74


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations in a Stack

6 Upgrade Operations in a Stack

5.1 Upgrading All Stack Member Switches by Using the Command Line
5.2 Intelligent Upgrade
5.3 Smooth Upgrade

6.1 Upgrading All Stack Member Switches by Using the


Command Line
Purpose To upgrade the system software

Impact Services are interrupted when the switches


restart.
Time Required When a single switch is upgraded and
service deployment is simple, services are
interrupted for about 5 minutes. When a
stack is upgraded, the service interruption
time increases, and the time depends on the
complexities of services and the stack
topology.
Prerequisites 
The switches to be upgraded function
properly.

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


For the support on stacking, see the stack configuration precautions in product documents.

The CLI-based upgrade methods on all models are the same. This section uses S6730-H as an
example.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 75


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations in a Stack


The section describes how to download the system software by using the switch as the FTP server.
For other methods, see the Configuration Guide - Basic Configuration. If high security is required,
the SFTP protocol is recommended.

Switch provides a management interface MEth. You can use this interface as a Layer 3 interface.

To retain the roles of the master and slave switches after the upgrade, set priority of the master
switch to be the highest in the stack before the upgrade.

Before the upgrade, use the terminal monitor command to enable the terminal to display logs,
traps, and debugging information sent from the information center.

The following operations are performed on the master switch. Here, the stack contains two
S6730-H switches.
Step 1 Ensure that all the member switches have sufficient available space in the flash memory. For
details, see section Checking the Flash Memory Space.
Step 2 Configure the switch as the FTP server.
Start the FTP service on the switch, and set the FTP user name to ftpuser and password to
admin@123456.
<HUAWEI> system-view
[HUAWEI] ftp server enable
[HUAWEI] aaa
[HUAWEI-aaa] local-user ftpuser password irreversible-cipher admin@123456
[HUAWEI-aaa] local-user ftpuser service-type ftp
[HUAWEI-aaa] local-user ftpuser privilege level 3
[HUAWEI-aaa] local-user ftpuser ftp-directory flash:
[HUAWEI-aaa] return

Step 3 Set an IP address for the switch.


Configure the IP address on an idle interface. Here, GigabitEthernet0/0/1 is used as an
example.
<HUAWEI> system-view
[HUAWEI] interface GigabitEthernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] port link-type access
[HUAWEI-GigabitEthernet0/0/1] quit
[HUAWEI] vlan 10
[HUAWEI-vlan10] port GigabitEthernet 0/0/1
[HUAWEI-vlan10] quit
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] ip address 10.1.1.1 24
[HUAWEI-Vlanif10] quit
[HUAWEI]

Step 4 Log in to the FTP server (switch).

Assume that the Windows XP operating system is used.


 Run the ftp ip-address command to connect to the switch using FTP.
In the preceding command, ip-address indicates the IP address configured on the switch.
Routes between the terminal and the switch are reachable.
 Enter the user name and password as prompted and press Enter. If command prompt
ftp> is displayed in the FTP client view, you have accessed the working directory on the
FTP server. (The following information is only for reference.)

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 76


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations in a Stack

D:\>ftp 10.1.1.1
Connected to 10.1.1.1.
220 FTP service ready.
User (10.1.1.1:(none)): ftpuser
331 Password required for 1.
Password:
230 User logged in.
ftp>

Step 5 Back up the current system software.


Copy the current system software to the specified directory, for example, D:\>directory. The
following information is displayed:
ftp> get S6730-H-V200R021C10SPC600.cc D:\S6730-H-V200R021C10SPC600.cc
200 Port command okay.
150 Opening ASCII mode data connection for directory list.
226 Transfer complete.
ftp: 14083796 bytes received in 29.71 seconds 474.05Kbytes/sec.
ftp>

If the file size is too large, file transfer may require more than 2 minutes.

Step 6 Back up the current patch file.


Copy the current patch file to the specified directory, for example, D:\>. The following
information is displayed:
ftp> get S6730-H-v200r021sph001.pat D:\S6730-H-v200r021sph001.pat
200 Port command okay.
150 Opening ASCII mode data connection for directory list.
226 Transfer complete.
ftp: 90602 bytes received in 2.042 seconds 44.38Kbytes/sec.

Step 7 Back up the current configuration file.


Copy the current configuration file to the specified directory, for example, D:\>. The
following information is displayed:
ftp> get vrpcfg.zip vrpcfg-bak.zip
200 Port command okay.
150 Opening ASCII mode data connection for directory list.
226 Transfer complete.
ftp: 589 bytes received in 0.01Seconds 60Kbytes/sec.

Step 8 Upload the system software package.


Copy the current system software to the specified directory, for example, D:\>directory, on
the PC. The following information is displayed:
ftp> put D:\S6730-H-V200R022C00.cc
200 Port command okay.
150 Opening BINARY mode data connection for S6730-H-V200R022C00.cc.
226 Transfer complete.
ftp: 14,701,348 bytes sent in 104.44Seconds 140.76Kbytes/sec.
ftp> bye

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 77


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations in a Stack

If the file size is too large, file transfer may require more than 2 minutes.

Step 9 Upload the patch file.

If the target system software version does not have a matching patch file, skip this step.

Copy the current system software to the specified directory, for example, D:\>directory, on
the PC. The following information is displayed:
ftp> put D:\S6730-H-V200R022SPH001.pat
200 Port command okay.
150 Opening BINARY mode data connection for directory list.
226 Transfer complete.
ftp: 11050 bytes received in 0.249 second(s) 44.38Kbyte(s)/sec.
ftp> bye
221 Server closing.

D:\>

Step 10 Upload the new configuration file.


ftp> put D:\vrpcfgnew.zip

Step 11 Specify the system software that is loaded when the switch starts.
<HUAWEI> startup system-software S6730-H-V200R022C00.cc all

Step 12 Copy the patch file to a slot, for example, slot 1.

If the target system software version does not have a matching patch file, skip this step.
<HUAWEI> copy S6730-H-V200R022SPH001.pat slot 1#flash:

Step 13 Specify the patch file that is loaded when the switch starts.

If the target system software version does not have a matching patch file, skip this step.
<HUAWEI> startup patch S6730-H-V200R022SPH001.pat

For a stack, specify the startup patch file for all slots, for example, slot 1.
<HUAWEI> startup patch S6730-H-V200R022SPH001.pat slot 1

Step 14 (Optional) Specify the configuration file that is loaded when the switch starts.
<HUAWEI> startup saved-configuration vrpcfgnew.zip
Info: Succeeded in setting the configuration for booting system.

Step 15 Restart the switch.


When the system asks you whether to save the configuration, enter y or n. After the setting is
complete, enter y to restart the system.
For switches running versions earlier than V200R009C00:
<HUAWEI> reboot
Info: The system is now comparing the configuration, please wait.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 78


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations in a Stack

Warning: The configuration has been modified, and it will be saved to the next s
tartup saved-configuration file flash:/vrpcfgnew.zip. Continue? [Y/N]:y
Now saving the current configuration to the slot 0....
Save the configuration successfully.
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
Info: System is rebooting, please wait.

For switches running V200R009C00 and later versions:


<HUAWEI> reboot
Info: If want to reboot with saving diagnostic information, input 'N' and then
execute 'reboot save diagnostic-information'.
System will reboot! Continue?[Y/N]:y
Comparing the firmware versions.........
Warning: It will take a few minutes to upgrade firmware. Please do not switchover,
reset, remove, or power off the board when upgrade is being performed. Please keep
system stable..............................
Info: Online upgrade firmware on slot 0 successfully.
Info: Online upgrade firmware on slot 1 successfully.
Info: System is rebooting, please wait...

Device reboot may require over 5 minutes.

Step 16 Check the software version after the switch is restarted.


<HUAWEI> display startup
MainBoard:
Configured startup system software: flash:/S6730-H-V200R022C00.cc
Startup system software: flash:/S6730-H-V200R022C00.cc
Next startup system software: flash:/S6730-H-V200R022C00.cc
Startup saved-configuration file: flash:/vrpcfgnew.zip
Next startup saved-configuration file: flash:/vrpcfgnew.zip
Startup paf file: default
Next startup paf file: default
Startup license file: default
Next startup license file: default
Startup patch package: -V200R022SPH001.pat
Next startup patch package: -V200R022SPH001.pat
SlaveBoard:
Configured startup system software: flash:/S6730-H-V200R022C00.cc
Startup system software: flash:/S6730-H-V200R022C00.cc
Next startup system software: flash:/S6730-H-V200R022C00.cc
Startup saved-configuration file: flash:/vrpcfgnew.zip
Next startup saved-configuration file: flash:/vrpcfgnew.zip
Startup paf file: default
Next startup paf file: default
Startup license file: default
Next startup license file: default
Startup patch package: -V200R022SPH001.pat
Next startup patch package: -V200R022SPH001.pat
Slot 1:
Configured startup system software: flash:/S6730-H-V200R022C00.cc
Startup system software: flash:/S6730-H-V200R022C00.cc
Next startup system software: flash:/S6730-H-V200R022C00.cc

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 79


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations in a Stack

Startup saved-configuration file: flash:/vrpcfgnew.zip


Next startup saved-configuration file: flash:/vrpcfgnew.zip
Startup paf file: default
Next startup paf file: default
Startup license file: default
Next startup license file: default
Startup patch package: -V200R022SPH001.pat
Next startup patch package: -V200R022SPH001.pat

----End

6.2 Intelligent Upgrade


6.2.1 Overview
Intelligent upgrade is a function that automatically upgrades or downgrades the system
software of a new member switch to the version of the master switch.
A stack system is established only when all the following requirements are met:
 All the member switches use the same software version.
 All the member switches belong to the same series. That is, the EI series and SI series
cannot form a stack.
 All the member switches are connected by using stack cables and stack modules.
 All the member switches are working properly.
 The stacking function is enabled on all the member switches.
If the master switch detects a different software version on a new member switch, it upgrades
or downgrades the software of the new member switch to its version. The stack processes
version upgrade and downgrade for new member switches in the same way. The following
section describes how to upgrade a new member switch by using the intelligent upgrade
function.

6.2.2 Upgrading the Version of a Switch Newly Added to a Stack


to Be the Same as the Master Switch Version in an Intelligent
Mode
Preparations for Upgrade
Before upgrading a new member switch of a stack, ensure that:
 The new member switch and the current stack members belong to the same series.
 The new member switch is connected to other member switches by using stack cables
and stack modules.
 The stacking function is enabled on the new member switch. (This function is enabled by
default.)

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 80


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations in a Stack


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

After a switch is added to a stack, if the flash memory of the new member switch does
not have sufficient space to store the startup software package, it deletes a non-
startup software package. If the available space in the flash memory is still
insufficient for the upgrade software, the switch restarts repeatedly. In this situation,
upgrade the software of the switch to the version of the stack system manually, and
then add the switch to the stack. For the upgrade procedure, see chapter Upgrade
Operations on a Single Switch.

During the upgrade, ensure that the stack cables are functioning properly. If the
upgrade of a switch fails, manually upgrade the system software of the switch to the
version of the stack system, and then add the switch to the stack system.

The running time of the newly added stack must be shorter than the running time of
the old stack; otherwise, the new stack software cannot be upgraded to the same
version as the old stack software through intelligent upgrade.

Device Upgrade
Start the new member switch.
The master switch of the stack automatically upgrades the new switch. If the upgrade is
successful, the following information is displayed:
On the master switch:
Start loading system-software to the new slot 0, and the server slot is 1Succeeded
in loading system-software to the new device 0, and the server slot ID is 1

On the new member switch:


Current version is lower than the software version, current version is S6730-H-
V200R021C10SPC600.cc
100% completed
Succeeded in loading "flash:/S6730-H-V200R022C00.cc " from device 1. The current
slot ID is 0 Starting upgrade BootROM .............. Pass
Device starting reset.

If the flash memory of the new member switch does not have sufficient space for the upgrade
software, the following information is displayed:
On the master switch:
Start loading system-software to the new slot 0, and the server slot is 1Succeeded
in loading system-software to the new device 0, and the server slot ID is 1

On the new member switch:


Current version is lower than the software version, current version is S6730-H-
V200R021C10SPC600.cc
Slot 0 starts loading system-software ...Space is insufficient
Succeeded in deleting the system-software "flash:/ S6730-H-V200R022C00.cc"
100% completed
Succeeded in loading "flash:/ S6730-H-V200R022C00.cc " from device 1. The current
slot ID is 0
Upgrading BootROM .............. Pass

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 81


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations in a Stack

Before adding the switch to a stack, upgrade its version to be the same as the master switch
version according to Upgrading a Switch Using the Command Line or Upgrading the Version
Using BootLoad.

6.3 Smooth Upgrade


6.3.1 Overview
A smooth upgrade can be performed in a stack that has uplinks and downlinks working in
redundancy mode. A stack system is divided into an active area (with the master switch) and a
backup area. Member switches in the two areas are upgraded in turn. When an area is being
upgraded, traffic is transmitted through the other area, minimizing the impact of the upgrade
on services. This upgrade method applies to scenarios sensitive to the service interruption
time.

6.3.2 Preparations for Upgrade


Before upgrading a stack system, ensure that:
1. The uplinks and downlinks work in redundancy mode.
2. The system software for next startup supports the smooth upgrade function.
3. Member switches in the stack are running the same system software, with the same
software package name, version, and path.
4. Member switches have the same system software specified for next startup, with the
same software package name, version, and path.
5. The stack cables are correctly connected.
6. The actual slot IDs of cards are the same as configured slot IDs.

6.3.3 Upgrade Process

The switches of V200R003C00 and later versions can be upgraded using the smooth upgrade function.

Step 1 Upload the same system software package, patch file, and configuration file (with the same
name, version, and path) to all the member switches in the stack. In addition, specify the
system software, patch file, and configuration file to be loaded when the member switches
start. For details, see steps 1 to 13 in Upgrading All Stack Member Switches by Using the
Command Line.

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

Step 2 Run the system-view command to enter the system view.


Step 3 Run the upgrade backup-area slot slot-id to slot-id command to define the active and
backup areas for a smooth upgrade.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 82


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 5 Upgrade Operations in a Stack

The member switches with stack IDs in the specified range join the backup area, and the other
member switches automatically join the active area.


The active and backup areas cannot contain the same member switch, and both areas must have at
least one member switch.

The backup area cannot contain the master switch.

Member switches in the active and backup areas must be directly connected.

Member switches in the active and backup areas form the entire stack.

Step 4 (Optional) Run the display upgrade area command to check whether the configured areas
meet the requirements of the current stack topology.
If the stack topology changes after the areas are configured, the smooth upgrade will fail. To
avoid this problem, check the area configuration before starting a smooth upgrade. If the areas
fail the check, define the active and backup areas correctly according to the current stack
topology.
Step 5 Run the upgrade start command to enable smooth upgrade.
Step 6 (Optional) Run the display upgrade state [ slot slot-id ] command to check the smooth
upgrade status.

If errors occur during a smooth upgrade, member switches can automatically downgrade to the original
system version and set up a stack again.

----End

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 83


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 6 Upgrade Operations in an SVF System

7 Upgrade Operations in an SVF System

6.1 Before You Start


6.2 Upgrade Procedure
6.3 Preparing for the Upgrade
6.4 Performing the Upgrade
6.5 Verifying the Upgrade
6.6 Rolling Back to an Earlier Version

7.1 Before You Start


7.1.1 Version Requirements Before Upgrade

Among S series fixed switches, only the S6720EI, S6720S-EI, S5731-H, S5731S-H, S5732-H, S6730-H,
S6730-S, and S6730S-S can function as the parent. S6720EI and S6720S-EI are first available in
V200R009; S5731-H, S5731S-H, S5732-H, S6730-H, S6730-S, and S6730S-S are first available in
V200R019C00.
The S600-E can function as an AS since V200R010.
For the SVF support on other models, see the SVF configuration notes in the Configuration Guide -
Device Management.
To ensure that the SVF system works normally, if the parent and AS are both running versions earlier
than V200R011, the parent version must be the sam as the AS version. If they are running V200R011 or
later versions, the parent version can be the same as or higher than (no more than two R versions higher)
the AS version.
This chapter uses V200R021C10SPC600 as the basic version and V200R022C00 as the target version.
In this example, the S6730-H functions as a parent and the S5720LI functions as AS. The SVF upgrade
methods of other models are the same.

7.1.2 Impact of the Upgrade


Before an upgrade, read this chapter carefully to understand the possible impact of the
upgrade on the system.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 84


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 6 Upgrade Operations in an SVF System

Impact on the System During the Upgrade


 Impact on services
The SVF system needs to restart during the upgrade, which will interrupt services. The
service downtime depends on the number of ASs in the SVF system.
 Impact on network communication
The SVF system needs to restart during the upgrade; therefore, communication between
the network elements and the NMS will be interrupted for about 15 minutes.

Impact on the System After the Upgrade


There is no impact on the system after the upgrade.

7.1.3 Precautions
No. Version Precautions
Used Before
Upgrade

1 - Before the upgrade, collect switch


information, version information,
configuration file, and all routing table,
FIB table, and MAC address table entries.
After the upgrade, collect the same
information again and compare it with the
previous information to check whether the
device operates and transmits service
traffic properly.
2 - Before downgrading V200R009C00 or a
later version of an AS to an earlier
version, run the reset boot password
command to restore the default
BootROM/BootLoad password, and then
specify the system software. Otherwise,
the BootROM/BootLoad password will
become invalid or the switch works
abnormally. If the BootROM/BootLoad
password has become invalid after
downgrade, run the reset boot password
command again to restore the default
password.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 85


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 6 Upgrade Operations in an SVF System

7.2 Upgrade Procedure


Figure 7-1 SVF upgrade flowchart

Table 7-1 Upgrade time


Step Time Required Remarks
(Minutes)

Prepare for the upgrade About 30 1. Upgrade the system


software file for upgrade,
including the system
software files of the parent
and ASs.
2. Back up files.
Perform the upgrade Depending on the number of 1. Load the version.
ASs in the SVF system 2. Restart the SVF system.
Verify the upgrade About 5 1. Check whether any
configuration data is lost.
2. Check whether the parent

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 86


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 6 Upgrade Operations in an SVF System

Step Time Required Remarks


(Minutes)

is started normally.
3. Check whether all ASs
work normally.
Roll back to an earlier Depending on the number of 1. Specify the previous
version ASs in the SVF system version as the startup
version.
2. Restart the SVF system.

7.3 Preparing for the Upgrade


7.3.1 Obtaining Upgrade Reference Documents
Step 1 Log in to http://support.huawei.com/enterprise.
Step 2 Search for S200, S300, S500, S1700, S2700, S5700, and S6700 V200R022C00 to obtain the
latest product documents and release notes.
----End

7.3.2 Obtaining Tools


Prepare the following tools before the upgrade:
 Operation terminal, such as a desktop computer or a portable computer
 Network cable and serial cable

7.3.3 Obtaining Upgrade Software


Contact Huawei technical personnel or visit http://support.huawei.com/enterprise/ to obtain
the latest system software and reference manuals.

7.3.4 Preparing the Latest Patch

If the target version does not have a matching patch file, skip this step.

To obtain the latest patch of the target system software version, contact Huawei technical
support engineers or visit http://support.huawei.com/enterprise/.
In the following sections, the patch to be installed is S6730-H-V200R022SPH001.pat and
S5720LI-V200R022SPH001.pat.

7.3.5 (Optional) Obtaining the License File


If licenses need to be updated, purchase new licenses from the Huawei local office.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 87


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 6 Upgrade Operations in an SVF System

7.3.6 Preparing the Configuration File


To batch issue configurations to the device after upgrade, load the latest configuration file to
the device.

7.3.7 Verifying the Current Version


Run the display version command in the user view to check the system software running on
the switches.
<HUAWEI> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (S6730 V200R021C10SPC600)

Copyright (C) 2000-2020 HUAWEI TECH CO., LTD


HUAWEI S6730-H24X6C Routing Switch uptime is 0 week, 0 day, 23 hours, 59 minu
tes

ES5D2T52C001 0(Master) : uptime is 0 week, 0 day, 23 hours, 58 minutes


DDR Memory Size : 4096 M bytes
FLASH Total Memory Size : 512 M bytes
FLASH Available Memory Size : 446 M bytes
Pcb Version : VER.A
BootROM Version : 020b.0001
BootLoad Version : 0100.0b02
CPLD Version : 0109
Software Version : VRP (R) Software, Version 5.170 (V200R021C10SPC600)

PWR1 information
Pcb Version : PWR VER.A

7.3.8 Checking Switch Status


 Check whether the parent works normally.
Run the display device command in the user view to check the working status of the
switch.
<HUAWEI> display device
S6730-H24X6C's Device status:
Slot Sub Type Online Power Register Status Role

-------------------------------------------------------------------------------

0 - S6730-H Present PowerOn Registered Normal Master

PWR1 POWER Present PowerOn Registered Normal NA

 Check whether the ASs work normally.


<HUAWEI> display as all
------------------------------------------------------------------------------
No. Type Mac IP State Name
------------------------------------------------------------------------------
0 S5720-LI 781d-ba57-8a30 100.1.1.252 normal as0
1 S5720-LI 0088-9977-bb40 100.1.1.254 normal as1
2 S5720-LI 0000-c006-d2d8 100.1.1.253 normal as2

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 88


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 6 Upgrade Operations in an SVF System

7.3.9 Backing Up Data


Ensure that important data stored on the flash memory is backed up before the upgrade.
Important data includes the configuration file, license file, and current system software. It is
recommended that these files be transferred to a server or a computer using SFTP, TFTP or
FTP. The method is similar to that on a stand-alone switch. For details, see Backing Up the
Key Data in the Flash Memory.
It is recommended that you back up the system software used before AS upgrade to the
flash:/unimng directory on the CF card of the parent.

7.3.10 Configuring a Local File Server


For details, see section "Upgrading an Online AS" in the Configuration Guide - Device
Management.

7.4 Performing the Upgrade

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

7.4.1 Loading the New System Software and the Patch of Parent
and ASs to the Parent
For details, see Upgrading a Switch Using the Command Line.

The new system software files of ASs need to be uploaded to the flash:/unimng directory on the parent.
Load the system software matching the AS type to the parent.

7.4.2 Loading the New System Software and the Patch of ASs to
the Parent
Step 1 Configure the local file server.

If the local file server has been configured, skip this step.
[HUAWEI] uni-mng
[HUAWEI-um] upgrade local-ftp-server username admin-uni password Test@1234

Step 2 Set the name of the system software to be loaded to ASs.


[HUAWEI-um] as type S5720-LI system-software s5720li-V200R022C00.cc

Step 3 Set the name of the patch to be loaded to ASs.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 89


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 6 Upgrade Operations in an SVF System

If the target system software version does not have a matching patch file, skip this step.
[HUAWEI-um] as type S5720-LI patch S5720LI-V200R022SPH001.pat
[HUAWEI-um] return

Step 4 Save the configuration.


<HUAWEI> save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y

Step 5 Start system software loading on the ASs.


[HUAWEI-um] upgrade as all
Warning: This command will start the AS upgrade process. Continue?[Y/N]:y

Step 6 Query the software loading result on ASs.


<HUAWEI> display uni-mng upgrade-info
The total number of AS is : 3
--------------------------------------------------------------------------------
Name Method Phase Status Result
--------------------------------------------------------------------------------
as0 -- -- NO-UPGRADE successful
as1 -- -- NO-UPGRADE successful
as2 -- -- NO-UPGRADE successful
--------------------------------------------------------------------------------

If the results (Result field) on all ASs are displayed as successful, system software has been
successfully loaded to all ASs.
----End

7.4.3 Specifying the System Software and the Patch on the Parent
Step 1 Specify the system software for next startup.
<HUAWEI> startup system-software flash:/S6730-H-V200R022C00.cc
Info: Succeeded in setting the software for booting system.

Step 2 Specify the patch matching the system software package for next startup.

If the target version does not have a matching patch file, skip this step.
<HUAWEI> startup patch S6730-H-V200R022SPH001.pat
Info: Succeeded in setting the software for booting system.

Step 3 (Optional) Specify the configuration file for next startup.


<HUAWEI> startup saved-configuration vrpcfgnew.zip
Info: Succeeded in setting the configuration for booting system.

----End

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 90


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 6 Upgrade Operations in an SVF System

7.4.4 Restarting the SVF System


Run the reboot uni-mng command, and then the SVF automatically starts up with the
specified system software and configuration file.
<HUAWEI> reboot uni-mng
Info: Start to reboot the uni-mng system......
Warning: Ensure that the configuration file has been saved.This command will
reboot the uni-mng system. Continue?[Y/N]:y

Enter y to restart the SVF system.

Device reboot may require over 5 minutes.

7.5 Verifying the Upgrade


7.5.1 Checking the System Software on the Parent
After restarting the switches, check that the versions running on the parent are correct.

If the target system software does not have a matching patch file, the Startup patch package and Next
startup patch package fields are displayed as NULL.
<HUAWEI> display startup
MainBoard:
Configured startup system software: flash:/S6730-H-V200R022C00.cc
Startup system software: flash:/ S6730-H-V200R022C00.cc
Next startup system software: flash:/ S6730-H-V200R022C00.cc
Startup saved-configuration file: flash:/vrpcfg.zip
Next startup saved-configuration file: flash:/vrpcfg.zip
Startup paf file: default
Next startup paf file: default
Startup license file: default
Next startup license file: default
Startup patch package: flash:/S6730-H-V200R022SPH001.pat
Next startup patch package: flash:/S6730-H-V200R022SPH001.pat

7.5.2 Checking Whether the Parent Is Registered


Run the display device command in any view to check the switch registration status. The
switch should be in the Registered state.
<HUAWEI> display device
S6730-H24X6C's Device status:
Slot Sub Type Online Power Register Status Role
-------------------------------------------------------------------------------
0 - S6730-H Present PowerOn Registered Normal Master
PWR1 POWER Present PowerOn Registered Normal NA

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 91


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 6 Upgrade Operations in an SVF System

7.5.3 Checking Whether the Parent Configuration Is Restored


After the parent restarts, run the display current-configuration command in any view of the
parent to check the S6730-H configurations.
To compare the new configuration file with the configuration file saved in the storage device,
run the compare configuration command in the user view.

7.5.4 Verifying Services


Use either of the following methods to check whether services are working normally after the
upgrade:
 Check whether any table entries, such as routing table, FIB table, and MAC address table
entries, are missing, and whether the service traffic volume remains the same after the
upgrade.
 Confirm with the network administrator whether services are working normally and
whether essential servers, such as the NMS and NetStream servers are functioning
properly.

7.5.5 Checking Whether ASs Are Registered


Run the display as all command in any view to check AS status. All states of each AS should
be normal:
<HUAWEI> display as all
Total: 3, Normal: 3, Fault: 0, Idle: 0, Version mismatch: 0
------------------------------------------------------------------------------
No. Type MAC IP State Name
------------------------------------------------------------------------------
0 S5720-LI 781d-ba57-8a30 100.1.1.252 normal as0
1 S5720-LI 0088-9977-bb40 100.1.1.254 normal as1
2 S5720-LI 0000-c006-d2d8 100.1.1.253 normal as2

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 92


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 6 Upgrade Operations in an SVF System

7.6 Rolling Back to an Earlier Version


7.6.1 Rollback Process
Figure 7-1 Version rollback flowchart

7.6.2 Performing a Version Rollback


Specifying Old System Software for the Parent
Specify the system software used before the upgrade as the startup software.

In rollback, specify the configuration file backed up in Backing Up Data for next startup.

The method is the same as the method of specifying startup system software after upgrade.
For details, see Specifying the System Software and the Patch on the Parent.

Specifying Old System Software for ASs and Loading It to ASs


Step 1 Configure the local file server.

If the local file server has been configured, skip this step.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 93


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 6 Upgrade Operations in an SVF System

[HUAWEI] uni-mng
[HUAWEI-um] upgrade local-ftp-server username admin-uni password Test@1234

Step 2 Set the name of the system software package on AS (for example, s5720li-
v200r021c10spc600.cc).
[HUAWEI-um] as type S5720-LI system-software s5720li-v200r021c10spc600.cc

Step 3 Set the name of the patch software on AS (for example, s5720li-v200r021sph001.pat).

If no patch is loaded before the upgrade, skip this step.


[HUAWEI-um] as type S5720-LI patch s5720li-v200r021sph001.pat

The configuration does not need to be saved in SVF rollback.

Step 4 Start system software loading on the ASs.


[HUAWEI-um] upgrade as all
Warning: This command will start the AS upgrade process. Continue?[Y/N]:y

Step 5 Restart the SVF system.


For details, see Restarting the SVF System.
----End

7.6.3 Verifying the Rollback


The procedure for verifying version rollback is similar to the procedure for verifying upgrade.
For details, see Verifying the Upgrade.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 94


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

8 Upgrading AP Through AC

In this chapter, AC is the switch.


In this example, AP6010DN-AGN version is upgraded from V200R006C10 to V200R007C10, and the
switch version is V200R022C00.
Only the S5731-H-K, S5731-H, S5731S-H, S5732-H, S6730-H, and S6730S-H can function as an AC.
The AC uniformly delivers configuration to Fit APs, and you do not need to separately perform version
rollback on Fit APs.

The WLAN commands in V200R022C00 have a few changes compared with those in
versions earlier than V200R009C00. Use the commands of the corresponding version.
The display command output and prompt information may vary according to software
versions.

7.1 Fit AP Upgrade Guide Process


7.2 Preparing for Fit AP Upgrade
7.3 Upgrading Fit APs Using Command Lines on the AC
7.4 Verifying Fit AP Upgrade
7.5 Fit AP Version Rollback

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 95


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

8.1 Fit AP Upgrade Guide Process


Figure 8-1 Fit AP upgrade process

8.2 Preparing for Fit AP Upgrade


8.2.1 Preparing for the Upgrade
1. Prepare required materials and documentation.

Table 8-1 Required materials and documents


No. Item Remarks

1 A PC running the Windows operating -


system
2 Upgrade reference documents -
3 Upgrade files FitAP6X10XN_V200R007C10.bin

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 96


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

No. Item Remarks

4 TFTP/FTP/SFTP server program -


installed on the portable computer
5 AC's IP address, user name, and -
password
6 Telnet tool -
7 Network cable and serial cable -

2. Prepare the upgrade version files.

Table 8-2 Files required for the upgrade


No. File Type Document Name Remarks

1 AP upgrade version file FitAP6X10XN_V200R00 -


7C10.bin

Do not modify the file name. Modifying the file name will cause an AP upgrade failure.

8.2.2 Checking the Running Status of the AC


Step 1 Log in to the AC using Telnet or the serial port.
 Log in to the AC through Telnet.
Username:admin #Enter the username.
Password: #Enter the password.
Info: The max number of VTY users is 20, and the number
of current VTY users on line is 1.
The current login time is 2016-06-07 15:15:04+08:00.
<HUAWEI> system-view
[HUAWEI] sysname S6730-H
[S6730-H]

If you fail to log in to the AC, check whether the network connection is correct.
 Log in to the AC through the serial port.
Connect the serial ports of the PC and AC with a serial cable and connect the network
port of the PC and the maintenance network port of the AC with a network cable. If the
PC and AC are on different network segments, configure a route from the PC to the
maintenance network port of the AC.
Log in to the AC through the serial port.
Username:admin #Enter the username.
Password: #Enter the password.
<HUAWEI> system-view
[HUAWEI] sysname S6730-H
[S6730-H]

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 97


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

Step 2 Check the IP address of the maintenance network port. Here, the IP address is 192.168.10.10.
[S6730-H] display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 0

Interface IP Address/Mask Physical Protocol


MEth0/0/1 192.168.10.10/24 up up
NULL0 unassigned up up(s)
[S6730-H] return

If an IP address is displayed following MEth0/0/1, MEth0/0/1 has an IP address. If no IP address is


displayed, run the following command to configure one. The IP address and mask must meet the
customer's requirement.
[S6730-H] interface MEth0/0/1
[S6730-H-MEth0/0/1] ip address 192.168.10.10 24 #The IP address and mask
here are used as an example. Set the IP address and mask based on the actual
configuration on your network.

Step 3 Configure an IP address for the PC.


Ensure that the IP address of the PC is on the same network segment as the IP address of the
maintenance network port. If the PC and AC are on different network segments, configure a
route from the PC to the maintenance network port of the AC.
Step 4 Verify that the AC can communicate with the PC.
Ping the PC's IP address from AC. Ensure that the ping is successful.
Step 5 Check the S6730-H status.
Ensure that the Register field of the S6730-H is Registered and the Status field is Normal.
<S6730-H> display device
S6730-H24X6C's Device status:
Slot Sub Type Online Power Register Status Role
-------------------------------------------------------------------------------
0 - S6730-H Present PowerOn Registered Normal Master
PWR1 POWER Present PowerOn Registered Normal NA

----End

8.2.3 Checking the Type of the AP to Be Upgraded


Step 1 Check the type of the AP to be upgraded.
The following command output shows that the AP type ID of AP6010DN-AGN is 19.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 98


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

The command output varies according to AC versions. The following command output displays
information of V200R022C00.
<S6730-H> display ap-type all
--------------------------------------------------------------------------------
ID Type
--------------------------------------------------------------------------------
17 AP6010SN-GN
19 AP6010DN-AGN
21 AP6310SN-GN
23 AP6510DN-AGN
25 AP6610DN-AGN
27 AP7110SN-GN
28 AP7110DN-AGN
29 AP5010SN-GN
30 AP5010DN-AGN
31 AP3010DN-AGN
33 AP6510DN-AGN-US
34 AP6610DN-AGN-US
35 AP5030DN
36 AP5130DN
37 AP7030DE
38 AP2010DN
39 AP8130DN
40 AP8030DN
42 AP9330DN
43 AP4030DN
44 AP4130DN
45 AP3030DN
46 AP2030DN
47 AP9131DN
48 AP9132DN
49 AP5030DN-S
50 AP3010DN-V2
51 AP4030DN-E
52 AD9430DN-24
53 AD9430DN-12
54 R230D
55 R240D
56 AP6050DN
57 AP6150DN
58 AP7050DE
59 AP7050DN-E
60 AP4030TN
61 AP4050DN-E
62 AP4050DN-HD
64 AP430-E
65 R250D
66 R250D-E
68 AP1010SN
69 AP2050DN
70 AP2050DN-E
71 AP8130DN-W
73 AP2050DN-S
75 AP4050DN

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 99


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

76 AP4051DN
77 AP4151DN
78 AP4050DN-S
79 AP4051DN-S
80 AP8050DN
81 AP8150DN
82 AP8050DN-S
83 AD9431DN-24X
84 R450D
85 AP1050DN-S
86 AP4051TN
87 AP6052DN
88 AP7052DN
89 AP7052DE
91 AP7152DN
92 AP8050TN-HD
93 AP8082DN
94 AP8182DN
95 R251D
96 R251D-E
97 AP2051DN
98 AP2051DN-S
99 AP2051DN-E
100 AP7060DN
101 AP5050DN-S
102 AP2030DN-S
103 AP4050DE-M
104 AP4050DE-M-S
105 AP100EC
106 AP200EC
107 AP300EC
--------------------------------------------------------------------------------
-------
Total: 79

----End

8.2.4 Uploading the Software Packages


Context
 When using the AC mode, ensure that the AP can communicate with the AC and place
FitAP6X10XN_V200R007C10.bin in the FTP root directory. Upload the upgrade
software package according to the following steps.
 When using the FTP mode, ensure that the AP can communicate with the FTP server and
place FitAP6X10XN_V200R007C10.bin in the FTP root directory. For details about
how to configure the transmission path, see Method 3: Using the Switch as the FTP
Client.
 When using the SFTP mode, ensure that the AP can communicate with the SFTP server
and FitAP6X10XN_V200R007C10.bin is saved in the SFTP server. For details about
how to configure the transmission path, see Method 4: Using the Switch as the SFTP
Client.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 100


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

Procedure
Step 1 Transfer the AP upgrade version file to the AC.


You can use FTP, TFTP, or SFTP to transfer the AP upgrade version file to the AC.

In this example, the FTP/TFTP/SFTP server can communicate with the AC properly, the server IP
address is 192.168.10.11, IP address of the AC is 192.168.10.10, and the AP upgrade version file has
been saved on the server.
 Method 1: Use FTP to transfer the AP upgrade version file.


Start the FTP server program on your PC and specify the working directory. For details, see Method
3: Using the Switch as the FTP Client.
<S6730-H> dir
Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 drw- - Apr 01 2016 23:55:54 logfile
1 -rw- 753 Apr 10 2016 18:53:48 vrpcfg.zip
2 -rw- 10,305,536 Apr 21 2016 11:07:42 FitAP6X10XN_V200R006C10.bin

3 -rw- 73,127,860 Feb 24 2016 18:35:30 S6730-H-V200R022C00.cc


<S6730-H> ftp 192.168.10.11


Trying 192.168.10.11 ...
Press CTRL+K to abort
Connected to 192.168.10.11.
220 FTP Server ready.
User(192.168.10.11:(none)):ac
331 Password required for ac.
Enter password:
230 User logged in.

[ftp] binary
200 Type set to I.

[ftp] get FitAP6X10XN_V200R007C10.bin


200 Port command successful.
150 Opening data connection for FitAP6X10XN_V200R007C10.bin.
226 File sent ok
FTP: 11969076 byte(s) received in 33.450 second(s) 357.82Kbyte(s)/sec.

 Method 2: Use TFTP to transfer the AP upgrade version file.


Start the TFTP server program on your PC and specify the working directory. For details, see
Method 1: Using the Switch as the TFTP Client.
<S6730-H> dir
Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 drw- - Apr 01 2016 23:55:54 logfile
1 -rw- 753 Apr 10 2016 18:53:48 vrpcfg.zip
2 -rw- 10,305,536 Apr 21 2016 11:07:42 FitAP6X10XN_V200R006C10.bin
3 -rw- 73,127,860 Feb 24 2016 18:35:30 S6730-H-V200R022C00.cc

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 101


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC


<S6730-H> tftp 192.168.10.11 get FitAP6X10XN_V200R007C10.bin
Info: Transfer file in binary mode.
Downloading the file from the remote TFTP server. Please wait...|
TFTP: Downloading the file successfully.
11969076 bytes received in 74 seconds.

 Method 3: Use SFTP to transfer the AP upgrade version file.


Start the SFTP server program on your PC and specify the working directory. For details, see
Method 4: Using the Switch as the SFTP Client.
<S6730-H> dir
Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 drw- - Apr 01 2016 23:55:54 logfile
1 -rw- 753 Apr 10 2016 18:53:48 vrpcfg.zip
2 -rw- 10,305,536 Apr 21 2016 11:07:42 FitAP6X10XN_V200R006C10.bin
3 -rw- 73,127,860 Feb 24 2016 18:35:30 S6730-H-V200R022C00.cc

...
<S6730-H> system-view
[S6730-H] ssh client first-time enable
[S6730-H] sftp 192.168.10.11
Please input the username:huawei#Enter the username and press Enter.
Trying 192.168.10.11 ...
Press CTRL+K to abort
The server is not authenticated. Continue to access it? (y/n)[n]:y
Save the server's public key? (y/n)[n]:y
The server's public key will be saved with the name 192.168.10.11.Please wait
...

Enter password:#Enter huawei and press Enter. The password is not displayed on
the screen.
sftp-client> get FitAP6X10XN_V200R007C10.bin
Remote file: /FitAP6X10XN_V200R007C10.bin --->Local file:
FitAP6X10XN_V200R007C10.bin
End of file
Success
Info: Downloading file successfully ended.
Now begins to save file, please wait...
File had been saved successfully.

Step 2 Check that the AP upgrade version file has been uploaded to the AC.
<S6730-H> dir
Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 drw- - Apr 01 2016 23:55:54 logfile
1 -rw- 753 Apr 10 2016 18:53:48 vrpcfg.zip
3 -rw- 10,305,536 Apr 21 2016 11:07:42 FitAP6X10XN_V200R006C10.bin
4 -rw- 11,969,076 Mar 04 2016 12:21:42 FitAP6X10XN_V200R007C10.bin
5 -rw- 73,127,860 Feb 24 2016 18:35:30 S6730-H-V200R022C00.cc

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 102


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

----End

8.3 Upgrading Fit APs Using Command Lines on the AC


When a switch runs V200R009C00 and later versions, ensure that the APs to be upgraded
are in vmiss or normal state; otherwise, the online AP upgrade will fail.

When a switch runs a version earlier than V200R009C00, ensure that the APs to be
upgraded are in ver-mismatch, normal, or config-failed state; otherwise, the AP upgrade
will fail. When the AP status is config-failed, only automatic upgrade can be performed.

When the AC mode is used, upgrading multiple APs requires a long time. In the typical
scenarios, the S6730-H can upgrade about 100 APs per hour. Select a proper upgrade
mode according to your requirement. To reduce the service interruption time during
upgrade, FTP or SFTP is recommended.

On the AC, only Fit APs can be upgraded, but Fat APs cannot be upgraded. The
V200R010C00 version of switch supports upgrade from Fit AP to Fat AP.

The AC can issue configurations to AP only when the switch and AP versions match. If the
AP and AC versions do not match, the AP cannot process WLAN services. For example, if
the AC version is V200R022C00 and AP version is V200R005C10, the AP cannot work
properly. Run the display ap all command on the AC, and the AP state displays vmiss,
indicating that the AP must be upgraded to the same R version as the AC, for example,
V200R007C10.

An AP cannot process wireless services if its version does not match the AC version. As a
result, users can only telnet to the AC through the wired network to upgrade the AP.


The BIOS file is integrated into this AP file and will be upgraded together with the AP file.

When the display ap update status all (V200R009C00 and later versions) or display ap-update
status all (earlier than V200R009C00) command is run to display AP upgrade result, the displayed
result may be failed(link down). However, the AP may be upgraded successfully. The possible
reasons are as follows:
1. If the CAPWAP link is disconnected when the AP is writing data to the flash memory. The AC
considers the CAPWAP link faulty and records that the AP upgrade failed. However, the AP may
have been successfully upgraded. In such a case, the upgrade result recorded on the AC is
inconsistent with the actual situation.
2. The timeout period for AP upgrade is 90 minutes in AC mode and is 30 minutes for AP upgrade in
FTP and SFTP modes. If the upgrade time exceeds the timeout period, the AC records that the AP
upgrade failed. However, if the AP is writing data to the flash memory or the AP is upgraded in FTP
or SFTP mode but the FTP or SFTP server is not the AC, the AP may have been successfully
upgraded. In such a case, the upgrade result recorded on the AC is inconsistent with the actual
situation.
To address the preceding problem, restart the AP by the ap-reset command and then upgrade the AP
again.

If a Fit AP cannot obtain an IP address from the DHCP server, the Fit AP can use the default IP
address 169.254.1.1 and subnet mask 255.255.0.0.

This document assumes that: In AC mode, the FTP or TFTP server can communicate with the AC
normally. In FTP mode, the FTP or TFTP server can communicate with the AC normally, and the
server IP address is 192.168.10.11.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 103


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC


The procedure for upgrading the central AP and RRUs is similar to that for upgrading common APs.
Upgrade the central AP first and then upgrade the RRUs.

AP Upgrade Mode
 ac-mode: An AP downloads the upgrade version file from an AC.
 ftp-mode: After the AC executes the ap update ftp-server command (V200R009C00
and later versions) or the ap-update ftp-server command (earlier than V200R009C00)
to deliver FTP configuration, the APs download the version files from the FTP server.
 sftp-mode: After the AC executes the ap update sftp-server command (V200R009C00
and later versions) or the ap-update sftp-server command (earlier than V200R009C00)
to deliver SFTP configuration, the APs download the version files from the SFTP server.

The FTP mode and SFTP mode are recommended for an upgrade.

AP Upgrade Scenarios
 Automatic upgrade
Before an AP goes online, the AP discovers that its software version is earlier than that
on the AC or FTP server. At this time, the AP starts to upgrade the software from the AC
or FTP server. The FTP mode and SFTP mode can upgrade APs of different types
simultaneously, while the AC mode cannot. Automatic upgrade is recommended for
upgrading APs that are not online yet.
After automatic upgrade is configured, an AP automatically upgrades its version when
the AP is restarted or powered on. To implement an automatic upgrade, an AP can be
restarted manually or using commands.
In actual situations, if an AP that has automatic upgrade configured finds that its version
is different from the AP version specified on the AC, FTP server, or SFTP server after the
AP is powered on and accesses the network, the AP starts to upgrade its version.
 In-service upgrade
When an AP is working, the AP discovers that its software version is earlier than that on
the AC, FTP server, or SFTP server. At this time, the AP starts to upgrade the software.
APs of different types cannot be upgraded simultaneously. In-service upgrade is
recommended for upgrading online APs.

When the AC mode is used and some APs are upgrading automatically, an in-service upgrade cannot be
performed.

After an AC is upgraded to the target version, delete upgrade configurations on the AC. In a dual-AC
backup scenario, delete upgrade configurations on both the active and standby ACs to prevent
misoperations.

In a dual-AC backup scenario, if online APs exist only on the active AC, perform the following AP
upgrade operations on the active AC and delete upgrade configurations on the standby AC. This
prevents APs going online on the standby AC from being upgraded to the AP version configured on
the standby AC when the active AC fails.

In a dual-AC backup scenario, if the active and standby ACs have the same priority and both have
APs online, configure the same AP upgrade configurations on both ACs.

AP Upgrade Methods
 Single AP-based upgrade: Before upgrading multiple APs, upgrade a single AP to check
whether the upgrade version can function properly. If the upgrade is successful, upgrade
other APs in batches.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 104


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

 AP region- and type-based upgrade: APs in a hotspot area are upgraded to meet users'
requirement for upgrading AP according to areas. APs of the same type in the same area
are upgraded in batches.

A region is a logical concept. Multiple APs can be grouped into one region. AP regions are configured
based on AP deployment. Generally, a region maps a hotspot.
 AP group- and type-based upgrade: Upgrade the APs of the same type and in the same
group in a batch.
 AP type-based upgrade: APs of one type are upgraded in batches. You can also upgrade
specified APs of the same type.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 105


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

8.3.1 In-Service Upgrade


Upgrade Process

Figure 8-1 In-service upgrade flowchart

The upgrade version file of APs upgraded in AC mode, FTP mode, or SFTP mode is uploaded to the AC,
FTP, or SFTP server respectively.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 106


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

Upgrade Schedule

Table 8-1 Upgrade schedule (tested in the lab)


Upgra AP Upgrade Time AP Restart Time
de
Mode

ac- About 6 minutes About 2 minutes


mode
ftp- About 2 minutes About 2 minutes
mode
sftp- About 2 minutes About 2 minutes
mode

8.3.1.1 Configuring the Upgrade Mode

Context

You are advised to use an external FTP or SFTP server to upgrade APs.
If an AC is used as the FTP server, the maximum number of FTP connections is 5; therefore, a maximum
of 5 APs can be upgraded simultaneously.
If an AC is used as the SFTP server, the maximum number of SFTP connections is 5; therefore, a
maximum of 5 APs can be upgraded simultaneously.

Procedure
Step 1 Set the upgrade mode.
 Set the upgrade mode to SFTP and configure the SFTP server.
Switch of V200R009C00 and later versions:
<S6730-H> system-view
[S6730-H] wlan
[S6730-H-wlan-view] ap update mode sftp-mode
Info:Changing AP update mode causes an AP update failure, continue?[Y/N]:y
[S6730-H-wlan-view] ap update sftp-server ip-address 192.168.10.11 sftp-
username xxx sftp-password cipher yyy #xxx and yyy indicate the user name and
password for logging in to the SFTP server.
[S6730-H-wlan-view] display ap update configuration
-------------------------------------------------------------------------------
-
AP update mode: sftp-mode
FTP configuration
FTP IP: -
FTP username: anonymous
FTP password: ******
FTP max number: 50
SFTP configuration
SFTP IP: 192.168.10.11

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 107


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

SFTP username: xxx


SFTP password: ******
SFTP max number: 50
-------------------------------------------------------------------------------
-

Switch of a version earlier than V200R009C00:


<S6730-H> system-view
[S6730-H] wlan
[S6730-H-wlan-view] ap-update mode sftp-mode
[S6730-H-wlan-view] display ap-update mode
AP update mode : sftp-mode
[S6730-H-wlan-view] ap-update sftp-server 192.168.10.11 sftp-username xxx sftp-
password cipher yyy #xxx and yyy indicate the user name and password for
logging in to the SFTP server.
[S6730-H-wlan-view] display ap-update sftp-server
SFTP IP : 192.168.10.11
SFTP username : xxx
SFTP password : ******
SFTP max connect num : 50

 Set the upgrade mode to FTP and configure the FTP server.
Switch of V200R009C00 and later versions:
<S6730-H> system-view
[S6730-H] wlan
[S6730-H-wlan-view] ap update mode ftp-mode
Info:Changing AP update mode causes an AP update failure, continue?[Y/N]:y
Warning: FTP is not a secure protocol, and it is recommended to use SFTP.
[S6730-H-wlan-view] ap update ftp-server ip-address 192.168.10.11 ftp-username
xxx ftp-password cipher yyy #xxx and yyy indicate the user name and password
for logging in to the FTP server.
[S6730-H-wlan-view] display ap update configuration
-------------------------------------------------------------------------------
-
AP update mode: ftp-mode
FTP configuration
FTP IP: 192.168.10.11
FTP username: xxx
FTP password: ******
FTP max number: 50
SFTP configuration
SFTP IP: -
SFTP username: anonymous
SFTP password: ******
SFTP max number: 50
-------------------------------------------------------------------------------
-

Switch of a version earlier than V200R009C00:


<S6730-H> system-view
[S6730-H] wlan
[S6730-H-wlan-view] ap-update mode ftp-mode
[S6730-H-wlan-view] display ap-update mode
AP update mode : ftp-mode
[S6730-H-wlan-view] ap-update ftp-server 192.168.10.11 ftp-username xxx ftp-
password cipher yyy #xxx and yyy indicate the user name and password for

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 108


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

logging in to the FTP server.


[S6730-H-wlan-view] display ap-update ftp-server
FTP IP : 192.168.10.11
FTP username : xxx
FTP password : ******
FTP max connect num : 50

 Set the upgrade mode to AC.


Switch of V200R009C00 and later versions:
<S6730-H> system-view
[S6730-H] wlan
[S6730-H-wlan-view] ap update mode ac-mode
Info:Changing AP update mode causes an AP update failure, continue?[Y/N]:y
[S6730-H-wlan-view] display ap update configuration
-------------------------------------------------------------------------------
-
AP update mode: AC-mode
FTP configuration
FTP IP: -
FTP username: anonymous
FTP password: ******
FTP max number: 50
SFTP configuration
SFTP IP: -
SFTP username: anonymous
SFTP password: ******
SFTP max number: 50
-------------------------------------------------------------------------------
-

Switch of a version earlier than V200R009C00:


<S6730-H> system-view
[S6730-H] wlan
[S6730-H-wlan-view] ap-update mode ac-mode
[S6730-H-wlan-view] display ap-update mode
AP update mode : ac-mode

----End

8.3.1.2 Upgrading the AP

Procedure
Step 1 Upgrade a single AP to check whether the upgrade version can function properly. If the
upgrade is successful, upgrade other APs in batches. Run the display ap all command to
check the AP name or ID.
For example, for a switch running V200R009C00 and later versions, upgrade AP6010DN-
AGN named area_1:
[S6730-H-wlan-view] display ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
vmiss: ver-mismatch [5]
--------------------------------------------------------------------------------

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 109


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

ID MAC Name Group IPT Type State STA Uptime


--------------------------------------------------------------------------------
060de-4476-e320 area_0 default192.168.109.254 AP6010DN-AGNvmiss08D:2H:59M:27S
160de-4476-e340 area_1 default192.168.109.253 AP6010DN-AGNvmiss07D:14H:59M:22S
260de-4476-e360 area_2 default192.168.109.252 AP6010DN-AGNvmiss08D:2H:59M:9S
360de-4476-e380 area_3 default192.168.109.251 AP6010DN-AGNvmiss08D:2H:59M:3S
460de-4476-e3a0 area_4 default192.168.109.250 AP6010DN-AGNvmiss08D:2H:59M:3S
--------------------------------------------------------------------------------
Total: 5
[S6730-H-wlan-view] ap update load ap-name area_1 update-filename
FitAP6X10XN_V200R007C10.bin

Info: Start to load the update file,please wait for several seconds.
Info: Starting Single AP update. AP type AP6010DN-AGN, AP number 1.
Warning: Do not power off the AP during the upgrade.

For a switch of a version earlier than V200R009C00, upgrade AP6010DN-AGN with ID 1:


[S6730-H-wlan-view] display ap all
All AP(s) information:
Normal[5],Fault[0],Commit-failed[0],Committing[0],Config[0],Download[0]
Config-failed[0],Standby[0],Type-not-match[0],Ver-mismatch[0]
------------------------------------------------------------------------------
AP AP AP Profile AP AP
/Region
ID Type MAC ID State Sysname
------------------------------------------------------------------------------
0 AP6010DN-AGN 60de-4476-e320 0/10 normal ap-0
1 AP6010DN-AGN 60de-4476-e340 0/10 normal ap-1
2 AP6010DN-AGN 60de-4476-e360 0/10 normal ap-2
3 AP6010DN-AGN 60de-4476-e380 0/10 normal ap-3
4 AP6010DN-AGN 60de-4476-e3a0 0/10 normal ap-4
---------------------------------------------------------------------------
Total number: 5,printed: 5

[S6730-H-wlan-view] ap-update load ap-id 1 update-filename


FitAP6X10XN_V200R007C10.bin
Info: Starting Single AP update. AP type AP6010DN-AGN, AP number 1.


The system software name is case sensitive.

If an upgrade file has been specified for an AP type or the combination of the AP type and AP group,
a single AP of this type can only be upgraded using this specified upgrade file. To use another
upgrade file to upgrade the AP, delete the upgrade file configuration specified for the AP type or the
combination of the AP type and AP group.

If no upgrade file is specified for the type of the AP, the AP can be upgraded using any specified
upgrade file to check whether the upgrade file can function properly.

During the loading, run the display ap update status ap-name ap-name (V200R009C00 and later
versions) or display ap-update status ap-id ap-id (earlier than V200R009C00) command to check
the AP upgrade progress. For progress status description, see .

To cancel AP upgrade, run the undo ap update load ap-name ap-name (V200R009C00 and later
versions) or undo ap-update load ap-id ap-id (earlier than V200R009C00) command. If the AP has
started writing the upgrade file to the flash memory, the upgrade cannot be canceled.

In AC upgrade mode, canceling upgrade of RRUs in the download stage may cause an upgrade
failure of RRUs in other upgrade stages.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 110


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

Step 2 Wait for the system to report the upgrade result. After the upgrade is complete, the upgrade
result is displayed.
[S6730-H-wlan-view]
AP update result
AP number : 1
Success: 1
Failure: 0

Step 3 Check whether the AP software is loaded successfully.


 If the values of AP number and Success are the same, all the APs are upgraded
successfully.
 The value of Failure indicates the number of APs that fail to be upgraded.
Step 4 Reset the AP.
Switch of V200R009C00 and later versions:
[S6730-H-wlan-view] ap update reset ap-name area_1
Info: Starting batch AP reset. AP type AP6010DN-AGN.
Info: Batch AP reset completely.Success number 1, failure number 0.

Switch of a version earlier than V200R009C00:


[S6730-H-wlan-view] ap-update reset ap-id 1
Info: Starting Single AP reset. AP type AP6010DN-AGN.
Info: Single AP reset completely. Success number 1, failure number 0.

Step 5 Check whether the AP is upgraded successfully. For details, see Verifying Fit AP Upgrade.
After successfully upgrading a single AP, upgrade multiple APs by specifying an AP type or a
combination of an AP type and an AP group.
Step 6 Specify the name of the AP upgrade version file. Do not modify the file name. The AC
obtains version information according to the configured upgrade version file name. Changing
the file name of the AP software package may cause an AP upgrade failure.
Choose an appropriate upgrade method according to the site requirements.
 Specify the upgrade file name for APs of a specified type.
Switch of V200R009C00 and later versions:
[S6730-H-wlan-view] ap update update-filename FitAP6X10XN_V200R007C10.bin ap-
type 19
Warning: If AP update mode is AC-mode, update-file's default path is flash:/,
continue?[Y/N]:y
[S6730-H-wlan-view] display ap update configuration
-------------------------------------------------------------------------------
-
AP update mode: sftp-mode
FTP configuration
FTP IP: -
FTP username: anonymous
FTP password: ******
FTP max number: 50
SFTP configuration
SFTP IP: 192.168.10.11
SFTP username: xxx
SFTP password: ******

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 111


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

SFTP max number: 50


AP type/AP-group update filename
AP6010DN-AGN: FitAP6X10XN_V200R007C10.bin
-------------------------------------------------------------------------------
-

Switch of a version earlier than V200R009C00:


[S6730-H-wlan-view] ap-update update-filename FitAP6X10XN_V200R007C10.bin ap-
type 19
Warning: If ap-update mode is ac-mode, update-file's default path is flash:/,
continue?(y/n)[n]:y
[S6730-H-wlan-view] display ap-update update-filename ap-type 19
AP update filename : FitAP6X10XN_V200R007C10.bin

 For a switch of V200R009C00 and later versions, set the version file name for the APs of
a certain type and in the same group. Assume that the AP group name is default.
[S6730-H-wlan-view] ap update update-filename FitAP6X10XN_V200R007C10.bin ap-
type 19 ap-group default
Warning: If AP update mode is AC-mode, update-file's default path is cfcard:/,
c
ontinue?[Y/N]:y
[S6730-H-wlan-view] display ap update configuration
-------------------------------------------------------------------------------
-
AP update mode: sftp-mode
FTP configuration
FTP IP: -
FTP username: anonymous
FTP password: ******
FTP max number: 50
SFTP configuration
SFTP IP: 192.168.10.11
SFTP username: xxx
SFTP password: ******
SFTP max number: 50
AP type/AP-group update filename
AP6010DN-AGN/default: FitAP6X10XN_V200R007C10.bin
-------------------------------------------------------------------------------
-

 For a switch of a version earlier than V200R009C00, set the version file name for AP
region 10.
[S6730-H-wlan-view] ap-update update-filename FitAP6X10XN_V200R007C10.bin ap-
type 19 region 10
Warning: If ap-update mode is ac-mode, update-file's default path is flash:/.

Are you sure to continue?(y/n)[n]:y


[S6730-H-wlan-view] display ap-update update-filename ap-type 19 region 10
AP update filename : FitAP6X10XN_V200R007C10.bin


The system software name is case sensitive.

If the APs to be upgraded are of various types, configure different file names.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 112


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC


In V200R009C00 and later versions, if you specify an upgrade file name for an AP type or a
combination of an AP type and an AP group and upgrade/restart APs by specifying the AP type, the
upgrade file specified for the AP type and group takes effect but the restart operation performed on
APs of the specified type does not take effect. To solve this problem, delete the upgrade file
specified for the combination of AP type and AP group.
In a version earlier than V200R009C00, if you specify an upgrade file name for an AP type and an
AP region respectively and restart APs by specifying the AP type, the upgrade file specified for the
AP region takes effect but the restart operation performed on APs of the specified type does not take
effect. To solve this problem, delete the upgrade file specified for the AP region.

In V200R009C00 and later versions, you can run the ap update command at most 256 times to
specify upgrade file names for AP types and a combination of AP types and AP groups. If 256
command lines have been configured in the system, no more configuration can be made until you
delete unnecessary ap update configurations.
In a version earlier than V200R009C00, you can run the ap-update command at most 512 times to
specify upgrade file names for AP types and AP regions. If 512 command lines have been configured
in the system, no more configuration can be made until you delete unnecessary ap-update
configurations.

Step 7 Run the following command to upgrade APs of a specified type, for example, AP6010DN-
AGN.
 Perform this step if you have specified the name of the upgrade version file for APs of
the same type in Step 6.
Switch of V200R009C00 and later versions:
[S6730-H-wlan-view] ap update multi-load ap-type 19

Switch of a version earlier than V200R009C00:


[S6730-H-wlan-view] ap-update multi-load ap-type 19

You can also upgrade some APs of a certain type, for example, there are 11 APs (0 to 10) of AP6010DN-
AGN, and you can choose to upgrade APs 0 to 4.

For a switch of V200R009C00 and later versions, run the ap update multi-load ap-type 19 ap-id 0
ap-id 1 ap-id 2 ap-id 3 ap-id 4 command.

For a switch of a version earlier than V200R009C00, run the ap-update multi-load ap-type 19 ap-
id 0 to 4 command.
 For a switch of V200R009C00 and later versions, if a version file name is specified for
the AP group in Step 6, perform this step. If an error is reported after this command is
run, see .
[S6730-H-wlan-view] ap update multi-load ap-type 19 ap-group default

 For a switch of a version earlier than V200R009C00, if the version file name is set for
the AP region in Step 6, perform this step. If an error is reported after this command is
run, see .
[S6730-H-wlan-view] ap-update multi-load ap-type 19 region 10

Table 8-1 Common errors and solutions


Error Possible Cause and Solution

Error: AP upgrade file name is The upgrade file name is not configured for
notconfigured the specified AP type. Configure the correct
file name.
Other errors Contact Huawei technical personnel.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 113


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

During the loading, run the display ap update status all (V200R009C00 and later versions) or display
ap-update status all (earlier than V200R009C00) command to check the AP upgrade progress.
To check the loaded system software package, APs failed to be upgraded, and APs successfully
upgraded, run the display ap update status { downloading | failed | succeed } (V200R009C00 and
later versions) or display ap-update status { downloading | failed | succeed } (earlier than
V200R009C00) command.
To cancel batch AP upgrade, run the undo ap update multi-load ap-type type-id (V200R009C00 and
later versions), undo ap update multi-load ap-type type-id ap-group group-name (V200R009C00 and
later versions), undo ap-update multi-load ap-type type-id (earlier than V200R009C00), or undo ap-
update multi-load ap-type type-id region region-id (earlier than V200R009C00) command. If the AP
has started writing the upgrade file to the flash memory, the upgrade cannot be canceled.
In AC upgrade mode, canceling upgrade of RRUs in the download stage may cause an upgrade failure of
RRUs in other upgrade stages.
If the upgrade result of the APs is displayed as failed, check network connections and upgrade the APs
again.

Switch of V200R009C00 and later versions:


[S6730-H-wlan-view] display ap update status all
------------------------------------------------------------------------------
ID Name Type AP MAC Update Status
------------------------------------------------------------------------------
0area_0 AP6010DN-AGN60de-4476-e320 succeed
1area_1 AP6010DN-AGN60de-4476-e340 downloading(progress: 100%/50%)
2area_2 AP6010DN-AGN60de-4476-e360 downloading(progress: 80%/0%)
3area_3 AP6010DN-AGN60de-4476-e380 downloading(progress: 70%/0%)
4area_4 AP6010DN-AGN60de-4476-e3a0 downloading(progress: 60%/0%)
------------------------------------------------------------------------------
Total: 5

Switch of a version earlier than V200R009C00:


[S6730-H-wlan-view] display ap-update status all
------------------------------------------------------------------------------
AP ID AP Type AP Mac Update Status
------------------------------------------------------------------------------
0 AP6010DN-AGN 60de-4476-e320 succeed
1 AP6010DN-AGN 60de-4476-e340 downloading(progress: 100%/50%)
2 AP6010DN-AGN 60de-4476-e360 downloading(progress: 80%/0%)
3 AP6010DN-AGN 60de-4476-e380 downloading(progress: 70%/0%)
4 AP6010DN-AGN 60de-4476-e3a0 downloading(progress: 60%/0%)
----------------------------------------------------------------
Total number: 5

Table 8-2 Upgrade status


Status Description

succeed 
downloading (progress: 80%/0%): The
AP is downloading the system software
downloading package, with 80% downloaded.
failed 
downloading (progress: 100%/50%): The
system software package is successfully
- downloaded and is being written to the
flash memory, with 50% written.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 114


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

Status Description

failed(AC global caching): The upgrade
failed. When an AP is downloading
system software package during an in-
service upgrade, the system displays this
message if the AP starts automatic
upgrade which triggers a new process for
downloading the software package.
When multiple RUs automatically
upgrade at the same time, this message
may also be displayed. In this situation,
the actual RU upgrade result depends on
that displayed in the display ap update
status all command output.

failed(alloc memory for file): The upgrade
failed because the AP failed to apply for
memory resources.

failed(AP is updating now. Please wait.):
The upgrade failed.
− Before VRRP switchover, the AP
upgrades online in AC mode. After
VRRP switchover, the AP upgrade is
not complete and the AC delivers the
upgrade command again. Therefore,
the system prompts that the upgrade
fails.
− After going online on the AC, the AP
checks whether the system software
package type in the standby area is
the same as that in the active area. If
not, an active/standby
synchronization is performed to copy
the system software package in the
active area to the standby area. This
process is equivalent to the AP
upgrade in progress. Therefore, the
system prompts that the upgrade
fails.

failed(AP type in the EFS mismatch): The
upgrade failed because the AP type in
the EFS file trailer of the current AP
version does not match the AP.

failed(AP type mismatch batch upgrade
AP type): The upgrade failed because
the AP type is different from the batch
upgrade AP type.

failed(AP wait file timeout): The upgrade
failed because the time that the AP waits
for fragment data expired.

failed(block full): The upgrade failed
because the number of APs

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 115


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

Status Description

simultaneously upgraded in AC mode


reaches the maximum.

failed(change to standby): The upgrade
failed due a revertive switchover failure.

failed(fail to download the file): The
upgrade failed because the system
software failed to be downloaded.

failed(file content error): The upgrade
failed due to incorrect system software
file contents.

failed(file version inconsistent): The
upgrade failed because the AP type in
the EFS file trailer does not match the
AP type contained in the system
software package name.

failed(invalid file name): The upgrade
failed because the name of the AP
version file is incorrect.

failed(link down): The upgrade failed
because the AP failed to communicate
with the AC.

failed(mode changed): The upgrade failed
because the AP upgrade mode is
changed during the AP automatic
upgrade.

failed(nospace in AP memory): The
upgrade failed because the AP memory
resources were insufficient.

failed(not receive update result): The
upgrade failed because the AC receives
no AP upgrade result.

failed(over max upgrade time): The
upgrade failed because the upgrade
duration exceeds the maximum upgrade
time allowed.

failed(server password is too long): The
upgrade failed because the FTP/SFTP
server password is too long.

failed(read file): The upgrade failed
because no upgrade file is available in
the flash memory.

failed(receive file failed): The upgrade
failed because fragments failed to be
received.

failed(retransfer over times): The upgrade
failed because the number of fragment
retransmissions exceeds the threshold.

failed(send first file failed): The upgrade

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 116


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

Status Description

failed because the first fragment failed to


be sent.

failed(other reason): The upgrade failed
due to an unknown error.

failed(upgrade timeout): The upgrade
timed out and failed.

failed(user canceled): The upgrade failed
because the user canceled the upgrade.

failed(waited for next batch): The upgrade
failed. The AP has to wait for the next
upgrade.

failed(write flash error): The upgrade
failed because the system software
package failed to be written to the flash
memory.

failed(file changed): The upgrade failed
because the upgrade file was modified
during the automatic upgrade.

failed(age time out): The upgrade failed
because the state machine aged out.

succeed: The upgrade succeeded.

succeed(auto resetting): The upgrade
failed, and the AP is being restarted.

succeed(need reset): The upgrade
succeeded. The AP must be restarted.

succeed(resetting): The upgrade
succeeded and the AP is being manually
restarted.

succeed(no need to update): The upgrade
succeeded. There is no need to upgrade
the AP.

succeed(need mode switch): The upgrade
succeeded. The AP mode needs to be
switched.

failed(send upgrade configuration): The
upgrade failed because the upgrade
configuration failed to be sent.

failed(send upgrade request): The upgrade
failed because the upgrade request failed
to be sent.

failed(upgrade configuration response
error): The upgrade failed because there
was an error in the AP's upgrade
response.

failed(process upgrade filename): The
upgrade failed because the AC failed to
process the upgrade file name.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 117


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

Status Description

failed(cannot get AP type): The upgrade
failed because the AC failed to obtain
the AP type.

failed(analyze the version by upgrade
filename): The upgrade failed because
the device failed to analyze the version
number in the file name.

failed(age time out): The upgrade failed
because the state machine aged out.

failed(state transition check failed for the
update module): The upgrade failed
because the AC failed to check the status
transition of the upgrade module.

-: The AP requires no upgrade.

Step 8 Wait for the system to report the upgrade result. After all APs of the specified type are
upgraded, the upgrade result is displayed.
[S6730-H-wlan-view]

AP update result
AP number : 5
Success: 5
Failure: 0

Step 9 Check whether the AP software is loaded successfully.


 If the values of AP number and Success are the same, all the APs are upgraded
successfully.
 The value of Failure indicates the number of APs that fail to be upgraded.
Step 10 Reset the AP.
 Reset APs of a specified type in batches. Perform this step if you have specified the
name of the upgrade version file for APs of the same type in Step 6.
Switch of V200R009C00 and later versions:
[S6730-H-wlan-view] ap update multi-reset ap-type 19
Info: Starting batch AP reset.done.
Info: Batch AP reset completely. Success number 5, failure number 0.

Switch of a version earlier than V200R009C00:


[S6730-H-wlan-view] ap-update multi-reset ap-type 19
Info: Starting batch AP reset. AP type AP6010DN-AGN.
Info: Batch AP reset completely. Success number 5, failure number 0.

For a switch of V200R009C00 and later versions, if the specified AP is upgraded in Step 7, run the ap
update multi-reset ap-type 19 ap-id 0 ap-id 1 ap-id 2 ap-id 3 ap-id 4 command.
For a switch of a version earlier than V200R009C00, if the specified AP is upgraded in Step 7, run the
ap-update multi-reset ap-type 19 ap-id 0 to 4 command.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 118


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

 In V200R009C00 and later versions, the APs are reset based on AP group after an
upgrade. Perform this step if you have specified the name of the upgrade version file for
APs in the same group in Step 6.
[S6730-H-wlan-view] ap update multi-reset ap-type 19 ap-group default
Info: Starting batch AP reset.done.
Info: Batch AP reset completely. Success number 5, failure number 0.

 In a version earlier than V200R009C00, the APs are reset based on AP region after an
upgrade. Perform this step if you have specified the name of the upgrade version file for
APs in the same region in Step 6.
[S6730-H-wlan-view] ap-update multi-reset ap-type 19 region 10
Info: Starting batch AP reset. AP type AP6010DN-AGN.
Info: Batch AP reset completely. Success number 5, failure number 0.

Step 11 Verify the upgrade according to Verifying Fit AP Upgrade.


----End

8.3.2 Automatic Upgrade


Upgrade Process

Figure 8-1 Automatic upgrade flowchart

The upgrade version file of APs upgraded in AC mode, FTP mode, or SFTP mode is uploaded to the AC,
FTP, or SFTP server respectively.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 119


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

Upgrade Schedule

Table 8-1 Upgrade schedule (tested in the lab)


Upgra AP Upgrade Time AP Restart Time
de
Mode

ac- About 2 minutes About 3 minutes


mode
ftp- About 2 minutes About 1 minute
mode
sftp- About 2 minutes About 1 minute
mode

8.3.2.1 Configuring the Upgrade Mode

Context

You are advised to use an external FTP or SFTP server to upgrade APs.
If a switch is used as the FTP server, the maximum number of FTP connections is 5; therefore, a
maximum of 5 APs can be upgraded simultaneously.
If a switch is used as the SFTP server, the maximum number of SFTP connections is 5; therefore, a
maximum of 5 APs can be upgraded simultaneously.

Procedure
Step 1 Set the upgrade mode.
 Set the upgrade mode to SFTP and configure the SFTP server.
Switch of V200R009C00 and later versions:
<S6730-H> system-view
[S6730-H] wlan
[S6730-H-wlan-view] ap update mode sftp-mode
Info:Changing AP update mode causes an AP update failure, continue?[Y/N]:y
[S6730-H-wlan-view] ap update sftp-server ip-address 192.168.10.11 sftp-
username xxx sftp-password cipher yyy #xxx and yyy indicate the user name
and password for logging in to the SFTP server.
[S6730-H-wlan-view] display ap update configuration
-------------------------------------------------------------------------------
-
AP update mode: sftp-mode
FTP configuration
FTP IP: -
FTP username: anonymous
FTP password: ******
FTP max number: 50
SFTP configuration
SFTP IP: 192.168.10.11

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 120


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

SFTP username: xxx


SFTP password: ******
SFTP max number:50
-------------------------------------------------------------------------------
-

Switch of a version earlier than V200R009C00:


<S6730-H> system-view
[S6730-H] wlan
[S6730-H-wlan-view] ap-update mode sftp-mode
[S6730-H-wlan-view] display ap-update mode
AP update mode : sftp-mode
[S6730-H-wlan-view] ap-update sftp-server 192.168.10.11 sftp-username xxx sftp-
password cipher yyy #xxx and yyy indicate the user name and password for
logging in to the SFTP server.
[S6730-H-wlan-view] display ap-update sftp-server
SFTP IP : 192.168.10.11
SFTP username : xxx
SFTP password : ******
SFTP max connect num : 50

 Set the upgrade mode to FTP and configure the FTP server.
Switch of V200R009C00 and later versions:
<S6730-H> system-view
[S6730-H] wlan
[S6730-H-wlan-view] ap update mode ftp-mode
Info:Changing AP update mode causes an AP update failure, continue?[Y/N]:y
Warning: FTP is not a secure protocol, and it is recommended touse SFTP.
[S6730-H-wlan-view] ap update ftp-server ip-address 192.168.10.11 ftp-username
xxx ftp-password cipher yyy #xxx and yyy indicate the user name and password
for logging in to the FTP server.
[S6730-H-wlan-view] display ap update configuration
-------------------------------------------------------------------------------
-
AP update mode: ftp-mode
FTP configuration
FTP IP: 192.168.10.11
FTP username: xxx
FTP password: ******
FTP max number: 50
SFTP configuration
SFTP IP: -
SFTP username: anonymous
SFTP password: ******
SFTP max number: 50
-------------------------------------------------------------------------------
-

Switch of a version earlier than V200R009C00:


<S6730-H> system-view
[S6730-H] wlan
[S6730-H-wlan-view] ap-update mode ftp-mode
[S6730-H-wlan-view] display ap-update mode
AP update mode : ftp-mode
[S6730-H-wlan-view] ap-update ftp-server 192.168.10.11 ftp-username xxx ftp-
password cipher yyy #xxx and yyy indicate the user name and password for

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 121


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

logging in to the FTP server.


[S6730-H-wlan-view] display ap-update ftp-server
FTP IP : 192.168.10.11
FTP username : xxx
FTP password : ******
FTP max connect num : 50

 Set the upgrade mode to AC.


Switch of V200R009C00 and later versions:
<S6730-H> system-view
[S6730-H] wlan
[S6730-H-wlan-view] ap update mode ac-mode
Info:Changing AP update mode causes an AP update failure, continue?[Y/N]:y
[S6730-H-wlan-view] display ap update configuration
-------------------------------------------------------------------------------
-
AP update mode: AC-mode
FTP configuration
FTP IP: -
FTP username: anonymous
FTP password: ******
FTP max number: 50
SFTP configuration
SFTP IP: -
SFTP username: anonymous
SFTP password: ******
SFTP max number: 50
-------------------------------------------------------------------------------
-

Switch of a version earlier than V200R009C00:


<S6730-H> system-view
[S6730-H] wlan
[S6730-H-wlan-view] ap-update mode ac-mode
[S6730-H-wlan-view] display ap-update mode
AP update mode : ac-mode

----End

8.3.2.2 Upgrading the AP

Procedure
Step 1 Specify the name of the AP upgrade version file. Do not modify the file name. The AC
obtains version information according to the configured upgrade version file name. Changing
the file name of the AP software package may cause an AP upgrade failure.
Choose an appropriate upgrade method according to the site requirements.
 Specify the upgrade file name for APs of a specified type.
Switch of V200R009C00 and later versions:
[S6730-H-wlan-view] ap update update-filename FitAP6X10XN_V200R007C10.bin ap-
type 19
Warning: If AP-update mode is AC-mode, update-file's default path is flash:/,
continue?[Y/N]:y

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 122


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

[S6730-H-wlan-view] display ap update configuration


-------------------------------------------------------------------------------
-
AP update mode: sftp-mode
FTP configuration
FTP IP: -
FTP username: anonymous
FTP password: ******
FTP max number: 50
SFTP configuration
SFTP IP: 192.168.10.11
SFTP username: xxx
SFTP password: ******
SFTP max number: 50
AP type/AP-group update filename
AP6010DN-AGN: FitAP6X10XN_V200R007C10.bin

Switch of a version earlier than V200R009C00:


[S6730-H-wlan-view] ap-update update-filename FitAP6X10XN_V200R007C10.bin ap-
type 19
Warning: If ap-update mode is ac-mode, update-file's default path is flash:/,
continue?(y/n)[n]:y
[S6730-H-wlan-view] display ap-update update-filename ap-type 19
AP update filename : FitAP6X10XN_V200R007C10.bin

 For a switch of V200R009C00 and later versions, set the version file name for the APs in
the same group. Assume that the AP group name is default.
[S6730-H-wlan-view] ap update update-filename FitAP6X10XN_V200R007C10.bin ap-
type 19 ap-group default
Warning: If AP-update mode is AC-mode, update-file's default path is flash:/,
continue?[Y/N]:y
[S6730-H-wlan-view] display ap update configuration
-------------------------------------------------------------------------------
-
AP update mode: sftp-mode
FTP configuration
FTP IP: -
FTP username: anonymous
FTP password: ******
FTP max number: 50
SFTP configuration
SFTP IP: 192.168.10.11
SFTP username: xxx
SFTP password: ******
SFTP max number: 50
AP type/AP-group update filename
AP6010DN-AGN/default: FitAP6X10XN_V200R007C10.bin
-------------------------------------------------------------------------------
-

 For a switch of a version earlier than V200R009C00, set the version file name for AP
region 10.
[S6730-H-wlan-view] ap-update update-filename FitAP6X10XN_V200R007C10.bin ap-
type 19 region 10
Warning: If ap-update mode is ac-mode, update-file's default path is flash:/.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 123


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

Are you sure to continue?(y/n)[n]:y


[S6730-H-wlan-view] display ap-update update-filename ap-type 19 region 10
AP update filename : FitAP6X10XN_V200R007C10.bin


The system software name is case sensitive.

If the APs to be upgraded are of various types, configure different file names.

In V200R009C00 and later versions, if you specify an upgrade file name for an AP type and an AP
group respectively and restart APs by specifying the AP type, the upgrade file specified for the AP
group takes effect but the restart operation performed on APs of the specified type does not take
effect. To solve this problem, delete the upgrade file specified for the AP group.

In a version earlier than V200R009C00, if you specify an upgrade file name for an AP type and an
AP region respectively and restart APs by specifying the AP type, the upgrade file specified for the
AP region takes effect but the restart operation performed on APs of the specified type does not take
effect. To solve this problem, delete the upgrade file specified for the AP region.

In V200R009C00 and later versions, you can run the ap update command at most 256 times to
specify upgrade file names for AP types or AP groups. If 256 command lines have been configured
in the system, no more configuration can be made until you delete unnecessary ap update
configurations.

In a version earlier than V200R009C00, you can run the ap-update command at most 512 times to
specify upgrade file names for AP types and AP regions. If 512 command lines have been configured
in the system, no more configuration can be made until you delete unnecessary ap-update
configurations.

Step 2 Upgrade a single AP to check whether the upgrade version can function properly. If the
upgrade is successful, upgrade other APs in batches. Run the display ap all command to
check the AP name.
AP6010DN-AGN is used here.
[S6730-H-wlan-view] display ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
vmiss: ver-mismatch [5]
--------------------------------------------------------------------------------
ID MAC Name Group IP TypeState STA Uptime
--------------------------------------------------------------------------------
060de-4476-e320 area_0 default192.168.109.254 AP6010DN-AGNvmiss08D:2H:59M:27S
160de-4476-e340 area_1 default192.168.109.253 AP6010DN-AGNvmiss07D:14H:59M:22S
260de-4476-e360 area_2 default192.168.109.252 AP6010DN-AGNvmiss08D:2H:59M:9S
360de-4476-e380 area_3 default192.168.109.251 AP6010DN-AGNvmiss08D:2H:59M:3S
460de-4476-e3a0 area_4 default192.168.109.250 AP6010DN-AGNvmiss08D:2H:59M:3S
--------------------------------------------------------------------------------
Total: 5

Step 3 Reset a single AP.


Switch of V200R009C00 and later versions:
[S6730-H-wlan-view] ap-reset ap-name area_1
Warning: Reset AP(s), continue?[Y/N]:y
Info: Reset AP completely.

Switch of a version earlier than V200R009C00:


[S6730-H-wlan-view] ap-reset id 1
Warning: Reset AP(s), continue?[Y/N]:y
Info: Now starting to reset AP(s).done.
Info: Reset AP(s) completely. Success count: 1. Failure count: 0.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 124


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

Step 4 Check whether the AP is upgraded successfully. For details, see Verifying Fit AP Upgrade.
After successfully upgrading a single AP, upgrade multiple APs by specifying an AP type or a
combination of an AP type and an AP group.

Resetting an AP will interrupt the connection between AP and the AC. The connection will be
restored after a period of time.
If the connection cannot be recovered after 30 minutes, the AP upgrade may have failed.
Connect an operation terminal to the AP through the serial port to locate the fault.
If the AC and AP versions do not match, the AP status displays config-failed. This does not
affect AP automatic upgrade.

Step 5 Reset APs of a specified type.


[S6730-H-wlan-view] ap-reset ap-type type-id 19
Warning: Reset AP(s),continue?[Y/N]:y
Info: Now starting to reset AP(s)...done.
Info: Reset AP(s) completely. Success count: 5. Failure count: 0.

The AP automatically downloads the version file from the AC. In this case, the AP is in
download state.
[S6730-H-wlan-view] display ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
dload: download[5]
--------------------------------------------------------------------------------
ID MAC Name Group IP TypeState STA Uptime
--------------------------------------------------------------------------------
060de-4476-e320 area_0 default192.168.109.254 AP6010DN-AGNdload08D:2H:59M:27S
160de-4476-e340 area_1 default192.168.109.253 AP6010DN-AGNdload07D:14H:59M:22S
260de-4476-e360 area_2 default192.168.109.252 AP6010DN-AGNdload08D:2H:59M:9S
360de-4476-e380 area_3 default192.168.109.251 AP6010DN-AGNdload08D:2H:59M:3S
460de-4476-e3a0 area_4 default192.168.109.250 AP6010DN-AGNdload08D:2H:59M:3S
--------------------------------------------------------------------------------
Total: 5

During the loading, run the display ap update status all (V200R009C00 and later versions) or display
ap-update status all (a version earlier than V200R009C00) command to check the AP upgrade
progress.
To check the loaded system software package, APs failed to be upgraded, and APs successfully
upgraded, run the display ap update status { downloading | failed | succeed } (V200R009C00 and
later versions) or display ap-update status { downloading | failed | succeed } (a version earlier than
V200R009C00) command.
If the upgrade result of the APs is displayed as failed, check network connections and upgrade the APs
again.

Switch of V200R009C00 and later versions:


[S6730-H-wlan-view] display ap update status all
------------------------------------------------------------------------------
ID Name Type AP MAC Update Status
------------------------------------------------------------------------------

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 125


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

0area_0 AP6010DN-AGN60de-4476-e320 succeed


1area_1 AP6010DN-AGN60de-4476-e340 downloading(progress: 100%/50%)
2area_2 AP6010DN-AGN60de-4476-e360 downloading(progress: 80%/0%)
3area_3 AP6010DN-AGN60de-4476-e380 downloading(progress: 70%/0%)
4area_4 AP6010DN-AGN60de-4476-e3a0 downloading(progress: 60%/0%)
------------------------------------------------------------------------------
Total: 5

Switch of a version earlier than V200R009C00:


[S6730-H-wlan-view] display ap-update status all
----------------------------------------------------------------
AP ID AP Type AP Mac Update Status
----------------------------------------------------------------
0 AP6010DN-AGN 60de-4476-e320 succeed
1 AP6010DN-AGN 60de-4476-e340 downloading(progress: 100%/50%)
2 AP6010DN-AGN 60de-4476-e360 downloading(progress: 80%/0%)
3 AP6010DN-AGN 60de-4476-e380 downloading(progress: 70%/0%)
4 AP6010DN-AGN 60de-4476-e3a0 downloading(progress: 60%/0%)
---------------------------------------------------------------
Total number: 5

For upgrade status description, see .


Step 6 Verify the upgrade according to Verifying Fit AP Upgrade.
----End

8.4 Verifying Fit AP Upgrade


Context
After an AP is upgraded using command lines on the AC, perform the following steps to
check whether the AP is upgraded successfully.

Table 8-1 Verification checklist


No. Verification Checklist Check Point

1 Check the AP status. All the APs that have been


upgraded and reset are working
properly.
2 AP version The software version of the APs is
the target version.

Procedure
Step 1 Check the AP status.
Run the display ap all command to check whether the APs are working properly.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 126


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

[S6730-H-wlan-view] display ap all


Total AP information:
nor: normal[5]
--------------------------------------------------------------------------------
ID MAC Name Group IP Type State STA Uptime
--------------------------------------------------------------------------------
060de-4476-e320 area_0 default192.168.109.254 AP6010DN-AGNnor08D:2H:59M:27S
160de-4476-e340 area_1 default192.168.109.253 AP6010DN-AGNnor07D:14H:59M:22S
260de-4476-e360 area_2 default192.168.109.252 AP6010DN-AGNnor08D:2H:59M:9S
360de-4476-e380 area_3 default192.168.109.251 AP6010DN-AGNnor08D:2H:59M:3S
460de-4476-e3a0 area_4 default192.168.109.250 AP6010DN-AGNnor08D:2H:59M:3S
--------------------------------------------------------------------------------
Total: 5

Step 2 Check the AP version.


Run the display ap version all command to check whether the AP version is V200R007C10.
[S6730-H-wlan-view] display ap version all
Compatible version : V200R007
--------------------------------------------------------------------------------
ID Name Group Type Version state
-----------------------------------------------------------------
0 area_0 default AP6010DN-AGN V200R007C10 normal
1 area_1 default AP6010DN-AGN V200R007C10 normal
2 area_2 default AP6010DN-AGN V200R007C10 normal
3 area_3 default AP6010DN-AGN V200R007C10 normal
4 area_4 default AP6010DN-AGN V200R007C10 normal
--------------------------------------------------------------------------------
Total: 5

Step 3 After the upgrade is successful, undo all upgrade commands on the AC to prevent
misoperations.
1. Delete the configured AP upgrade mode.
[S6730-H-wlan-view] undo ap update mode

− Run the following command if APs are upgraded in FTP mode.


[S6730-H-wlan-view] undo ap update ftp-server

− Run the following command if APs are upgraded in SFTP mode.


[S6730-H-wlan-view] undo ap update sftp-server

2. Delete the configured AP upgrade version file.


− Run the following command if APs are configured to be upgraded based on the AP
type.
[S6730-H-wlan-view] undo ap update update-filename ap-type 19

− If a version file name is specified for the AP group, perform this step.
[S6730-H-wlan-view] undo ap update update-filename ap-type 19 ap-group
default

In a dual-AC backup scenario, delete upgrade configurations on both the active and standby ACs

----End

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 127


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 7 Upgrading AP Through AC

8.5 Fit AP Version Rollback


Rollback Scenarios and Methods
Version rollback is necessary in the following scenarios:
 The upgrade was successful and the device was functioning properly, but the new system
software does not meet service requirements.
 The device cannot work normally after the upgrade.
Two methods are available for version rollback:
Roll back the Fit AP version using command lines on the AC, as described in Using
Command Lines on the AC for AP Version Rollback.

The AC uniformly delivers configuration to Fit APs, and you do not need to separately perform version
rollback on Fit APs.

8.5.1 Using Command Lines on the AC for AP Version Rollback


Preparing for AP Version Rollback
Prepare the file of the original AP version.

In-Service or Automatic Rollback


If the AP upgrade fails but the AP can start and connect to the AC, use this method.
Perform operations of in-service upgrade or automatic upgrade described in Upgrading Fit
APs Using Command Lines on the AC, and replace the AP version file with the source AP
version.

Verifying the Rollback


The procedure for verifying a version rollback is identical to the procedure for verifying an
upgrade. For details, see section Verifying Fit AP Upgrade.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 128


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 8 Verifying the Upgrade

9 Verifying the Upgrade

8.1 Verification Checklist


8.2 Checking the Current System Software Version
8.3 Verifying Patch Installation
8.4 Checking the Switch Running Status
8.5 Checking the System Configuration

9.1 Verification Checklist


Table 9-1 Verification checklist
No. Item Criteria Result

1 Check the current The system software


system software version is
version V200R022C00.
2 Verify patch The patch file to be
installation loaded is the
expected one.
3 Check the switch The switch runs
running status properly.
4 Check the system The system
configuration configuration is
correct.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 129


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 8 Verifying the Upgrade

9.2 Checking the Current System Software Version


Run the display version command to view the version of the system software running on the
switch.
<HUAWEI> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (S6720 V200R022C00)
Copyright (C) 2000-2020 HUAWEI TECH CO., LTD
HUAWEI S6730-H24X6C Routing Switch uptime is 0 week, 0 day, 0 hour, 4 minutes
EDFE 0(Master) : uptime is 0 week, 0 day, 0 hour, 4 minutes
64M bytes DDR Memory
16M bytes FLASH
Pcb Version : VER C
Basic BootROM Version : 181 Compiled at Aug 27 2016, 23:47:12
Software Version : VRP (R) Software, Version 5.170 (V200R022C00)
....

9.3 Verifying Patch Installation

If the target version does not have a matching patch file, skip this step.

Perform the following operations to check whether the patches are installed successfully.
Step 1 View information about the SP.
<HUAWEI> display patch-information
Patch Package Name :flash:/ S6730-H-V200R021SPH001.pat
Patch Package Version:V200R022SPH001
The state of the patch state file is: Running
The current state is: Running
************************************************************************
* Information about hot patch errors is as follows: *
************************************************************************
Slot CurrentVersion
------------------------------------------------------------
No hot patch error occurs on any board.
************************************************************************
* The hot patch information, as follows: *
************************************************************************
Slot Type State Count Time(YYYY-MM-DD HH:MM:SS)
------------------------------------------------------------------------
0 C Running 15 2020-08-19 18:38:35+00:00

The fields have the following meanings:


 Patch Package Name: name of the patch file.
 Patch Package Version: patch version.
 Slot: slot ID on a stand-alone switch or stack ID in a stack.
 Type: C indicates single-core patch.
 State: patch status.
Running: The patch is running.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 130


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 8 Verifying the Upgrade

Deactive: The patch is in inactive state.


Active: The patch is in active state.
 Count: number of patch units.
 Time: time of last operation on patch.
After the patch is installed, check the following items:
 Check that the patch name is the same as the name of the required patch. If an incorrect
patch is loaded, load the correct one.
 Check the patch status.
If the patch is in Running state, the patch is working properly.
If the patch is in Deactive state, run the patch active all command in the user view to
activate the patch, and run the patch run all command to run the patch. If the patch is
still not in Running state, contact Huawei technical support personnel.
If the patch is in Active state, run the patch run all command in the user view to run the
patch. If the patch is still not in Running state, contact Huawei technical support
personnel.
----End

9.4 Checking the Switch Running Status


Run the display device command to check the switch running status. Normal indicates that
the switch functions properly.
<HUAWEI> display device
S6730-H24X6C's Device status:
Slot Sub Type Online Power Register Status Role
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 - S6730-H24X6C Present PowerOn Registered Normal
Master
3 FAN Present PowerOn Registered Normal NA
4 POWER Present PowerOn Registered Normal NA

9.5 Checking the System Configuration


Use the display current-configuration command to check the system configuration. Check
whether the system software version is V200R022C00 (V200R022C00 is taken as an example
and the actual version number depends on the released version) and whether the configuration
is restored (the following configuration is taken as an example).
The configuration file may be modified after the upgrade. For the command line changes, see
the release notes of the matching version.
<HUAWEI> display current-configuration
!Software Version V200R022C00
#
sysname HUAWEI
#
dhcp enable
#

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 131


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 8 Verifying the Upgrade

undo http server enable


undo http secure-server enable
#
user-interface vty 16 20
#
undo nap slave enable
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password irreversible-cipher %^#%#&7&:=fi9h.A_(%+XC]OBzij5#7
.LzBjAS]-ZSuh0PMCo=`>{p/w<vT3s<A&'%^%#
local-user admin service-type http
#

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 132


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 9 Version Rollback

10 Version Rollback

9.1 Version Rollback

10.1 Version Rollback


If an error occurs after the upgrade, perform version rollback to restore services.

10.1.1 Version Rollback Flowchart


Figure 10-1 Version rollback flowchart

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 133


S200, S300, S500, S1700, S2700, S5700, and S6700
Series Ethernet Switches
Upgrade Guide 9 Version Rollback


Before rolling back the system software from V200R022C00 to an earlier version, check
whether the corresponding patch file has been installed. If so, install and activate the
patch.

Back up the configuration file before the upgrade. Rename the configuration file and
save it to the flash memory. During version rollback, specify the old configuration file
for the next startup. Otherwise, login may fail or services may be interrupted.

10.1.2 Loading the Previous System Software


The procedure for loading the previous system software package is the same as the procedure
for loading the system software for the upgrade. For details, see Upgrade Operations on a
Single Switch, or Upgrade Operations in a Stack, or Upgrade Operations in an SVF System.

10.1.3 Performing Version Rollback


See Upgrade Operations on a Single Switch, Upgrade Operations in a Stack, and Rolling
Back to an Earlier Version in Upgrade Operations in an SVF System.

10.1.4 Verifying Version Rollback


The verification of version rollback is the same as the verification of version upgrade. For
details, see Verifying the Upgrade.

Issue 01 (2022-10-26) Copyright © Huawei Technologies Co., Ltd. 134

You might also like