You are on page 1of 98

AR100, AR120, AR150, AR160, AR200, AR1200,

AR2200, AR3200, and AR3600


V200R010C10
Upgrade Guide

Issue 02

Date 2020-07-15

HUAWEI TECHNOLOGIES CO., LTD.


Copyright © Huawei Technologies Co., Ltd. 2020. 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 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. i


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide About This Document

About This Document

Change History
Issue Date Description
02 2020-07-15 This issue is the second official release.
01 2020-05-15 This issue is the first official release.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. ii


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide Contents

Contents

About This Document .................................................................................................................... ii


1 Before You Start............................................................................................................................. 1
1.1 Precautions.................................................................................................................................................................... 1
1.2 Upgrade Overview ........................................................................................................................................................ 7
1.3 Version Requirements ................................................................................................................................................... 9
1.4 Impact of the Upgrade ................................................................................................................................................ 15
1.4.1 Impact on the System During the Upgrade .............................................................................................................. 15
1.4.2 Impact on the System After the Upgrade ................................................................................................................. 16

2 Upgrade Process Overview ....................................................................................................... 21


3 Preparing for the Upgrade ......................................................................................................... 23
3.1 Pre-upgrade Checklist ................................................................................................................................................. 23
3.2 Obtaining Upgrade Reference Documents ................................................................................................................. 25
3.3 Obtaining Tools........................................................................................................................................................... 25
3.4 Obtaining Upgrade Software ...................................................................................................................................... 25
3.5 (Optional) Preparing the Configuration File ............................................................................................................... 28
3.6 (Optional) Preparing the License File ......................................................................................................................... 29
3.7 Using eDesk to Translate Configurations ................................................................................................................... 29
3.8 Verifying Software Integrity ....................................................................................................................................... 29
3.9 Verifying the Current Version ..................................................................................................................................... 30
3.10 Verifying the Current System Files ........................................................................................................................... 30
3.11 Verifying the Running Status of the Device .............................................................................................................. 30
3.12 Setting Up the Upgrade Environment Through TFTP, FTP, or SFTP ....................................................................... 31
3.12.1 Scenario 1: Use the AR as the FTP Server ............................................................................................................. 32
3.12.2 Scenario 2: Use the AR as the FTP Client, Use the PC as the FTP Server ............................................................ 33
3.12.3 Scenario 3: Use the AR as the TFTP Client, Use the PC as the TFTP Server ........................................................ 40
3.12.4 Scenario 4: Use the AR as the SFTP Client, Use the PC as the SFTP Server ........................................................ 40
3.13 Backing Up the Key Data in the Flash/SD Memory ................................................................................................. 41
3.13.1 Method 1: Use the AR as the FTP Server .............................................................................................................. 41
3.13.2 Method 2: Use the AR as the FTP Client ............................................................................................................... 42
3.13.3 Method 3: Use the AR as the TFTP Client............................................................................................................. 43
3.13.4 Method 4: Use the AR as the SFTP Client ............................................................................................................. 44
3.14 Checking the Space in the Flash/SD Memory .......................................................................................................... 45

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. iii


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide Contents

4 Upgrading the System Version Using the CLI ...................................................................... 47


4.1 Loading System Software ........................................................................................................................................... 48
4.1.1 Method 1: Use the AR as the FTP Server ................................................................................................................ 49
4.1.2 Method 2: Use the AR as the FTP Client ................................................................................................................. 49
4.1.3 Method 3: Use the AR as the TFTP Client............................................................................................................... 50
4.1.4 Method 4: Use the AR as the SFTP Client ............................................................................................................... 51
4.2 Verifying File Loading ................................................................................................................................................ 52
4.3 Specifying the System Software ................................................................................................................................. 52
4.3.1 AR Series Using a Single SRU ................................................................................................................................ 52
4.4 Restarting the Device .................................................................................................................................................. 53
4.5 (Optional) Activating the License ............................................................................................................................... 54
4.6 Verifying the Upgrade ................................................................................................................................................. 54
4.6.1 Verification Checklist .............................................................................................................................................. 54
4.6.2 Verifying the Current System Software ................................................................................................................... 54
4.6.3 (Optional) Verifying the License Status ................................................................................................................... 55
4.6.4 Verifying the SRU Registration Status ..................................................................................................................... 55
4.6.5 Verifying Configuration Restoration ........................................................................................................................ 55
4.6.6 Verifying Services .................................................................................................................................................... 56
4.7 Rolling Back to an Earlier Version ............................................................................................................................. 56
4.7.1 Rollback Scenarios and Methods ............................................................................................................................. 56
4.7.2 Rollback Process ...................................................................................................................................................... 57
4.7.3 Specify the startup software and configuration file of an early version ................................................................... 57
4.7.4 Restarting the Device ............................................................................................................................................... 58
4.7.5 Verifying the Rollback ............................................................................................................................................. 58

5 Upgrading the System Software Using a USB Flash Drive ................................................ 59


5.1 Preparing for the Upgrade........................................................................................................................................... 59
5.1.1 Hardware ................................................................................................................................................................. 59
5.1.2 Loaded Files............................................................................................................................................................. 60
5.1.3 Index File ................................................................................................................................................................. 60
5.1.4 Examples ................................................................................................................................................................. 62
5.1.5 Copying Files ........................................................................................................................................................... 64
5.2 Procedure .................................................................................................................................................................... 65
5.3 Verifying the Upgrade ................................................................................................................................................. 65

6 Upgrading the System Software Using the BootROM Menu ............................................ 66


6.1 Preparing for the Upgrade........................................................................................................................................... 66
6.2 Procedure .................................................................................................................................................................... 67
6.3 Verifying the Upgrade ................................................................................................................................................. 70

7 Upgrading the System Software Using the Web System .................................................... 71


7.1 Preparing for the Upgrade........................................................................................................................................... 71
7.2 Procedure .................................................................................................................................................................... 73

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. iv


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide Contents

7.3 Verifying the Upgrade ................................................................................................................................................. 74

8 Smart Upgrade ............................................................................................................................. 75


8.1 Preparing for the Upgrade........................................................................................................................................... 75
8.2 Procedure .................................................................................................................................................................... 75
8.3 Verifying the Upgrade ................................................................................................................................................. 76

9 Emergency Recovery................................................................................................................... 77
9.1 Preparing for the Emergency Recovery ...................................................................................................................... 77
9.1.1 Hardware ................................................................................................................................................................. 77
9.1.2 Files to Be Loaded ................................................................................................................................................... 78
9.1.3 Making the Configuration File................................................................................................................................. 78
9.1.4 Copying Files ........................................................................................................................................................... 78
9.2 Procedure .................................................................................................................................................................... 78
9.3 Verifying the Upgrade ................................................................................................................................................. 79

10 Appendix: eDesk Configuration Translation Guide ......................................................... 80


10.1 eDesk Configuration Translation Process ................................................................................................................. 81
10.2 Precautions................................................................................................................................................................ 81
10.3 Downloading and Starting the eDesk........................................................................................................................ 82
10.4 (Method 1, Recommended) Configuration Translation ............................................................................................ 83
10.5 (Method2) Fast Translation ....................................................................................................................................... 88

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. v


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

1 Before You Start

1.1 Precautions
1.2 Upgrade Overview
1.3 Version Requirements
1.4 Impact of the Upgrade

1.1 Precautions

During the upgrade, do not power off the device. Otherwise, the upgrade may fail.
After a new device or a device that restores the factory default settings is upgraded to
V200R010C10SPC700, you need to change the default password. Otherwise, you cannot log
in to the system after the upgrade.

WLAN AC

Table 1-1 WLAN AC Precautions

N Source Version Precaution


o.

1 - Back up the configuration file of the source version before


the upgrade, which is used for version rollback. If the
configuration file of the source version is not backed up,
version rollback may fail.
2 V200R003C00 to From the version of V200R008, before the upgrade, if the
V200R007C00 configuration file contains WLAN AC commands, you need
to download the eDesk to translate the configuration file. If
you do not use the eDesk to translate the configuration file,
the WLAN AC function becomes unavailable after the
upgrade. For details about the eDesk, see chapter 10

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 1


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

N Source Version Precaution


o.
Appendix: eDesk Configuration Translation Guide.
3 V200R003C00 to When the eDesk is used to translate the configuration file of
V200R007C00 the AR that uses an earlier version of V200R008C20 and the
configuration file contains NAC commands (in uniform
mode) configured on an interface, ensure that NAC
authentication is enabled globally and on interfaces so that
all NAC commands can be translated successfully.
Otherwise, the NAC commands in the interface view will be
lost.

Voice

Table 1-2 Voice Precautions

No Description
.

1 When the AR where there is a customized voice package is upgraded to


V200R005C10SPC600, the voice package cannot be used. In this case, you need to
make a voice package again.
2 V200R005C10SPC300 adjusts the number of voice users supported by the AR:
 AR150: 25
 AR200:50
 AR1200: 100
 AR2204: 100
 AR2220: 250
 AR2240: 400
 AR3260: 500
If the AR is upgraded to V200R005C10SPC300 or later, ensure that the number of
users is within the limit supported by V200R005C10SPC300 or later. If the number
of users exceeds the limit supported by V200R005C10SPC300 or later, it is
recommended that the current version be used.
In V200R005C10SPC300 or later, the maximum number of concurrent users over an
IP trunk is as follows: AR200 series and AR1220: 256 (default value: 30), AR2220
and AR3260: 2000 (default value: 60).
If the maximum number of concurrent calls before the upgrade is smaller than or
equal to the default value, the maximum of concurrent calls is not affected after the
AR is upgraded to V200R005C10SPC300 or later.
If the maximum number of concurrent calls before the upgrade is larger than the
default value, the maximum of concurrent calls after the AR is upgraded to
V200R005C10SPC300 or later. If the actual maximum number of concurrent calls
exceeds the default value, run the maxcr maxcr-value command in the trunk group
view to change the maximum number of concurrent calls to be the same as the actual
one.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 2


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

No Description
.

3 In V200R005C10SPC300 or later, the trunk group and prefix can be bound to a


maximum of 48 routes. If the trunk group and prefix are bound to more than 48
routes before the upgrade, it is recommended that the current version be used.
4 When the AR of V200R005C10SPC300 or later connects to two PBXs through
trunks, to ensure service security, calls received over a trunk cannot be forwarded
over another trunk. If calls received over a trunk need to be forwarded over another
trunk, add the call-out right for the call on the receive trunk.

Others

Table 1-3 Others Precautions


No Description
.

1 If the current version is V200R001C00, upgrade from V200R001C00 to


V200R005C00 or later will fail. To upgrade V200R001C00 to V200R005C00 or
later, upgrade the version to V200R003C01 first. If the upgrade has failed, the
device may reboot repeatedly. In this situation, upgrade the software version to
V200R003C01 through BootROM, and then to V200R005C00 or later.
2 A device functions as a PPPoE server, and the version earlier than V200R005C10
needs to be upgraded to V200R005C10 or a later version. If the remote address
ip-address command has been executed on the virtual template interface bound to an
Ethernet physical interface, the users connected to the PPPoE server cannot obtain IP
addresses after the upgrade. To solve this problem, ensure that the remote address
pool pool-name is configured on the virtual template interface. In addition, run the
network ip-address [ mask { mask | mask-length } ] command in the address pool
view to ensure that the original addresses can be allocated. Then, run the ppp
authentication-mode { pap | chap } [ [ call-in ] domain domain-name ] command
on the virtual template interface to configure PPP authentication. Run the
authentication-mode none command in the authentication scheme view to set the
authentication mode to non-authentication so that users can easily access the PPPoE
server.
3 A device functions as a PPPoE server, and the version earlier than V200R005C10
needs to be upgraded to V200R005C10 or a later version. The virtual template is
bound to an Ethernet interface. If PPPoE server is enabled on the interface bound to
virtual template, the virtual template does not support network bridge, NAT,
multicast, QoS, application security, FW, IPS/IDS, URLF, BFD, VRRP, NQA,
IPSec, Efficient VPN, SSL VPN, GRE VPN, or SAC. If the preceding features have
been configured on the device and you want to keep these features, do not upgrade
the version or contact Huawei technical support personnel.
4 Before the upgrade, collect information about the routing table, FIB table, and MAC
address table, as well as device, interface, version, and configuration file
information.
After the upgrade, collect the same information again. Compare the before and after
information to check whether the device is operating properly and transmitting

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 3


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

No Description
.
service traffic properly.
5 Ensure that the system files including system software and configuration file are
stored in the flash memory or built-in SD card (sd1). Do not save the system files in
the USB flash drive or external SD card (sd0).
6 Except for the device restart steps described in this document, do not restart or
power off the switch, or reset, swap, power on, or power off any board during the
upgrade.
After the upgrade is complete, you can perform device reset, power-on, or power-off
only when verifying that services are recovered.
7 On the AR1200, AR2200, and AR3200, after the system software is upgraded, the
2FE and 1GEC cards do not support automatic BootROM loading. You must
manually run commands to upgrade the BootROM of the 2FE and 1GEC cards.
8 If you upgrade an AR version from V200R001 or V200R002 to
V200R003C00SPC100 or later, ensure that the version number in the configuration
file used for upgrade remains unchanged when the configuration file used for
upgrade contains a URL of 3322 information. Otherwise, the AR cannot
communicate with the DDNS server provided by the vendor at www.3322.org. If
you upgrade AR V200R003 (earlier than AR V200R003C00SPC100) to
V200R003C00SPC100 or later, replace commas (,) in the URL with question marks
(?) when the configuration file for upgrade contains a URL of 3322 or dyndns
information. Otherwise, the AR cannot communicate with the DDNS server
provided by the vendor at www.3322.org or www.dyndns.com.
9 During the upgrade, ensure that all configured cards work properly. Otherwise, the
configuration may fail.
10 The super command is deleted in V200R005C10SPC300 and later versions. If the
super password command that sets the password used to change a user from a lower
level to a higher level has been configured before the upgrade, the super command
can still be used.
11 V200R005C10SPC300 and later versions do not support the fixdisk command.
12 The AR is upgraded from an earlier version of V200R005C10SPC300 to
V200R005C10SPC300 or later. When the certificate is modified or updated and the
AR version is rolled back to an earlier version of V200R005C10SPC300, the
certificate may become unavailable or lost.
The AR version is rolled back from V200R005C10SPC300 or later to an earlier
version of V200R005C10SPC300. When the certificate is modified or updated and
the AR is upgraded to V200R005C10SPC300 or later, the certificate may become
unavailable or lost.
It is recommended that the certificate be backed up after the device software version
is upgraded or rolled back. When the certificate becomes unavailable or lost, you can
import the certificate again.
13 If the software version is upgraded from a version earlier than
V200R005C10SPC300 to V200R005C10SPC300 or later, the private key file of the
local certificate in the original version is loaded to the security zone but the private
key in the disk is not deleted. To improve security, it is recommended that the device

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 4


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

No Description
.
administrator should delete the private key file in the disk.
14 In V200R005C20SPC100 and later versions, you must run the engine enable
command in the system view so that you can configure IPS and URL filtering. If the
AR uses an earlier version of V200R005C20SPC100 and has IPS and URL filtering
configured, upgrading the AR to V200R005C20SPC100 or later will cause the IPS
and URL filtering configuration loss. Before the upgrade, back up the IPS and URL
filtering configuration. After the upgrade, run the engine enable command in the
system view, and then reconfigure IPS and URL filtering.
15 When the AR is upgraded from an earlier version of V200R005C00 to
V200R005C00 or later, software forwarding is enabled by default. To disable
software forwarding, run the undo ip soft-forward enhance enable command in the
system view.
16 When the device is upgraded from V200R005C20 to V200R006C10 or later, if batch
VLAN termination is configured, the configuration of batch VLAN termination will
be lost. Before the upgrade, back up the configuration of batch VLAN termination.
After the upgrade, run the termination-vid batch enable command on the
corresponding sub-interface to enable batch VLAN termination and restore the
configuration of batch VLAN termination.
17 When the AR is upgraded from an earlier version of V200R007C00 to
V200R007C00 or later and no license is available, SAC commands of the original
version can be delivered. However, SAC commands of the new version cannot be
delivered. As a result, the SAC configuration will be lost. Before the upgrade, install
the license or back up the SAC configuration.
18 When the AR160 series models are upgraded from V200R005 or an earlier version
of V200R005 to V200R006 or later, obtain different installation packages based on
models.
 V200R005 or an earlier version of V200R005: All AR160 series models use the
installation package AR160.cc.
 V200R006 or later: The AR161, AR161G-L, AR169, AR169G-L, AR161W, and
AR161FW use the installation package AR160.cc. The AR161F, AR161FG-L,
AR161FGW-L, AR162F, AR168F, AR169F, AR169BF, AR169FVW, and
AR169FGVW-L use the installation package AR160F.cc.
19 After the AR is upgraded to V200R008C20 or later, NAC commands are configured
using templates to facilitate understanding. There are wired and wireless NAC
functions. Wired NAC functions are compatible, whereas wireless NAC functions
need to be upgraded by using the eDesk to convert commands.
20 The CloudVPN plug-and-play function is available only when the device is
upgraded to V200R010C10SPC700.
21 When the AR is upgraded from an earlier version to V200R010C10SPC700 and
needs to connect to the Agile Controller, first run the pki delete-certificate ca realm
default and pki delete-certificate local realm default command to delete the
certificate of the default domain.
22 In versions earlier than V2R9C00SPC300, the Boot password in plain test is first
encrypted using the MD5 algorithm and then encrypted using the SHA256
algorithm. The password in cipher text then is stored in the flash memory. In

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 5


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

No Description
.
V2R9C00SPC300 and later versions, the Boot password in plain text is encrypted
using the MD5 algorithm, the SHA256 algorithm, and the PBKDF2 algorithm in
ascending order. The password in cipher text then is stored in the flash memory.
When the system software package of a device is upgraded, the password encrypted
using the SHA256 algorithm is further encrypted using the PBKDF2 algorithm, and
then is stored in the flash memory. In this case, the password is properly used. If the
system software package of a device is downgraded to a version that does not
support the PBKDF2 algorithm, the Boot password set by the customer will be
cleared and the default password is restored.
23 In V200R007 and earlier versions, you can run the pki credential-storage
<local-dir> command to configure the storage path. In V200R008 and later
versions, this command cannot be configured. During the upgrade, if the paths of the
old and new versions are different, the system automatically copies the file to the
new path and loads the file to the memory of the device.
24 In V200R007 and earlier versions, you can run the non-exportable command to
specify whether the RSA key pair can be exported and run the rsa-key-size <size>
command to configure the number of digits in the RSA key pair. After the AR is
upgrade to V200R008 or later, the two commands cannot be configured. The two
commands are equivalent to the exportable and modulus parameters in the pki rsa
local-key-pair create <key-name> [ modulus <modulus-size> ] [ exportable ]
command.
25 In V200R010 and later versions, the FTPv6 management packets generated by the
local device are forwarded using the enhanced forwarding function by default. The
QoS and ACL policies configured for the FTPv6 packets on the outbound interface
take effect by default.
26 IPv6 firewalls in the local domain are supported since V200R010. In versions earlier
than V200R010, IPv6 firewalls in the local domain can be configured but do not take
effect. They take effect only after the version is upgraded to V200R010 or a later
version.
27 For the AR169RW-P-M9:
After the upgrade is completed, run the delete /unreserved
flash:/m2mgateway/statiflowrate.txt command in the user view to delete the traffic
file. After the file is deleted, it must be restarted within 5 minutes.
After a version earlier than V200R010C00SPC200 is upgraded to
V200R010C00SPC200 or a later version, the traffic statistics will be reset to zero
and re-accumulated.
28 After a device running a version earlier than V200R008 is upgraded to V200R008 or
a later version, the source port number in RADIUS packets sent by the device
changes from 1812 or 1813 to a random value. If port policies are configured on the
firewall to permit only RADIUS packets with source port numbers 1812 and 1813,
RADIUS authentication fails after the device is upgraded to V200R008 or a later
version. In this case, you can modify the port policy of the firewall and set the source
port number of permitted RADIUS packets to any to ensure successful RADIUS
authentication.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 6


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

1.2 Upgrade Overview


Select an upgrade guide based on the upgrade path. Before upgrading, read the corresponding
chapters marked with ●.

Upgrade Path 4 Upgrading 5 6 Upgrading 7 Upgrading


the System Upgrading the System the System
Version the System Software Software Using
Using the Software Using the the Web
CLI Using a BootROM System
USB Flash Menu
Drive

V200R002C00 ● ● ● ●
V200R002C00SP
C100
V200R002C01
V200R002C01SP
C100
V200R002C01SP
C200
V200R002C02SP
C100
V200R002C02SP
C200
V200R002C02SP
C300
V200R003C00
V200R003C00SP
C100
V200R003C01
V200R003C01SP
C100
V200R003C01SP
C300
V200R003C01SP
C900
V200R005C00
V200R005C00SP
C100
V200R005C10
V200R005C10SP
C300
V200R005C10SP
C500
V200R005C20
V200R005C20SP
C100

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 7


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

Upgrade Path 4 Upgrading 5 6 Upgrading 7 Upgrading


the System Upgrading the System the System
Version the System Software Software Using
Using the Software Using the the Web
CLI Using a BootROM System
USB Flash Menu
Drive
V200R005C20SP
C200
V200R005C30
V200R005C32
V200R005C32SP
C200
V200R006C10
V200R006C10SP
C100
V200R006C10SP
C300
V200R007C00
V200R007C00SP
C100
V200R007C00SP
C200
V200R007C00SP
C500
V200R008C20
V200R008C20SP
C700
V200R008C30
V200R008C50
V200R008C50SP
C500
V200R009C00
V200R009C00SP
C100
V200R009C00SP
C300
V200R009C00SP
C500
V200R010C00
V200R010C00SP
C100
V200R010C00SP
C200
V200R010C00SP
C500

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 8


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

Upgrade Path 4 Upgrading 5 6 Upgrading 7 Upgrading


the System Upgrading the System the System
Version the System Software Software Using
Using the Software Using the the Web
CLI Using a BootROM System
USB Flash Menu
Drive
V200R010C00SP
C600
V200R010C10
V200R010C10SP
C300
V200R010C10SP
C600
Upgrade the
system software to
V200R010C10SP
C700

1.3 Version Requirements

Descriptions in this document are based on the recommended target version V200R010C10SPC700.

Version Product Upgrade Instruction


Model

V200R005C10SPC300 AR161FGW-L A version earlier than V200R003C01 must


V200R005C10SPC500 be upgraded to V200R003C01 before it is
upgraded to V200R008 or a later version.
V200R005C20
Some commands are modified after the
V200R005C20SPC100 upgrade.
V200R005C20SPC200 For details, see
V200R005C30 AR100&AR120&AR150&AR160&AR200&
V200R005C32 AR1200&AR2200&AR3200 V200R010C100
Command, Alarm, MIB Delta Information.
V200R005C32SPC200
V200R006C10
V200R006C10SPC100
V200R006C10SPC300
V200R007C00
V200R007C00SPC100
V200R007C00SPC200
V200R007C00SPC500
V200R008C20

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 9


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

Version Product Upgrade Instruction


Model
V200R008C20SPC700
V200R008C30
V200R008C50
V200R008C50SPC500
V200R009C00
V200R009C00SPC100
V200R009C00SPC300
V200R009C00SPC500
V200R005C00 AR161F
V200R005C00SPC100 AR161FW
V200R005C10 AR169FVW
V200R005C10SPC300 AR169FGVW
V200R005C10SPC500 -L
V200R005C20 AR168F
V200R005C20SPC100 AR169F
V200R005C20SPC200
V200R005C30
V200R005C32
V200R005C32SPC200
V200R006C10
V200R006C10SPC100
V200R006C10SPC300
V200R007C00
V200R007C00SPC100
V200R007C00SPC200
V200R007C00SPC500
V200R008C20
V200R008C20SPC700
V200R008C30
V200R008C50
V200R008C50SPC500
V200R009C00
V200R009C00SPC100
V200R009C00SPC300
V200R009C00SPC500
V200R005C30 AR169FGW-L
V200R005C32 AR169FGW-S
V200R005C32SPC200

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 10


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

Version Product Upgrade Instruction


Model
V200R006C10
V200R006C10SPC100
V200R006C10SPC300
V200R007C00
V200R007C00SPC100
V200R007C00SPC200
V200R007C00SPC500
V200R008C20
V200R008C20SPC700
V200R008C30
V200R008C50
V200R008C50SPC500
V200R009C00
V200R009C00SPC100
V200R009C00SPC300
V200R009C00SPC500
V200R006C10 AR161
V200R006C10SPC100 AR161W
V200R006C10SPC300 AR161G-L
V200R007C00 AR161G-U
V200R007C00SPC100 AR161G-Lc
V200R007C00SPC200 AR169
V200R007C00SPC500 AR169W
V200R008C20 AR169BF
V200R008C20SPC700 AR169G-L
V200R008C30 AR121
V200R008C50 AR121W
V200R008C50SPC500 AR121GW-L
V200R009C00 AR129
V200R009C00SPC300 AR129W
V200R009C00SPC500 AR129GW-L
V200R010C00 AR169-P-M9
V200R010C00SPC100 AR1220E
V200R010C00SPC200 AR1220EV
V200R010C00SPC500 AR1220EVW
V200R010C00SPC600 AR2220E
AR3670
V200R008C20 AR129CGVW
V200R008C20SPC700 -L

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 11


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

Version Product Upgrade Instruction


Model
V200R008C30
V200R008C50
V200R008C50SPC500
V200R009C00
V200R009C00SPC100
V200R009C00SPC300
V200R009C00SPC500
V200R010C00SPC500
V200R010C00SPC600
V200R008C20SPC700 AR109GW-L
V200R008C30
V200R008C50
V200R008C50SPC500
V200R009C00
V200R009C00SPC300
V200R009C00SPC500
V200R010C00
V200R010C00SPC100
V200R010C00SPC200
V200R001C00 AR1220
V200R001C00SPC100 AR1220V
V200R001C00SPC200 AR1220VW
V200R001C00SPC300 AR1220-D
V200R001C00SPC500 AR2220
V200R001C01 AR2240
V200R001C01SPC100 AR3260
V200R001C01SPC200
V200R001C01SPC300
V200R001C01SPC500
V200R002C00
V200R002C00SPC100
V200R002C01
V200R002C01SPC100
V200R002C01SPC200
V200R002C02SPC100
V200R002C02SPC200
V200R002C02SPC300
V200R003C00
V200R003C00SPC100

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 12


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

Version Product Upgrade Instruction


Model
V200R003C01
V200R003C01SPC100
V200R003C01SPC300
V200R003C01SPC900
V200R005C00
V200R005C00SPC100
V200R005C10
V200R005C10SPC300
V200R005C10SPC500
V200R005C20
V200R005C20SPC100
V200R005C20SPC200
V200R005C30
V200R005C32
V200R005C32SPC200
V200R006C10
V200R006C10SPC100
V200R006C10SPC300
V200R007C00
V200R007C00SPC100
V200R007C00SPC200
V200R007C00SPC500
V200R008C20
V200R008C20SPC700
V200R008C30
V200R008C50
V200R008C50SPC500
V200R009C00
V200R009C00SPC100
V200R009C00SPC300
V200R009C00SPC500
V200R010C00SPC100
V200R010C00SPC200
V200R010C00SPC500
V200R010C00SPC600
V200R010C10
V200R010C10SPC600
V200R008C50SPC500 SRU100E
V200R009C00 SRU200E

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 13


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

Version Product Upgrade Instruction


Model
V200R009C00SPC100
V200R009C00SPC300
V200R009C00SPC500
V200R010C00SPC100
V200R010C00SPC200
V200R010C00SPC500
V200R010C00SPC600
V200R005C10 AR1220F
V200R005C10SPC300
V200R005C10SPC500
V200R005C20
V200R005C20SPC100
V200R005C20SPC200
V200R005C30
V200R005C32
V200R005C32SPC200
V200R006C10
V200R006C10SPC100
V200R006C10SPC300
V200R007C00
V200R007C00SPC100
V200R007C00SPC200
V200R007C00SPC500
V200R008C20
V200R008C20SPC700
V200R008C30
V200R008C50
V200R008C50SPC500
V200R009C00
V200R009C00SPC100
V200R009C00SPC300
V200R007C00 AR161FV-1P
V200R007C00SPC100 AR161FGW-L
V200R007C00SPC200 a
V200R007C00SPC500 AR169W-P-M
9
V200R008C20
AR169RW-P-
V200R008C20SPC700 M9
V200R008C30 AR1220C
V200R008C50

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 14


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

Version Product Upgrade Instruction


Model
V200R008C50SPC500 AR2204-27GE
V200R009C00 AR2204-27GE
V200R009C00SPC100 -P
V200R009C00SPC300 AR2204-51GE
-P
V200R009C00SPC500
AR2204E
AR2240C
V200R008C50SPC500 AR169CVW-4
V200R009C00 B4S
V200R009C00SPC100 AR169CVW
V200R009C00SPC300 SRU100E
V200R009C00SPC500 SRU200E
AR169EGW-
L
AR169EW
AR161EW
AR161EW-M
1
AR129CVW

1.4 Impact of the Upgrade


Before you upgrade the system software to V200R010C10SPC700, read this section carefully
to understand how the upgrade affects the system.

1.4.1 Impact on the System During the Upgrade


Impact on Services
The device needs to be restarted during the upgrade. Services are interrupted while the device
is restarting.
 A router without a configuration file will finish restarting within 4 minutes (services are
interrupted for about 7 minutes when the system software is upgraded by using the
BootROM menu).
 The restart time required by a configured router depends on the size of the configuration
file.

Impact on Network Communication


When the router is restarting, communication between the router and the network
management system (NMS) will be interrupted for about 4 minutes (communication will be

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 15


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

interrupted for about 7 minutes when the system software is upgraded by using the BootROM
menu).

1.4.2 Impact on the System After the Upgrade


Voice
AR100&AR120&AR150&AR160&AR200&AR1200&AR2200&AR3200 series support
voice features.

After the upgrade, run the display voice upgrade-info command in the diagnosis view to view the
upgrade log. The configuration change and loss during the upgrade are recorded in logs.
 In V200R005C10SPC300, voice commands have great changes. If the AR uses
V200R003 or an earlier version of V200R003 and has voice features configured,
upgrading the AR to V200R005C10SPC300 or later will greatly affect voice services on
the AR. Therefore, contact Huawei technical support engineers before the upgrade.
The AR of V200R005C10SPC300 and later versions does not support the following
voice features in the following table. If the AR of V200R003 and earlier versions
requires the following voice features, do not upgrade the AR to V200R005C10SPC300
or later.

No. Feature Cause

1 Centrex V200R005C10SPC300 and later versions do not


support the Centrex feature including Centrex short
number, Centrex number change, and Centrex RBT
services.
2 Call redial service V200R005C10SPC300 and later versions do not
(CR) support this feature.
3 Incoming Call V200R005C10SPC300 and later versions do not
Memory (ICM) support this feature.
4 Outcoming call V200R005C10SPC300 and later versions do not
memory (OCM) support this feature.
5 Direct Inward System V200R005C10SPC300 and later versions do not
Access (DISA) support this feature.
6 Multi-subscriber-num V200R005C10SPC300 and later versions do not
ber (MSN) service support this feature.
7 CRBT V200R005C10SPC300 and later versions support the
enterprise CRBT service, but do not support the
individual CRBT service.
8 Remote office service V200R005C10SPC300 and later versions do not
support this feature.
9 Call park service V200R005C10SPC300 and later versions do not
(PARK) support this feature.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 16


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

 V200R005C10SPC300 and later versions do not support smooth upgrade of voice


features in the following table when the configuration of the voice features changes. If
the AR uses the voice features in the following table, reconfigure them after the upgrade.
For details on how to configure these voice features, see
AR100&AR120&AR150&AR160&AR200&AR1200&AR2200&AR3200 V200R010
Product Documentation - CLI-based Configuration - Voice Configuration - PBX
Configuration.

For details on how to configure these IVR features, see


AR100&AR120&AR150&AR160&AR200&AR1200&AR2200&AR3200 V200R010 Product
Documentation - Web-based Configuration - Voice Management - IVR.

No. Feature Reference


1 Long and short Configuring a PBX User
numbers
2 Co-group pickup Configuring Services-Configuring the Supplementary
service Telephony Services-Pickup Services-Co-group Pickup
3 Designated pickup Configuring Services-Configuring the Supplementary
service Telephony Services-Pickup Services-Designated
Pickup
4 ONLY service Configuring Services-Configuring the Supplementary
Telephony Services-Enhanced Services-ONLY
5 IVR queuing and IVR (Configuration > Web-based Configuration >
automatic connection Voice Management)
service
6 IVR navigation IVR (Configuration > Web-based Configuration >
Voice Management)
7 Call barring service Configuring Services-Configuring the Supplementary
Telephony Services-Call Barring Services
8 Multi-party Configuring Services-Configuring the Supplementary
conference Telephony Services-Conference Call Services
9 Software parameter Trunk group software parameter setting
settings of an H323
trunk group.
10 Number change Configuring Number Change or Contacting Huawei
(country codes and Technical Support Personnel
area codes are
involved, and smooth
upgrade is not
supported)
11 Intelligent routing of a Advanced Configuration-Configuring Intelligent
PBX trunk Routing

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 17


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

Others
 V200R005C00 and later versions use new encryption mechanism. After the AR is
upgraded to V200R005C00 and later versions, you are advised to change the password to
a more secure password.
V200R005C00 and later versions use new encryption mechanism. If the version is rolled
back, the original version cannot identify the password configured in V200R005C00 and
later versions. As a result, the configuration becomes invalid. To ensure that the
password takes effect after rollback, during rollback, restore the password-relevant
configuration in the configuration file to the configuration before the upgrade or change
the password-relevant configuration in the configuration file to the configuration that can
be identified by the original version.
 In earlier versions of V200R005C00, the AR is enabled to send ICMP Unreachable
packets by default. In V200R005C00 and later versions, the AR is disabled from sending
ICMP Unreachable packets by default. After the AR is upgraded to V200R005C00, to
ensure that the AR as the detected target device to respond to Tracert request packets
from the source device, run the icmp port-unreachable send command to enable the
AR to send ICMP Unreachable packets.
 For the AR1200&AR2200&AR3200 series, ,in earlier versions of V200R005C00, if a
user name is configured in the MAC address format for MAC address authentication and
the AAA authentication scheme is local authentication, the online users are not affected
after the version is upgraded to V200R005C00 and later versions. However, for new
users, run mac-authen username macaddress format { with-hyphen |
without-hyphen } password cipher password to modify configuration and local-user
user-name password cipher password to reconfigure the accounts and passwords for old
users; otherwise, old users cannot go online again.
 After the AR is upgraded to V200R005C00SPC100, V200R005C01, or later, if the set
fan-speed command has been executed to set the fan speed, the fan speed configuration
is lost. In addition, automatic fan speed adjustment is used. After the upgrade, you can
run the set fan-speed command to set the fan speed, but the configuration file is no
longer generated. If the AR restarts after the fan speed is set, the set fan-speed command
does not take effect. In addition, automatic fan speed adjustment is used.
 When the AR is upgraded from a version earlier than V200R005C00SPC100 to
V200R005C00SPC100 or later in USB-based deployment mode, pay attention to the
following points:
a. If password authentication for USB-based deployment is used, the password
configuration will be lost after the upgrade. The PASSWORD field in the index file
of the USB flash drive becomes invalid. If the AR needs to be upgraded to
V200R005C00SPC100 or later in the scenario where password authentication for
USB-based deployment is used, perform operations according to chapter 5
Upgrading the System Software Using a USB Flash Drive.
b. If no-authentication for USB-based deployment is used, services are not affected.
When password authentication for USB-based deployment is used and the version
is rolled back from V200R005C00SPC100 or later to a version earlier than
V200R005C00SPC100, the password configuration will be lost after the version
rollback. If the version needs to be rolled back to a version earlier than
V200R005C00SPC100 in the scenario where password authentication for
USB-based deployment is used, perform operations according to chapter
"Upgrading the System Software Using a USB Flash Drive". For example, after the
version is rolled back from V200R005C00SPC100 to V200R003C01SPC900, if the
version needs to be rolled back to V200R003C01SPC300 in the scenario where
password authentication for USB-based deployment is used, perform operations

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 18


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

according to "Upgrading the System Software Using a USB Flash Drive" in the
V200R003C01SPC900 upgrade guide.
 After the version is upgraded to V200R005C10 or later, the calculation method used by
user CAR and user traffic statistics collection is changed. In the versions earlier than
V200R005C10, the packet length is Length of IP payload + Length of frame header +
Length of Preamble. In V200R005C10 and later versions, the packet length is the length
of IP payload.
 After the AR is upgraded from an earlier version of V200R007C00 to V200R007C00,
the query of the remote URL category server is unavailable and the configuration of the
query of the remote URL category server will be lost.
 For the AR3200 series, V200R005C10SPC300 and later versions support dual SRUs.
 After the AR1220 is upgraded to V200R008C20 or later, the logic file of the E3/T3 card
cannot be upgraded.
 After the AR169-P-M9&AR169W-P-M9&AR169RW-P-M9 is upgraded to
V200R008C20 or later, the kernel and rootfs of the OSP card cannot be upgraded.
 After the AR is upgraded to V200R010C10SPC700, the firewall active/standby function
becomes unavailable.
 V200R010C10SPC700 does not support SVPN. After the AR is upgraded to
V200R010C10SPC700, SVPN becomes unavailable. V200R007C00 is recommended.
 In versions earlier than V200R009C00, the http server permit interface command
takes precedence over the http acl command. When a user accesses the Web Platform,
the system preferentially compares the packet with the permit rule. If the packet does not
match the permit rule, it is discarded. In V200R009C00 and later versions, the http acl
command takes precedence over the http server permit interface command. When a
user accesses the Web Platform, the system preferentially compares the packet with the
ACL. If the packet does not match the ACL, it is discarded.
 If the device runs a V200R009C00SPC500 version and has a commercial patch of a
version earlier than V200R009C00SPH012 installed or has no commercial patch
installed, the 4GE-2S card is installed on the device, and interfaces of the 4GE-2S card
have been added to a VLAN, the device automatically delivers the set vlan-range slot
command and proactively restarts the 4GE-2S card after the version is upgraded to
V200R010C00SPC500. After the 4GE-2S card is restarted, you are advised to run the
save command again to save configurations. This ensures that VLAN services on the
4GE-2S card can run properly.
 When the NetStream sampling function is enabled after the version is upgraded from
V200R007 to the target version, run the mpls netstream { inbound | outbound } or
ip-mpls netstream { inbound | outbound } command on the interface to sample and
report MPLS packets to the NSC server. After either of the preceding commands is run,
packets with the template ID 1317 are reported to the NSC server.
 The AR2240, AR2240C, and AR3260 manufactured after June 30, 2020 must run
V200R010C00 or a later version and cannot be downgraded. If an AR3260 is equipped
with dual SRUs and either SRU is replaced with one manufactured after June 30, 2020,
both SRUs must run V200R010C00 or a later version.

Table 1-4 Features supported by devices with dual SRUs

No. Feature Sub-feature

1 LAN access Global VLAN, port-based VLAN, super-VLAN,


MUX VLAN, static MAC address entries,
blackhole MAC address entries, MAC Limit,

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 19


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 1 Before You Start

No. Feature Sub-feature


MSTP, LLDP, SEP
2 WAN access HDLC, Frame Relay (FR, MFR), PPP (PPP,
MLPPP)
3 IP applications ARP, IPv4/IPv6 host, UDP Helper, ND, IPv6
tunnel, DHCPv4/v6
4 IP routing IPv4/IPv6 static route, RIP, OSPF, IS-IS, BGP,
MBGP, RIPng, OSPFv3, IS-ISv6, BGP4+, PBR
5 Multicast IGMP, MLD, multicast route, PIM (IPv4/IPv6),
MSDP
6 QoS Priority mapping, traffic policing, traffic shaping,
congestion management, congestion avoidance,
HQoS
7 Security AAA, traffic suppression, access security, ARP
security, IP security, ACL, local attack defense
8 Reliability VRRP, BFD, ETHOAM
9 Device management Information center device monitoring, version
management, device mirroring, deployment
10 Network management SNMP, NTP, NetStream, NQA, port mirroring
11 MPLS Basic MPLS functions, MPLS LDP, MPLS TE,
MPLS FRR, MPLS over GRE
12 VPN MPLS BGP L3VPN, MPLS L2VPN, GRE

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 20


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 2 Upgrade Process Overview

2 Upgrade Process Overview

Figure 2-1 Upgrade flowchart

Table 2-1 Upgrade schedule

Procedure Step Time Required Remarks


(Minutes)

Prepare for the upgrade About 5 minutes Prepare tools and software.
Perform the upgrade About 15 1. Back up files.
minutes 2. Load the system software.
3. Restart the device.
Verify the upgrade About 1 minute 1. Verify that configurations are correct.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 21


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 2 Upgrade Process Overview

Procedure Step Time Required Remarks


(Minutes)
2. Verify that the device is running
properly.
(Optional) Roll back to an About 10 1. Specify the system software of an
earlier version minutes earlier version for next startup.
2. Restart the device.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 22


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

3 Preparing for the Upgrade

3.1 Pre-upgrade Checklist


3.2 Obtaining Upgrade Reference Documents
3.3 Obtaining Tools
3.4 Obtaining Upgrade Software
3.5 (Optional) Preparing the Configuration File
3.6 (Optional) Preparing the License File
3.7 Using eDesk to Translate Configurations
3.8 Verifying Software Integrity
3.9 Verifying the Current Version
3.10 Verifying the Current System Files
3.11 Verifying the Running Status of the Device
3.12 Setting Up the Upgrade Environment Through TFTP, FTP, or SFTP
3.13 Backing Up the Key Data in the Flash/SD Memory
3.14 Checking the Space in the Flash/SD Memory

3.1 Pre-upgrade Checklist


Table 3-1 lists the items to be checked before the upgrade.

Table 3-1 Pre-upgrade checklist

No. Item Expected Result Actual


Result

1 Obtaining Upgrade Reference The reference documents -


Documents have been printed or
downloaded to your
computer.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 23


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

No. Item Expected Result Actual


Result

2 Obtaining Tools The operation terminal, -


network cable, serial cable,
and FTP or TFTP software
are ready.
3 Obtaining Upgrade Software The target system software -
(.cc) has been obtained from
Huawei.
4 (Optional) Preparing the The license files have been -
License File obtained from Huawei.
5 (Optional) Preparing the The commands in the -
Configuration File configuration file meet the
target version requirements.
6 Verifying the Current Version The current version meets -
Version Requirements.
7 Verifying the Current System Record the file names for -
Files later file backup.
8 Verifying the Running Status of The SRU and service cards -
the Device are working properly.
Keep a record of the status
of the board in each slot for
future troubleshooting.
9 Setting Up the Upgrade The network to be upgraded -
Environment has been set up.
10 Backing Up the Key Data in the The key data in the Flash or -
Flash or SD Memory SD has been backed up.
Key data includes the
configuration file, license
file, and system startup file
of the current version.
11 Checking the Space in the Flash The Flash or SD has -
or SD Memory sufficient space for the
system software.
12 Using eDesk to Translate The old configuration file -
Configurations containing WLAN AC
commands has been
translated using eDesk.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 24


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

3.2 Obtaining Upgrade Reference Documents


Contact Huawei technical personnel or visit http://support.huawei.com/enterprise to obtain the
latest documents, including:
 AR100, AR120, AR150, AR160, AR200, AR300, AR1200, AR2200, AR3200, and AR3600
V200R010 documentation
 AR100, AR120, AR150, AR160, AR200, AR300, AR1200, AR2200, AR3200, and AR3600
V200R010C10SPC700 Release Notes

3.3 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
 TFTP server software, SFTP server software, SFTP client software, FTP server software,
or FTP client software for the upgrade
If FTP, SFTP, or TFTP is used, the AR can function as the TFTP client, SFTP server,
SFTP client, FTP client, or FTP server.

The device can transfer files through FTP, TFTP, and SFTP. Using FTP and TFTP has potential security
risks. SFTP is recommended.

3.4 Obtaining Upgrade Software


Step 1 Run the display device command to check the product name, or you can contact technical
personnel for help.
<Huawei>dis dev
AR161G-Lc's Device status:
Slot Sub Type Online Power Register Alarm Primary
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 - AR161G-Lc Present PowerOn Registered Normal Master

For the AR2240 and AR3260 configured with pluggable SRUs, determine the software version based on
the model of the SRU. For details, see the table in step 2.

Step 2 To obtain the upgrade software, contact technical personnel or visit


http://support.huawei.com/enterprise.

Model Version Size (Byte) File


AR109 V200R010C10SPC 160,578,432 AR100-V200R010C10S
AR109W 700 PC700.cc
AR109GW-L
AR121 160,578,432 AR120-V200R010C10S

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 25


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

Model Version Size (Byte) File


AR121W PC700.cc
AR129
AR129W
AR121GW-L
AR129GW-L
AR129CGVW-L
AR129CV
AR129CVW
AR161 160,578,432 AR160-V200R010C10S
AR161W PC700.cc
AR161G-L
AR169
AR169W
AR169G-L
AR161G-U
AR161G-Lc
AR162F 175,421,824 AR160F-V200R010C10
AR168F SPC700.cc
AR169F
AR169BF
AR161F
AR161FV-1P
AR161FG-L
AR161FGW-L
AR161FGW-La
AR161FW
AR169FVW
AR169FGVW-L
AR169FGW-L
AR161FG-Lc
AR161FGW-Lc
AR169FGVW-L-8S
AR161F-DGP
AR169JFVW-4B4S
AR168F-4P
AR169-P-M9 116,281,984 AR169-OSP-V200R010
AR169W-P-M9 C10SPC700.cc
AR169RW-P-M9
AR201 175,421,824 AR200-V200R010C10S

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 26


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

Model Version Size (Byte) File


AR201VW-P PC700.cc
AR206
AR207
AR207V
AR207V-P
AR207VW
AR207G-HSPA+7
AR208E
AR1220 107,007,232 AR1220-V200R010C10
AR1220V SPC700.cc
AR1220W
AR1220VW
AR1220L
AR1220-D
AR1220F 183,807,872 AR1220F-V200R010C1
0SPC700.cc
AR1220E 183,807,872 AR1220E-V200R010C1
AR1220EV 0SPC700.cc
AR1220EVW
AR1220C 182,491,520 AR1220C-V200R010C1
AR1220-8GE 0SPC700.cc

AR2220 159,488,000 AR2220-V200R010C10


SPC700.cc
AR2220E 210,686,976 AR2220E-V200R010C1
0SPC700.cc
AR2204 183,474,688 AR2204-V200R010C10
SPC700.cc
AR2204-27GE 185,629,696 AR2204-XGE-V200R0
AR2204-27GE-P 10C10SPC700.cc
AR2204-51GE-P
AR2204-51GE
AR2204-51GE-R
AR2204-24GE
AR2204-48GE-P
AR2204E 185,629,696 AR2204E-V200R010C1
AR2204E-D 0SPC700.cc

AR2204XE 161,201,408 AR2204XE-V200R010


C10SPC700.cc

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 27


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

Model Version Size (Byte) File


AR2220L 183,474,688 AR2220L-V200R010C1
AR2220L-D 0SPC700.cc

AR2201-48FE 114,363,136 AR220X-48FE-V200R0


AR2202-48FE 10C10SPC700.cc

AR2240 190,403,584 AR2240-V200R010C10


SPC700.cc
AR2240C 164,970,496 AR2240C-V200R010C1
0SPC700.cc
AR2240(SRU100E&S 162,531,456 AR2240E-V200R010C1
RU200E) 0SPC700.cc
AR2230L 183,474,688 AR2230L-V200R010C1
0SPC700.cc
AR3260 190,403,584 AR3260-V200R010C10
SPC700.cc
AR3260 162,531,456 AR3260E-V200R010C1
(SRU100E&SRU200 0SPC700.cc
E)

AR3670 287,868,416 AR3670-V200R010C10


SPC700.cc
AR161EW 148,189,440 AR160E-V200R010C10
AR161EW-M1 SPC700.cc
AR169EW
AR169EGW-L

Step 3 Download V200R010C10SPC700 upgrade software and related documents.


Step 4 Decompress the downloaded upgrade software. Check that information about the upgrade
software is consistent with that in the above table.
----End

Use the requested user name to visit http://support.huawei.com/enterprise/, choose Support > Product
Support > Software Download > Router > Access Router > AR, and download the required product
and software version.

3.5 (Optional) Preparing the Configuration File


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

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 28


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

3.6 (Optional) Preparing the License File


To use some features, apply for the licenses. For details, see License Usage Guide.

3.7 Using eDesk to Translate Configurations


If the AR to be upgraded runs a version in the range of V200R003C00 to V200R007C00 and
its configuration file contains WLAN AC commands, you must use the eDesk to translate the
configuration file before the upgrade. For details about the eDesk, see chapter 10 Appendix:
eDesk Configuration Translation Guide and 9 Emergency Recovery.
When the AR is restarted, the following information is displayed:
Info: The system is comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup configuration.
Continue? [y/n]:

If the configuration file for next startup is translated by the eDesk, enter n, that is, restart the
AR without saving the configuration. If you enter y, the current configuration will be written
into the configuration file for next startup. As a result, the translated configuration file is
invalid. For details, see section 4.4 Restarting the Device.

If you do not use the eDesk to translate the WLAN AC configuration, the original WLAN AC
configuration becomes unavailable after the upgrade.

3.8 Verifying Software Integrity


After obtaining the software in the preceding section, verify the software integrity. If the
integrity check is not passed, obtain the correct software. For the software obtaining
procedure, see 3.4 Obtaining Upgrade Software.
Do not load incorrect software to the device, which may compromise the device.

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

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 29


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

3.9 Verifying the Current Version


Run the display version command in the user view to check the current system software
version and ensure that it meets the upgrade requirement.
<Huawei> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AR160 V200R010C10SPC600)
Copyright (C) 2011-2019 HUAWEI TECH CO., LTD
Huawei AR161G-Lc Router uptime is 0 week, 0 day, 0 hour, 7 minutes

MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 5 minutes


SDRAM Memory Size : 512 M bytes
Flash 0 Memory Size : 512 M bytes
MPU version information :
1. PCB Version : ARSRU169AGW-L VER.D
2. MAB Version : 0
3. Board Type : AR161G-Lc
4. BootROM Version : 1

In the preceding output, the information in bold indicates the system software version running
on the device. If this is the target version, no upgrade is necessary.

3.10 Verifying the Current System Files


Run the display startup command in the user view to verify the system files in use. Record
the file names for later file backup.
The device equipped with the flash memory is used as an example.
<Huawei> display startup
MainBoard:
Startup system software: flash:/AR160-V200R010C10SPC600.cc
Next startup system software: flash:/AR160-V200R010C10SPC600.cc
Backup system software for next startup: flash:/iascfg.zip
Startup saved-configuration file: flash:/iascfg.zip
Next startup saved-configuration file: null
Startup license file: null
Next startup license file: null
Startup patch package: null
Next startup patch package: null
Startup voice-files: null
Next startup voice-files: null

3.11 Verifying the Running Status of the Device


Step 1 Run the display device command in the user view to check the status of the SRU and
interface cards. Ensure that the SRU and interface cards are working properly.
<Huawei> display device
AR161G-Lc's Device status:
Slot Sub Type Online Power Register Alarm Primary

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 30


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 - AR161G-Lc Present PowerOn Registered Normal Master

If the SRU is working properly, the value in the Online field is Present, the value in the
Register field is Registered, and the value in the Alarm field is Normal.
If the value of the Register field is Unregistered, the board failed to register. If the value of
the Alarm field is Abnormal, the board is not operating properly.
For AR1200&AR2200&AR3200 series, if some boards cannot be registered or do not work
properly, contact Huawei technical personnel to determine whether the boards can be
upgraded or must be replaced, and record the board status. If boards can be upgraded, upgrade
the boards and verify that the board status is the same as that before the upgrade.
----End

3.12 Setting Up the Upgrade Environment Through TFTP,


FTP, or SFTP
As shown in Figure 3-1, to upgrade the system using FTP, TFTP, or SFTP, the following
environment must be set up:
 The RS-232 serial port of the PC is connected to the AR console port with a console
cable.
 The FTP, TFTP, or SFTP server is connected to GigabitEthernet0/0/0 of the SRU on the
AR150&AR160&AR200 with a network cable.
 There is a reachable route from the FTP, TFTP, or SFTP server to GigabitEthernet0/0/0
on the AR150&AR160&AR200.
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]undo portswitch
[Huawei-GigabitEthernet0/0/0]ip address 10.164.30.20 24
[Huawei-GigabitEthernet0/0/0]quit
 The system software and license file (optional) are stored on the server.

A PC can also function as the server to store the system software and license file (optional). You only
need to connect the PC to GigabitEthernet0/0/0 or Ethernet0/0/0 (AR150&AR160&AR200) of the AR
using a network cable and ensure that devices can ping each other.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 31


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

Figure 3-1 Upgrading the system using FTP, TFTP, or SFTP

Figure 3-2 Upgrading the system using FTP, TFTP, or SFTP (AR150&AR160&AR200)

3.12.1 Scenario 1: Use the AR as the FTP Server


In the following description, the VLAN100's IP address of GigabitEthernet0/0/0 or
Ethernet0/0/0 on the AR150&AR160&AR200 is 10.164.30.20, the FTP user name is AR, the
password of the FTP user is huawei@123, and the FTP root directory is flash:/ or sd1:/. The
device equipped with the flash memory is used as an example.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 32


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

<Huawei> system-view
[Huawei] ftp server enable
Info: Succeeded in starting the FTP server
Info: FTP is insecure, recommended to use SFTP with encryption features.
[Huawei] aaa
[Huawei-aaa] local-user AR password irreversible-cipher huawei@123
info: A new user added
[Huawei-aaa] local-user AR ftp-directory flash:
[Huawei-aaa] local-user AR service-type ftp
[Huawei-aaa] local-user AR privilege level 15

The AR100&AR120&AR150&AR160&AR200&AR1200&AR2200&AR3200 configuration


files are stored in the flash or sd1 memory; therefore, the FTP root directory is set to flash: or
sd1:.

3.12.2 Scenario 2: Use the AR as the FTP Client, Use the PC as the
FTP Server
Step 1 Access https://filezilla-project.org and download the FileZilla Server installation packet to the
local PC.
Step 2 Install FileZilla Server as prompted.

The procedure may vary depending on the FileZilla Server version. The following uses FileZilla Server
0.9.60.2 as an example.
1. Double-click FileZilla_Server-0_9_60_2.exe.

2. Click I Agree.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 33


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

3. Click Next and select an installation path.

4. Click Next.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 34


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

5. Click Next.

6. Click Install.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 35


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

7. Click Close. In the dialog box that is displayed, set related parameters.

− Host: host name or address. Set this parameter to 127.0.0.1.


− Port: FTP port number, which must be the same as that set in Step 2.4. The default
value is 14147.
− Password: FTP password, for example, admin.
8. Click Connect. If Logged on is displayed, the installation and connection are successful.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 36


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

Step 3 Create a user name and set the password on FileZilla Server.
1. Optional: Choose Edit > Users.

2. Click Add, and enter the user name admin.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 37


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

3. Click OK, select Password, and enter the password admin123.

Step 4 Set an accessible directory on FileZilla Server.


1. Click Shared folders.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 38


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

2. Click Add. Select a local directory to be accessed, that is, the folder where files to be
transferred are stored. Click Set as home dir.

3. Click OK.
----End

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 39


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

3.12.3 Scenario 3: Use the AR as the TFTP Client, Use the PC as


the TFTP Server

The device can function as the TFTP client or TFTP server. Here, the device functions as the TFTP
client.
The AR does not come with TFTP server software installed. The customer must purchase and install
TFTP server software. The TFTPD32 program is recommended.

Run the TFTP server program on the PC and configure the PC:
 Click Browse to set the Current Directory to the TFTP working directory.
 Set the TFTP server address in Server interface, for example, 10.164.30.29.

3.12.4 Scenario 4: Use the AR as the SFTP Client, Use the PC as


the SFTP Server

The device can function as the SFTP client or SFTP server. Here, the device functions as the SFTP client.
For details about the device used as the SFTP server, see section "Basic Configurations - File
Management" in Configuration Guide.
Huawei does not provide the SFTP server and client software; therefore, the customer needs to buy the
SFTP server and client software and install it.

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

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 40


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

Click New User and set the user name and password. Here, the user name is 123 and the
password is 123. Enter the SFTP working directory in the Root path text box. Here, the
working directory is D:\ftp. Do not stop the SFTP server program during data transfer.

3.13 Backing Up the Key Data in the Flash/SD Memory


Ensure that the key data, including the patch files, configuration file, license file, and system
startup file of the current version, stored in the Flash/SD memory is backed up before
upgrade.

The backup method of license and patch files is the same as that of system software, and is not described
here.

AR161G-Lc is used as an example. The description that follows uses


AR160-V200R010C10SPC600.cc as current system software and iascfg.zip as the
configuration file. The default configuration file in V200R010C10SPC600 is vrpcfg.zip.
You can use any of the following methods to back up key data:
 Use the AR as the FTP server.
 Use the AR as the FTP client.
 Use the AR as the TFTP client.
 Use the AR as the SFTP client.

3.13.1 Method 1: Use the AR as the FTP Server


Step 1 Configure the AR as the FTP server. See section 3.12.1 Scenario 1: Use the AR as the FTP
Server.
Step 2 Back up the system software and configuration file.
Log in to the FTP server (AR) and use either of the following methods to back up files:

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 41


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

 Log in to the AR using any FTP client program and back up files to the FTP client.
In the Address box of the FTP client program, enter the IP address and the FTP root
directory of the AR, and copy the files from the FTP root directory to a directory on the
PC. Here, the directory on the PC is D:\ftp.
 Log in to the AR using the operation terminal, and back up files to the FTP client.
It is recommended that the upgrade program directory (FTP root directory) be used as
the login directory, for example, D:\ftp.
On Windows 7, perform the following operations to start the FTP program:
− Choose Start > Run.
− Enter cmd.
− Enter d:.
− Enter cd ftp to enter the FTP directory.
C:\Documents and Settings\Administrator> d:
D:\> cd ftp
D:\ftp> ftp 10.164.30.20
Connected to 10.164.30.20.
220 FTP service ready.
User(10.164.30.20:(none)):AR # Enter the user name and press Enter.
331 Password required for AR.
Password: # Enter the password huawei@123 and press Enter. The password is
not displayed on the screen.
230 User logged in.
ftp> binary
200 Type set to I.
ftp> get AR160-V200R010C10SPC600.cc
200 Port command okay.
150 Opening binary mode data connection for AR160-V200R010C10SPC600.cc.
226 Transfer complete.
ftp: 159554432 bytes received in 110.24 Seconds 627.10 Kbytes/sec.
The preceding output indicates the configuration file has been transferred and you
can find it in D:\ftp.
ftp> get iascfg.zip
200 Port command okay.
150 Opening binary mode data connection for iascfg.zip
226 Transfer complete.
ftp: 1197 bytes received in 0.00 Seconds 627.10 Kbytes/sec.
The preceding output indicates the configuration file has been transferred and you
can find it in D:\ftp.
----End

3.13.2 Method 2: Use the AR as the FTP Client


Step 1 Configure the PC as the FTP server. See section 3.12.2 Scenario 2: Use the AR as the FTP
Client, Use the PC as the FTP Server.

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

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 42


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

Step 2 Back up the system software and configuration file.


The FTP commands on the AR are the same as the FTP commands in the DOS system.
Assume that the IP address of the FTP server is 10.1.1.1, the FTP user name is admin, and the
password of the FTP user is admin123.
<Huawei>cd flash:/
<Huawei>ftp 10.1.1.1 //IP address of the FTP server, that is, IP address of the PC.
Trying 10.1.1.1 ...
Trying 10.1.1.1 ...
Press CTRL+K to abort
Connected to 10.1.1.1.
220-FileZilla Server 0.9.60 beta
220-written by Tim Kosse (tim.kosse@filezilla-project.org)
220 Please visit https://filezilla-project.org/
User(10.1.1.1:(none)):admin //User name admin on the FTP server.
331 Password required for admin
Enter password:****** //Password admin123 corresponding to the user name on the FTP
server.

230 Logged on

[Huawei-ftp]binary
200 Type set to I

Back up the system software AR160-V200R010C10SPC600.cc to the FTP server and specify
the name of the backup file as AR160-V200R010C10SPC600-bak.cc. If the name of the
backup file is not specified, the original name is used.
[Huawei-ftp] put AR160-V200R010C10SPC600.cc AR160-V200R010C10SPC600-bak.cc
200 PORT command okay
150 "D:\FTP\ AR160-V200R010C10SPC600-bak.cc" file ready to receive in IMAGE / Binary
mode
226 Transfer finished successfully.
FTP: 155945856 byte(s) sent in 132.892 second(s) 1173.47Kbyte(s)/sec.

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

----End

3.13.3 Method 3: Use the AR as the TFTP Client


Step 1 Configure the TFTP server. See section 3.12.3 Scenario 3: Use the AR as the TFTP Client,
Use the PC as the TFTP Server.

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

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 43


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

Step 2 Back up the system software and configuration file.


Before the backup, check the size of the configuration file. After the backup, compare the size
of the original file with the size of the backup file. Ensure that the two files are the same size.
On the AR150&AR160&AR200&AR1200 using the flash memory, perform the following
operations. The AR160 is used as an example.
<Huawei> dir flash:/*.cc
Directory of flash:/

Idx Attr Size(Byte) Date Time(LMT) FileName


0 -rw- 155,945,856 Jan 12 2017 23:48:48 AR160-V200R010C10SPC600.cc
374,744 KB total available (48,328 KB free)
<Huawei> dir flash:/*.zip
Directory of flash:/

Idx Attr Size(Byte) Date Time(LMT) FileName


0 -rw- 843,312 Jan 12 2017 17:38:24 vrpcfg.zip
1 -rw- 445 Jan 12 2017 23:59:52 iascfg.zip
374,744 KB total available (48,328 KB free)

Run the following commands on the AR to back up the data. In the following description, the
AR161G-LC is used as an example. The backup system software is
AR160-V200R010C10SPC600-bak.cc, and the backup configuration file is iascfg-bak.zip.
<Huawei> tftp 10.164.30.29 put AR160-V200R010C10SPC600.cc
AR160-V200R010C10SPC600-bak.cc
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...
155945856 bytes send in 132 seconds.
TFTP: Uploading the file successfully.
<Huawei> tftp 10.164.30.29 put iascfg.zip iascfg-bak.zip
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...
1197 bytes send in 1 second.
TFTP: Uploading the file successfully.

----End

3.13.4 Method 4: Use the AR as the SFTP Client


Step 1 Configure the PC as the SFTP server according to section 3.12.4 Scenario 4: Use the AR as
the SFTP Client, Use the PC as the SFTP Server.

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

Step 2 Back up the system software and configuration file.


Step 3 The SFTP commands on the AR are the same as the SFTP commands in the DOS system. In
this example, the SFTP server IP address is 10.164.30.29, the FTP user name is 123, and the
password of the SFTP user is 123.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 44


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

The device equipped with the flash memory is used as an example.


<Huawei> cd flash:/
<Huawei> system-view
[Huawei] ssh client first-time enable
[Huawei] sftp 10.164.30.29
Please input the username:123
Trying 10.164.30.29 ...
Press CTRL+K to abort
Connected to 10.164.30.29 ...
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.164.30.29. Please wait...
Enter password: # huawei@123
sftp-client>

Step 4 Back up the system software AR160-V200R010C10SPC600.cc to the SFTP server and
specify the name of the backup file as AR160-V200R010C10SPC600-bak.cc. If the name of
the backup file is not specified, the original name is used.
sftp-client> put AR160-V200R010C10SPC600.cc AR160-V200R010C10SPC600-bak.cc
local file: AR160-V200R010C10SPC600.cc ---> Remote file: /
AR160-V200R010C10SPC600-bak.cc
Success
Info: Uploading file successfully ended.

Back up the configuration file iascfg.zip to the SFTP server and specify the name of the
backup file as iascfg-bak.zip. If the name of the backup file is not specified, the original name
is used.
sftp-client> put iascfg.zip iascfg-bak.zip
local file: iascfg.zip ---> Remote file:/iascfg-bak.zip
Success
Info: Uploading file successfully ended.

----End

3.14 Checking the Space in the Flash/SD Memory


Step 1 Check the available space.
In the user view, run the dir command to check whether the Flash/SD memory has sufficient
available space for the new system software.
The device equipped with the flash memory is used as an example.
<Huawei> dir flash:/
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 155,945,856 Sep 04 2019 10:15:18 AR160-V200R010C10SPC600.cc
1 -rw- 2,502 Sep 04 2019 16:30:33 vrpcfg.zip
2 -rw- 396 Sep 04 2019 13:55:32 rsa_host_key.efs
3 -rw- 540 Sep 04 2019 13:55:52 rsa_server_key.efs
4 -rw- 2,502 Sep 04 2019 16:20:33 iascfg.zip
374,744 KB total available (218,796 KB free)

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 45


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 3 Preparing for the Upgrade

If the free space is larger than the size of system software package of the target version, the
space is sufficient. Otherwise, perform step 2 to delete unnecessary files.
Step 2 Delete unnecessary files.
If the flash/SD memory does not have sufficient space for the new system software, delete
unnecessary files to free up space.

Before deleting the system software (with the file name extension .cc or .zip), configuration file (with
the file name extension .cfg or .zip), and license file (with the file name extension .dat), ensure that they
are not in use.

Run the following commands in the user view to delete unnecessary files from the flash/SD
memory.

Files deleted using the delete command are stored in the recycle bin. Files in the recycle bin
still occupy flash/SD memory space. To restore these files, run the undelete command. The
reset recycle-bin command permanently deletes all files currently in the recycle bin.
You can also run the delete/unreserved command to permanently delete all files without
placing them in the recycle bin. This command is equivalent to running the delete and reset
recycle-bin commands in sequence.

# Delete unnecessary files from the flash/SD memory.


<Huawei> delete flash:/iascfg1.zip
Info: Delete flash:/iascfg1.zip? [Y/N]:y
Info: Deleting file flash:/iascfg1.zip...succeed.

# Run the following command to restore the files in the recycle bin.
<Huawei> undelete flash:/iascfg1.zip
Info: Undelete flash:/iascfg1.zip?[Y/N]:y
Info: Undeleted file flash:/iascfg1.zip.

# Run the following command to permanently delete files from the recycle bin.
<Huawei> reset recycle-bin flash:

# Run the following command to permanently delete a specified file from the recycle bin.
<Huawei> delete /unreserved flash:/iascfg1.zip

----End

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 46


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 4 Upgrading the System Version Using the CLI

4 Upgrading the System Version Using the


CLI

Back up the old configuration file before the upgrade, which will be used in rollback.
Otherwise, the rollback may fail.
Starting from V200R008, if the configuration file contains WLAN AC commands before the
upgrade, you must use the eDesk to translate the configuration file. If you do not use the
eDesk to translate the WLAN AC configuration, the original WLAN AC configuration
becomes unavailable after the upgrade. For details about the eDesk, see chapter 10 Appendix:
eDesk Configuration Translation Guide.
For more upgrade precautions, see section 1.1 Precautions.

Upgrade process
Table 4-1 shows the upgrade process.

Table 4-1 Upgrade process

N Action Command Reference


o.

1 Back up key data, then load the new - 4.1 Loading System
system software, license file, and Software
configuration file (optional) to the
flash/SD memory.
2 Check whether the files were loaded. dir 4.2 Verifying File
Loading
3 Specify the system software and startup 4.3 Specifying the
configuration file for next startup. system-software System Software
startup
saved-configurat
ion

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 47


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 4 Upgrading the System Version Using the CLI

N Action Command Reference


o.

4 Check whether the system software and display startup 4.3 Specifying the
configuration file specified for next System Software
startup are correct.
5 Restart the device. reboot 4.4 Restarting the
Device
6 Verify the upgrade. display startup 4.6 Verifying the
display device Upgrade
display version
display
current-configur
ation

4.1 Loading System Software


4.2 Verifying File Loading
4.3 Specifying the System Software
4.4 Restarting the Device
4.5 (Optional) Activating the License
4.6 Verifying the Upgrade
4.7 Rolling Back to an Earlier Version

4.1 Loading System Software

The license file must be saved in the root directory of the file system.

In the following description, the AR161G-Lc is used as an example. The target system
software is AR160-V200R010C10SPC700.cc, license file is license.dat, and the
configuration file is vrpcfgnew.zip.
You can use any of the following methods to load the system software:
 Use the AR as the FTP server.
 Use the AR as the FTP client.
 Use the AR as the TFTP client.
 Use the AR as the SFTP client.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 48


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 4 Upgrading the System Version Using the CLI

4.1.1 Method 1: Use the AR as the FTP Server


Step 1 Configure the AR as the FTP server. See section 3.12.1 Scenario 1: Use the AR as the FTP
Server.
Step 2 Upload the system software of the target version to the AR.
You can load the system software to the AR using either of the following methods:
 Copy the system software to flash:/ or sd1:/ on the AR using any FTP client program.
 Similar to file backup, you only need to upload the system software to the FTP server
(AR).
 Load the system software by running the following commands on your computer.
D:\ftp> ftp 10.164.30.20
Connected to 10.164.30.20.
220 FTP service ready.
User(10.164.28.20:(none)): AR # Enter the user name and press Enter.
Give me your password, please AR.
Password: # Enter the password huawei@123 and press Enter. The password is not
displayed on the screen.
230 Logged in successfully
ftp> binary
200 Type is Image (Binary)
ftp> put AR160-V200R010C10SPC700.cc
200 PORT command okay.
150 "D:\FTP\AR160-V200R010C10SPC700.cc"file ready to receive in IMAGE / Binary mode.
226 Transfer finished successfully.
FTP: 106554112 byte(s) in 277.024 second(s) 384.63Kbyte(s)/sec.

You can use put command specify a file name for the loaded system software. If a file name
is not specified, the original file name is used.
Step 3 (Optional) Upload the license file to the AR.
ftp> put license.dat

Step 4 (Optional) Upload the new configuration file to the AR.


ftp> put vrpcfgnew.zip

----End

4.1.2 Method 2: Use the AR as the FTP Client


Step 1 Configure the PC as the FTP server. See section "3.12.2 Scenario 2: Use the AR as the FTP
Client, Use the PC as the FTP Server".
Step 2 Copy the upgrade system version files including the software package, license file, and
configuration file to the FTP working directory (such as D:\ftp) on the PC.
Step 3 Obtain the system software of the target version.
<Huawei>cd flash:/
<Huawei>ftp 10.1.1.1 //IP address of the FTP server, that is, IP address of the PC.
Trying 10.1.1.1 ...
Press CTRL+K to abort
Connected to 10.1.1.1.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 49


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 4 Upgrading the System Version Using the CLI

220-FileZilla Server 0.9.60 beta


220-written by Tim Kosse (tim.kosse@filezilla-project.org)
220 Please visit https://filezilla-project.org/
User(10.1.1.1:(none)):admin //User name admin on the FTP server. 331 Password
required for admin
Enter password:****** //Password admin123 corresponding to the user name on the FTP
server. 230 Logged on

[Huawei-ftp]binary
200 Type set to I

[Huawei-ftp]get AR160-V200R010C10SPC700.cc
200 Port command successful
150 Opening data channel for file download from server of "/AR160-V200R010C10SPC700.cc"
226 Successfully transferred "/AR160-V200R010C10SPC700.cc"
FTP: 190047232 byte(s) received in 735.524 second(s) 258.38Kbyte(s)/sec.

You can specify a file name for the system software. If a file name is not specified, the
original file name is used.
Step 4 (Optional) Obtain the license file.
[Huawei-ftp] get license.dat

Step 5 (Optional) Obtain the new configuration file.


[Huawei-ftp] get vrpcfgnew.zip

----End

4.1.3 Method 3: Use the AR as the TFTP Client


Step 1 Configure the TFTP server. See section 3.12.3 Scenario 3: Use the AR as the TFTP Client,
Use the PC as the TFTP Server.
Step 2 Copy the upgrade system version files including the software package, license file, and
configuration file to the TFTP working directory (such as D:\tftp32) on the operation
terminal.
Step 3 Obtain the system software of the target version from the server.
<Huawei> tftp 10.164.30.29 get AR160-V200R010C10SPC700.cc
Info: Transfer file in binary mode.
Downloading the file from the remote TFTP server. Please wait...
69129997 bytes received in 699 seconds.
TFTP: Downloading the file successfully.

If the message Downloading the file successfully is displayed, the system software has been
downloaded.
Step 4 (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...
1686 bytes received in 1 second.
TFTP: Downloading the file successfully.

Step 5 (Optional) Obtain the new configuration file from the server.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 50


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 4 Upgrading the System Version Using the CLI

<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...
2396 bytes received in 1 second.
TFTP: Downloading the file successfully.

----End

4.1.4 Method 4: Use the AR as the SFTP Client


Step 1 Configure the PC as the SFTP server according to section 3.12.4 Scenario 4: Use the AR as
the SFTP Client, Use the PC as the SFTP Server.
Step 2 Copy the upgrade system version files including the software package, license file, and
configuration file to the SFTP working directory (such as D:\ftp) on the operation terminal.
Step 3 Obtain the system software of the target version.
<Huawei> cd flash:/
<Huawei> system-view
[Huawei] ssh client first-time enable
[Huawei] sftp 10.164.30.29
Please input the username:123
Trying 10.164.30.29 ...
Press CTRL+K to abort
Connected to 10.164.30.29 ...
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.164.30.29. Please wait...
Enter password: # huawei@123
sftp-client> get AR160-V200R010C10SPC700.cc
Remote file: /AR160-V200R010C10SPC700.cc ---> Local file: AR160-V200R010C10SPC700.cc
\
End of file
SuccessInfo: Downloading file successfully ended.

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 (Optional) Obtain the license file.
sftp-client> get license.dat

Step 5 (Optional) Obtain the new configuration file.


If the configuration file remains unchanged after the upgrade, this step is not required.
sftp-client> get vrpcfgnew.zip

Step 6 Close the SFTP connection.


sftp-client> quit

----End

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 51


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 4 Upgrading the System Version Using the CLI

4.2 Verifying File Loading


Run the dir command on the AR to verify that the upgrade program file exists and that the file
size is the same as the size of the file on the FTP or TFTP server.
On the device using the Flash card, for example, AR150 and AR160 and AR200 and AR1200,
perform the following operations. Here, the AR161G-Lc is used as an example.
<Huawei> dir flash:
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 106,615,552 Jan 12 2017 08:34:23 AR160-V200R010C10SPC700.cc
1 -rw- 1,738,816 Jan 12 2017 08:50:47 web.zip
2 -rw- 396 Jan 12 2017 08:50:50 rsa_host_key.efs
3 -rw- 540 Jan 12 2017 08:51:08 rsa_server_key.efs
4 -rw- 1,197 Jan 12 2017 09:20:05 iascfg.zip
5 -rw- 106,615,552 Jan 12 2017 09:42:59 AR160-V200R010C10SPC600.cc
6 -rw- 2,396 Jan 12 2017 09:49:35 vrpcfgnew.zip
7 -rw- 1,686 Jan 12 2017 09:51:05 license.dat
217,168 KB total available (68,028 KB free)

4.3 Specifying the System Software


Before specifying the system software, determine whether the device uses the single SRU or
dual SRUs, and then determine the mode in which the system software is specified.
The AR100&AR120&AR150&AR160&AR200&AR1200&AR2200 series uses the single
SRU, and the AR3200 series uses dual SRUs.

4.3.1 AR Series Using a Single SRU


Step 1 Specify the system software for next startup.
Configure the loaded system software as the startup system software of the SRU.
<Huawei> startup system-software flash:/AR160-V200R010C10SPC700.cc
This operation will take several minutes, please wait..............................
Info: Succeeded in setting the file for booting system

Run the display startup command to verify that the specified startup software of the master
and slave SRUs is the newly loaded system software.
<Huawei> display startup
MainBoard:
Startup system software: flash:/AR160-V200R010C10SPC600.cc
Next startup system software: flash:/AR160-V200R010C10SPC700.cc
Backup system software for next startup: null
Startup saved-configuration file: flash:/iascfg.zip
Next startup saved-configuration file: flash:/iascfg.zip
Startup license file: null
Next startup license file: null
Startup patch package: null
Next startup patch package: null
Startup voice-files: null
Next startup voice-files: null

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 52


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 4 Upgrading the System Version Using the CLI

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


If a new configuration file has been loaded, specify the new configuration file for next startup.
If you do not specify the new configuration file, the old configuration file will be used after
the upgrade.
<Huawei> startup saved-configuration flash:/vrpcfgnew.zip
This operation will take several minutes, please wait..........
Info: Succeeded in setting the file for booting system

Run the display startup command to verify that the specified configuration file is the new
configuration file.
<Huawei> display startup
MainBoard:
Startup system software: flash:/AR160-V200R010C10SPC600.cc
Next startup system software: flash:/AR160-V200R010C10SPC700.cc
Backup system software for next startup: null
Startup saved-configuration file: flash:/iascfg.zip
Next startup saved-configuration file: flash:/vrpcfgnew.zip
Startup license file: null
Next startup license file: null
Startup patch package: null
Next startup patch package: null
Startup voice-files: null
Next startup voice-files: null

----End

4.4 Restarting the Device

Do not power off the device or remove the interface card when the device is restarting;
otherwise, the interface card may fail to start.

Run the reboot command to restart the device. The system uses the specified system software
and configuration file for next startup. When the system asks you whether to save the
configuration, enter y or n. After the setting is complete, the system asks you whether to
restart the device. Enter y to restart the device.
<Huawei> reboot
Info: The system is comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup configuration.
Continue ? [y/n]:y //If the old configuration file has been translated using eDesk,
enter n upon the system prompt after you run the reboot command; otherwise, the current
configuration will be written into the configuration file for next startup and the
translated configuration file will be invalid.
It will take several minutes to save configuration file, please wait...
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<Huawei>

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 53


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 4 Upgrading the System Version Using the CLI

System will reboot! Continue ? [y/n]:y


Info: system is rebooting ,please wait...

4.5 (Optional) Activating the License


After a license file is loaded to the device, the file must be activated for it to take effect.
<Huawei> license active flash:/license.dat
Info: The License is being activated. Please wait for a moment.
Info: Succeeded in activating the License file on the master board.

Run the display license state command to view the license status. The commercial license
status should be Normal and the non-commercial license status should be Demo or Trial.
<Huawei> display license state
Info: Master board license state: Trial. The remain days is 59.

4.6 Verifying the Upgrade


4.6.1 Verification Checklist
Table 4-2 Verification checklist

No. Item Expected Result Actual


Result

1 Verifying the Current System The current version is the -


Software same as the target version.
2 (Optional) Verifying the License The commercial license -
Status status should be Normal and
the non-commercial license
status should be Demo or
Trial.
3 Verifying the SRU Registration The boards are in -
Status Registered state.
4 Verifying Configuration No configuration has been -
Restoration lost.
5 Verifying Services Services are working -
properly.

4.6.2 Verifying the Current System Software


After device restart, run the display version command in the user view to check the version
of the system software. Verify that the current version matches the target version. If the
current version does not match the target version, review upgrade procedures, and perform the
upgrade again.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 54


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 4 Upgrading the System Version Using the CLI

<Huawei> display version


Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AR160 V200R010C10SPC700)
Copyright (C) 2011-2019 HUAWEI TECH CO., LTD
Huawei AR161G-Lc Router uptime is 0 week, 0 day, 0 hour, 7 minutes

MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 5 minutes


SDRAM Memory Size : 512 M bytes
Flash 0 Memory Size : 512 M bytes
MPU version information :
1. PCB Version : AR161G-Lc VER.D
2. MAB Version : 0
3. Board Type : AR161G-Lc
4. BootROM Version : 1

4.6.3 (Optional) Verifying the License Status


Run the display license state command to view the license status. The commercial license
status should be Normal and the non-commercial license status should be Demo or Trial.
<Huawei> display license state
Info: Master board license state: Trial. The remain days is 59.

You can use the display license resource usage command to check the usage of the resource
items defined in the license file.

4.6.4 Verifying the SRU Registration Status


Run the display device command in the user view to check the registration status of the SRU.
All the boards should be in Registered state.
<Huawei> display device
<Huawei>dis dev
AR161G-Lc's Device status:
Slot Sub Type Online Power Register Alarm Primary
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 - AR161G-Lc Present PowerOn Registered Normal Master

4.6.5 Verifying Configuration Restoration


After device restart, run the display current-configuration command in the user view to
check the AR configuration.
<Huawei> display current-configuration
[V200R010C10SPC700]
# The detailed configuration is not mentioned.

To compare the new configuration file with the configuration file saved in the sd1 memory, run the
compare configuration command in the user view.
You can also use the Beyond Compare tool to find out the differences between the configuration files in
the Flash and sd1 directories.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 55


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 4 Upgrading the System Version Using the CLI

4.6.6 Verifying Services


Use either of the following methods to check whether services are working properly after the
upgrade:

Do not run the save command before you ensure that all services are working properly.
 Check whether any table entries are missing, for example, the entries from the routing
table, FIB table, or MAC address table. Check whether the service traffic volume
remains the same after the upgrade.
 Confirm with the network management administrator that all services are working
properly and that servers such as the network management device and NetStream servers
function properly.

4.7 Rolling Back to an Earlier Version


This section only describes the rollback using command line. For the operations of rollback
using BootROM, see chapter 6 Upgrading the System Software Using the BootROM Menu.

AR161FW-P-M5 do not support the rollback.

4.7.1 Rollback Scenarios and Methods


Rollback scenarios
 The upgrade was successful and the device is functioning properly, but the new system
software does not meet service requirements.
 The device does not function properly after the upgrade.

Rollback methods
 If the device functions properly after the upgrade, perform rollback using the command
line.
 If the device does not function properly after the upgrade, perform rollback using the
BootROM.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 56


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 4 Upgrading the System Version Using the CLI

4.7.2 Rollback Process


Figure 4-1 Version rollback flowchart

4.7.3 Specify the startup software and configuration file of an


early version
Assume that the system software of the version prior to the upgrade was
AR160-V200R010C10SPC600.cc. Run the following command to specify the previous
system software for next startup, the device equipped with the flash memory is used as an
example:
<Huawei> startup system-software flash:/AR160-V200R010C10SPC600.cc

Assume that the old configuration file is iascfg.zip. Run the following command to specify
the old configuration file for startup:
<Huawei> startup saved-configuration flash:/iascfg.zip
Info: Succeeded in setting the configuration for booting system.

Check whether the system software and configuration file of the earlier version have been
specified for next startup.
<Huawei> display startup
MainBoard:
Startup system software: flash:/AR160-V200R010C10SPC700.cc
Next startup system software: flash:/AR160-V200R010C10SPC600.cc
Backup system software for next startup: null
Startup saved-configuration file: flash:/vrpcfgnew.zip
Next startup saved-configuration file: flash:/iascfg.zip
Startup license file: null

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 57


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 4 Upgrading the System Version Using the CLI

Next startup license file: null


Startup patch package: null
Next startup patch package: null
Startup voice-files: null
Next startup voice-files: null

4.7.4 Restarting the Device


Run the reboot command to restart the device. When the system restarts, the system software
is used before the upgrade.
<Huawei> reboot
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup configuration.
Continue ? [y/n]:y #Enter n if the new configuration file is used.
It will take several minutes to save configuration file, please wait...
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
System will reboot! Continue ? [y/n]:y
Info: system is rebooting ,please wait...

4.7.5 Verifying the Rollback


The procedure for verifying a version rollback is identical to the procedure for verifying an
upgrade. For details, see section 4.6 Verifying the Upgrade.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 58


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600 5 Upgrading the System Software Using a USB Flash
Upgrade Guide Drive

5 Upgrading the System Software Using a


USB Flash Drive

Back up the old configuration file before the upgrade, which will be used in rollback.
Otherwise, the rollback may fail.
Starting from V200R008, if the configuration file contains WLAN AC commands before the
upgrade, you must use the eDesk to translate the configuration file. If you do not use the
eDesk to translate the WLAN AC configuration, the original WLAN AC configuration
becomes unavailable after the upgrade.For details about the eDesk, see chapter 10 Appendix:
eDesk Configuration Translation Guide.
For more upgrade precautions, see section 1.1 Precautions.

5.1 Preparing for the Upgrade


5.2 Procedure
5.3 Verifying the Upgrade

5.1 Preparing for the Upgrade


5.1.1 Hardware
 USB port: The AR provides a USB 2.0 port.
 USB flash drive:
− To ensure compatibility between USB flash drives and devices, use
Huawei-certified USB flash drives to upgrade the Huawei devices. Netac U208 (4
GB) flash drive has passed Huawei certification. If you have not bought the USB
flash drive, contact local Huawei office.
− The USB flash drive must use the FAT32 format. If the USB flash drive does not
use the FAT32 format, format the USB flash drive to convert the format to FAT32.
− The USB flash drive must have sufficient space for the system software and
configuration file.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 59


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600 5 Upgrading the System Software Using a USB Flash
Upgrade Guide Drive

5.1.2 Loaded Files


The files include system software (mandatory), configuration file (optional), patch file
(optional), and license file (optional).

5.1.3 Index File


Perform the following steps to make the index file on your PC:
Step 1 Create a file named USB_AR.ini.
Step 2 Edit the index file in the following format:
BEGIN AR
[USB CONFIG]
SN=
EMS_ONLINE_STATE=
[UPGRADE INFO]
OPTION=
DEVICENUM=
[DEVICEn DESCRIPTION]
OPTION=
ESN=
MAC=
VERSION=
DIRECTORY=
FILENUM=
TYPEn=
FILENAMEn=
HMACn=
END AR

Table 5-1 Fields in the index file

Field Description
BEGIN AR Start tag of the index file. This field cannot be modified.
USB CONFIG USB flash drive configuration. This field cannot be modified.
SN Data change time in the format YearMonthDay.HourMinuteSecond.
For example, the value 20110628.080910 indicates 2011-06-28
08:09:10.
NOTE
The SN field is a USB-based deployment flag. A device has a default
USB-based deployment flag. If the USB_AR.ini file exists in the USB flash
drive, the device checks whether the default USB-based deployment flag and
the SN value in the USB_AR.ini file are the same. If they are different, the
USB-based deployment process is triggered. If the deployment succeeds, the
value of the default USB-based deployment flag on the device is changed to
the SN value in the USB_AR.ini file.

EMS_ONLINE_S Indicates whether the NMS is online. The options are as follows:
TATE  YES: The NMS is online.
 NO: The NMS is offline.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 60


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600 5 Upgrading the System Software Using a USB Flash
Upgrade Guide Drive

Field Description
UPGRADE INFO Upgrade information header. This field cannot be modified.
OPTION Upgrade mode flag. The field has a fixed value of AUTO.
DEVICENUM Number of devices to be upgraded using this index file.
 To upgrade the software version of one device, set the value of the
DEVICENUM field to 1 and use the device's ESN and MAC
address.
 To upgrade software versions of multiple devices to the same
version, set the value of the DEVICENUM field to 1 and use the
default ESN and MAC address.
 To upgrade software versions of multiple devices to different
versions, set the value of the DEVICENUM field to the number of
devices to be upgraded and use devices' ESNs and MAC
addresses.
DEVICEn Description information header of device n. The value of n is an
DESCRIPTION integer that ranges from 1 to 100.
OPTION Indicates whether to upgrade a device. The value OK indicates that
the device must be upgraded. The value NOK indicates that the
device does not need to be upgraded.
ESN Serial number of a device. If the value of this field is DEFAULT, the
index file is applicable to all devices. Otherwise, the index file is
applicable to a specific device.
NOTE
If this field is left empty, this field matches all devices.

MAC MAC address of a device. If the value of this field is DEFAULT, the
index file is applicable to all devices. Otherwise, the index file is
applicable to a specific device.
NOTE
If this field is left empty, this field matches all devices.

VERSION Version number after the upgrade.


DIRECTORY Path for storing deployment files.
 If the value is DEFAULT, the deployment files are stored in the
root directory of the USB flash drive.
 If the value is /abc, the deployment files are stored in the abc
directory.
NOTE
If this field is left empty, the deployment files are saved in the root directory of
the USB flash drive.

FILENUM Number of files to be loaded.


If only the system software needs to be loaded, the value of this field
is set to 1. If the system software and patch file need to be loaded, the
value of this field is set to 2.
TYPEn Upgrade file type. The options are as follows:

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 61


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600 5 Upgrading the System Software Using a USB Flash
Upgrade Guide Drive

Field Description
 SYSTEM-SOFTWARE: system software.
 SYSTEM-CONFIG: configuration file.
NOTE
If the device supports the voice function and works as a PBX, the
configuration file is SYSTEM-CONFIG_PBX.
If the device supports the voice function and works as a SIPAG, the
configuration file is SYSTEM-CONFIG_SIPAG.
 SYSTEM-PAT: patch file.
 SYSTEM-LICENSE: license file.
 SYSTEM-VOICE: voice file.
 USER-DEFINE: user-defined file.
The value of n starts from 1.
FILENAMEn Upgrade file name. For example, if the value of the TYPE1 field is
SYSTEM-SOFTWARE and the name of the system software
corresponding to the U disk is system-software.cc, the value of the
FILENAME1 field is system-software.cc.
The value of n starts from 1.
HMACn HMAC used to verify a file to be downloaded. The HMAC is a
64-byte character string that is calculated for a specific file using a
file checker based on the HMAC-SHA256 algorithm. The key used to
calculate the HMAC must be the same as the password configured by
the set usb autoupdate password command.
The value of n starts with 1.
NOTE
This field is optional.

END AR End tag of the index file.

----End

5.1.4 Examples
Example 1
You need to create an index file for upgrading one device, and the requirements are as
follows:
 Data is changed at 08:09:10 on Jan 12, 2017.
 The NMS is offline.
 Upgrade is required.
 The device ESN is 00080123456789 and the MAC address is 0018-0303-1234.
 The system software system-software01.cc is stored in the root directory of the USB
flash drive. The version number is V200R010C10SPC700. The HMAC string is
c3caaee8f4f6bd1389f438801e40dad9af30f2fbbe7e8f55121b39c6c16ba488.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 62


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600 5 Upgrading the System Software Using a USB Flash
Upgrade Guide Drive

The index file that meets the preceding requirements is as follows:


BEGIN AR
[USB CONFIG]
SN=20170112.080910
EMS_ONLINE_STATE=NO
[UPGRADE INFO]
OPTION=AUTO
DEVICENUM=1
[DEVICE1 DESCRIPTION]
OPTION=OK
ESN=00080123456789
MAC=0018-0303-1234
VERSION=V200R010C10SPC700
DIRECTORY=DEFAULT
FILENUM=1
TYPE1=SYSTEM-SOFTWARE
FILENAME1=system-software01.cc
HMAC1=c3caaee8f4f6bd1389f438801e40dad9af30f2fbbe7e8f55121b39c6c16ba488
END AR

Example 2
You need to create an index file for upgrading multiple devices to the same software version,
and the requirements are as follows:
 Data is changed at 08:09:10 on Jan 12, 2017.
 The NMS is offline.
 Upgrade is required.
 The system software system-software01.cc is stored in the root directory of the USB
flash drive. The version number is V200R010C10SPC700. HMAC check is not required
for any file.
The index file that meets the preceding requirements is as follows:
BEGIN AR
[USB CONFIG]
SN=20170112.080910
EMS_ONLINE_STATE=NO
[UPGRADE INFO]
OPTION=AUTO
DEVICENUM=1
[DEVICE1 DESCRIPTION]
OPTION=OK
ESN=DEFAULT
MAC=DEFAULT
VERSION=V200R010C10SPC700
DIRECTORY=DEFAULT
FILENUM=1
TYPE1=SYSTEM-SOFTWARE
FILENAME1=system-software01.cc
END AR

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 63


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600 5 Upgrading the System Software Using a USB Flash
Upgrade Guide Drive

Example 3
You need to create an index file for two devices with different description information, and
the requirements are as follows:
 Data is changed at 08:09:10 on Jan 12, 2017.
 The NMS is offline.
 The ESN of the first device is 00080123456789. The MAC address is 0018-0303-1234.
The name of the system software is V200R010C10SPC700.cc. The version number is
V200R010C10SPC700. The configuration file system-config01.zip must be loaded.
HMAC check is not required for any file.
 The ESN of the second device is 66680123456789. The MAC address is
0018-0303-5678. The name of the system software is V200R010C10SPC700.cc. The
version number is V200R010C10SPC700. The configuration file system-config02.zip
must be loaded. HMAC check is not required for any file.
The index file that meets the preceding requirements is as follows:
BEGIN AR
[USB CONFIG]
SN=20170112.080910
EMS_ONLINE_STATE=NO
[UPGRADE INFO]
OPTION=AUTO
DEVICENUM=2
[DEVICE1 DESCRIPTION]
OPTION=OK
ESN=00080123456789
MAC=0018-0303-1234
VERSION=V200R010C10SPC700
DIRECTORY=DEFAULT
FILENUM=2
TYPE1=SYSTEM-SOFTWARE
FILENAME1=V200R010C10SPC700.cc
TYPE2=SYSTEM-CONFIG
FILENAME2=system-config01.zip
[DEVICE2 DESCRIPTION]
OPTION=OK
ESN=66680123456789
MAC=0018-0303-5678
VERSION=V200R010C10SPC700
DIRECTORY=DEFAULT
FILENUM=2
TYPE1=SYSTEM-SOFTWARE
FILENAME1=V200R010C10SPC700.cc
TYPE2=SYSTEM-CONFIG
FILENAME2=system-config02.zip
END AR

5.1.5 Copying Files


Copy the index file to the root directory of the USB flash drive and copy the system software
package, configuration file, license file, and patch file to the directory specified in the index
file.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 64


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600 5 Upgrading the System Software Using a USB Flash
Upgrade Guide Drive

 Do not power off the AR while files are being copied. If the AR is powered off, the
upgrade will fail or the AR will be unable to restart.
 Do not remove the USB flash drive before the upgrade is completed. If the USB flash
drive is removed, it may be damaged.

5.2 Procedure
AR100&AR120&AR150&AR160&AR200&AR1200&AR2200&AR3200
Insert the USB flash drive.
Step 1 If the ACT indicator blinks green every 2 seconds, the system is copying the files specified in
the index file from the USB flash drive.
Step 2 After copying the files and specifying the startup file, the system restarts.
Step 3 If the ACT indicator is steady green after the restart, the upgrade is successful.

If the ACT indicator is steady red, an error occurs. Power cycle the device, and then insert the
USB flash drive again. If the upgrade fails three times, check whether the index files and the
directory on the USB flash drive are correct, or contact Huawei technical support personnel.

----End

5.3 Verifying the Upgrade


See section 4.6 Verifying the Upgrade.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 65


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600 6 Upgrading the System Software Using the BootROM
Upgrade Guide Menu

6 Upgrading the System Software Using the


BootROM Menu

This section describes how to upgrade the system software using the BootROM menu. This
method is used when the system software fails to start.

Back up the old configuration file before the upgrade, which will be used in rollback.
Otherwise, the rollback may fail.
Starting from V200R008, if the configuration file contains WLAN AC commands before the
upgrade, you must use the eDesk to translate the configuration file. If you do not use the
eDesk to translate the WLAN AC configuration, the original WLAN AC configuration
becomes unavailable after the upgrade. For details about the eDesk, see chapter 10 Appendix:
eDesk Configuration Translation Guide.
For more upgrade precautions, see section 1.1 Precautions.

AR161FW-P-M5 do not support upgrade using the BootROM menu.

6.1 Preparing for the Upgrade


6.2 Procedure
6.3 Verifying the Upgrade

6.1 Preparing for the Upgrade

This upgrade procedure is complicated and not recommended for use under normal
circumstances. Use this method when the system software will not start.

You can use the FTP or TFTP client mode through the BootROM software. The PC can use a
terminal emulation program such as the HyperTerminal of Windows 7 to communicate with

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 66


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600 6 Upgrading the System Software Using the BootROM
Upgrade Guide Menu

an AR through a serial port only. The PC must function as the FTP or TFTP server. Ensure
that the PC is directly connected to the management port of the AR to be upgraded and can
communicate on the same network segment.
The management port of the AR is as follows: AR150: Ethernet 0/0/3, AR200: Ethernet 0/0/6,
AR1200 and AR2220: GE0/0/0, AR2240&AR3200: GE0/0/2.
This section describes the AR161G-Lc upgrade process. You can upgrade other
AR150&AR160&AR200&AR1200&AR2200&AR3200 devices in the same way.

6.2 Procedure
Step 1 Run the FTP program on the operation terminal or PC and specify the path of the system
software. Create the FTP user AR and set the password of the FTP user to huawei@123.

The IP address of the configuration terminal or PC (IP address of the FTP server) and the IP address of
the management interface of the AR must be on the same network segment.

Step 2 Restart the AR.


When the AR is powered on, the operation terminal displays the following information:
BIOS Creation Date : Jan 12 2017, 17:26:15
DDR DRAM init : OK
Start Memory Test ? ('t' or 'T' is test):skip
Copying Data : Done
Uncompressing : Done
USB2 Host Stack Initialized.
USB Hub Driver Initialized
USBD Wind River Systems, Inc. 562 Initialized
Janeon Host Controller Initialize......Done.
Press Ctrl+B to break auto startup ... 3

Step 3 Press Ctrl+B within 3 seconds. If you do not press Ctrl+B within 3 seconds, you need to
restart the device.
password:

Step 4 Enter the extended BootROM password to display the main BootROM menu. (In
V200R003C01 and earlier versions, the default password is huawei. In V200R005C00 and
later versions, the default password is Admin@huawei.)
When the correct password is entered, the following BootROM menu is displayed:
1. Default Startup: Uses the startup software specified in option 4 to start the system. You
do not need to configure the basic BootROM or extended BootROM.
2. Serial Menu: Updates the BootROM and CPLD.
3. Network Menu: Downloads files through the management interface.
4. Startup Select: Specifies the startup software.
5. File Manager: Manages the file system.
6. Reboot: Uses the system software specified in option 4 to restart the system.
Main Menu
1. Default Startup
2. Serial Menu

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 67


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600 6 Upgrading the System Software Using the BootROM
Upgrade Guide Menu

3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager
Enter your choice(1-7):3

Step 5 Enter 3 to display the network menu.


Network Menu
1. Display parameter
2. Modify parameter
3. Save parameter
4. Download file
0. Return
Enter your choice(0-4):2

Step 6 Enter 2 to set the parameters of the network interface.


1. Set Ftp type to 0 or 1 and press Enter.
The value 0 indicates FTP and the value 1 indicates TFTP. Default is 0. If you keep the
Ftp type field blank, FTP is used.
2. Set File name to the name of the system software to be loaded and press Enter.
3. Set Ethernet ip address to the AR's management IP address and press Enter.
The AR's management IP address and the value of Ftp host ip address must be on the
same network segment.
4. Set Ethernet ip mask to the subnet mask of the AR's management IP address. If the
subnet mask is 255.255.255.0, set Ethernet ip mask to ffffff00.
5. Enter the gateway address of the FTP/TFTP server in Gateway ip address and press
Enter.
6. Set Ftp host ip address to the gateway IP address of the FTP/TFTP server and press
Enter.
7. Set Ftp user to the FTP user name and press Enter. If TFTP is used, press Enter
directly.
8. Set Ftp password to the FTP user password and press Enter. If TFTP is used, press
Enter directly.
NOTE:
Ftp type define: 0(ftp), 1(tftp),
ENTER = no change; '.' = clear;
Ftp type : 0
File name : AR160-V200R010C10SPC700.cc
Ethernet ip address : 192.168.1.3
Ethernet ip mask : ffffff00
Gateway ip address : 192.168.1.16
Ftp host ip address : 192.168.1.6
Ftp user : AR
Ftp password : **********

In the command output, FTP is used, the name of the system software to be loaded is
AR160-V200R010C10SPC700.cc, the IP address of the AR is 192.168.1.3, the IP address of
the gateway is 192.168.1.16, the IP address of the ftp server is 192.168.1.6 the FTP user name
is AR, and the password of the FTP user is huawei@123. You can modify these parameters
based on site requirements.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 68


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600 6 Upgrading the System Software Using the BootROM
Upgrade Guide Menu

The parameter values can contain letters, Arabic numerals, underscores, and periods. Spaces are not
allowed.To change configured network parameters, enter new parameters following the configured
parameters. Spaces are not allowed.

Step 7 Enter 4 to download the system software to the flash memory.


Enter your choice(1-4):4
Download file to: [ 1:flash 2:sd1 ]:1
Downloading ....
192.168.1.6 is reachable.Get 64146624 Bytes from 192.168.1.6.
Writing file:[flash:/AR160-V200R010C10SPC700.cc] to file
system..............................
................................................OK!
Network Menu
1. Display parameter
2. Modify parameter
3. Save parameter
4. Download file
5. Upload file
0. Return
Enter your choice(0-5):0

Step 8 Enter 0 to return to the main menu.


Enter your choice(1-4):0
Main Menu
1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager

Step 9 Enter 4 to set the loaded system software as the startup program.
Enter your choice(1-7):4
Startup Select
1. Display Startup
2. Set Boot File
3. Set Config File
4. Startupfile Check Manage
5. Set Startup Waiting Time
0. return
Enter your choice(0-5):2
Select Boot File
1. Flash
0. Return
Enter your choice(0-3):1
NOTE: Boot file must be .cc or .CC
Current boot file: flash:/AR160-V200R010C10SPC600.cc
Press ENTER directly for no change.
Or, please input the new file name: flash:/AR160-V200R010C10SPC700.cc
Save the bootfile name: flash:/ AR160-V200R010C10SPC700.cc ? Yes or No(Y/N)y
Save load state word...OK!
Startup Select

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 69


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600 6 Upgrading the System Software Using the BootROM
Upgrade Guide Menu

1. Display Startup
2. Set Boot File
3. Set Config File
4. Startupfile Check Manage
5. Set Startup Waiting Time
0. return
Enter your choice(0-5):0

Step 10 Enter 0 to return the main menu.


Main Menu
1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager
Enter your choice(1-7):6

Step 11 In the main menu, select 6 to restart the AR.


----End

6.3 Verifying the Upgrade


See section 4.6 Verifying the Upgrade.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 70


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 7 Upgrading the System Software Using the Web System

7 Upgrading the System Software Using the


Web System

This chapter describes how to upgrade the system software using the web system.

Back up the old configuration file before the upgrade, which will be used in rollback.
Otherwise, the rollback may fail.
Starting from V200R008, if the configuration file contains WLAN AC commands before the
upgrade, you must use the eDesk to translate the configuration file. If you do not use the
eDesk to translate the WLAN AC configuration, the original WLAN AC configuration
becomes unavailable after the upgrade.For details about the eDesk, see chapter 10 Appendix:
eDesk Configuration Translation Guide.
For more upgrade precautions, see section 1.1 Precautions.

7.1 Preparing for the Upgrade


7.2 Procedure
7.3 Verifying the Upgrade

7.1 Preparing for the Upgrade


The AR series routers have a built-in web server. You can connect an operation terminal (for
example, a PC) to an AR and use the web browser to access this AR.
Figure 7-1 shows the operating environment of the web system.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 71


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 7 Upgrading the System Software Using the Web System

Figure 7-1 Operating environment of the web system

The web service has been enabled by default. If the web service is not configured, you can use
the following methods:
Step 1 When new system software is uploaded on the AR, the system software contains the web
page file. After HTTP or HTTPS is enabled on the AR using the http server enable or http
secure-server enable command, the AR extracts web.zip from the system software to the
memory. You need to configure login through the console port and management interface's IP
address.

The AR uploads the web page file using FTP. You need to log in through the console port, set the
management interface's IP address, upload the web page file, and load the web page file.

Step 2 If HTTPS is enabled, when a user enters the HTTP request address in the address bar, the
HTTPS login page is displayed. After the user logs in successfully, the HTTPS access page is
displayed.

You must enable both HTTP and HTTPS. Otherwise, the system displays the message "The login page
cannot be accessed."

Step 3 HTTPS does not provide defense against DoS attacks. You can configure the firewall to
defend against DoS attacks. For details on how to configure the firewall, see Firewall
Configuration.
Step 4 After the http server enable command is used to enable the HTTP service, HTTP and
HTTPS are enabled. Therefore, you can use HTTPS to access the web system.
If the web system user is not configured, perform the following steps.
1. Run the system-view command to enter the system view.
2. Run the aaa command to enter the AAA view.
3. Run the local-user user-name password irreversible-cipher password command to set
the web user name and password.
4. Run the local-user user-name privilege level level command to set the user level.
5. Run the local-user user-name service-type http command to set the service type to
HTTP.
6. Run the quit command to return to the system view.
7. (Optional) Run the http timeout timeout command to set the timeout interval of HTTP
sessions.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 72


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 7 Upgrading the System Software Using the Web System

By default, the timeout interval is 10 minutes.

The default user name is admin, the default password is Admin@huawei or admin, and the default
user level is 15. You can directly log in to the web system. After login, you are advised to change the
password and periodically update the password to ensure the security. Users at level 0 or users whose
user levels are not configured are not allowed to log in to the web system. User level 1 corresponds to a
common administrator; user level 2 corresponds to an enterprise administrator; user levels 3 to 15
correspond to a super administrator.

----End

7.2 Procedure
Step 1 Log in to the web system.
Enter https://management interface's IP address in the browser, and enter the user name and
password.

The default user name is admin, and the default password is Admin@huawei or admin.

Step 2 Load the system software.

Figure 7-2 Loading the system software

1. Choose System Management > Upgrade and Maintenance > System Software.
2. Click Browse and select the system software to upload.
3. Click Load to upload the system software to the device. The loaded system software is
specified as the next startup system software.
4. Restart the device to make the system software take effect.
Step 3 (Optional) Load the configuration file.
1. Choose System Management > Upgrade and Maintenance > Configuration File.
2. Click Browse and select the configuration file to be uploaded.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 73


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 7 Upgrading the System Software Using the Web System

3. Click Load to upload the configuration file to the device, and specify the uploaded
configuration file as the configuration file for next startup.
4. Restart the device to make the configuration file take effect.
5. Configure factory settings in Set Factory Configuration.
− Select This operation will save the specify configuration as the factory
configuration in Save type, and specify the configuration file for factory settings in
Configuration file.
− Select This operation will save the current configuration as the factory
configuration in Save type.
6. Click Save to save factory settings.
Step 4 Select the loaded system software or configuration file and restart the device to make the
configuration take effect.
----End

7.3 Verifying the Upgrade


See section 4.6 Verifying the Upgrade.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 74


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 8 Smart Upgrade

8 Smart Upgrade

Only the AR100&AR120&AR150&AR160RAR200&AR1200 series support this function.

8.1 Preparing for the Upgrade


8.2 Procedure
8.3 Verifying the Upgrade

8.1 Preparing for the Upgrade


Huawei devices support automatic download and self-service upgrade to help you learn about
the mainstream versions of the devices and quickly perform device upgrade and repair. After
enabling the smart upgrade function on the web platform of devices, you hereby authorize
Huawei Technologies Co., Ltd. to exchange information with your devices through the
Huawei Online Upgrade Platform (http://houp.huawei.com) to collect information such as
device models, basic software versions and patches, and device ESNs. The information will
be used to match the versions or patches that can be upgraded and return the information such
as the upgrade versions or patches and the download URLs of software packages to your
devices. After you confirm the upgrade, the devices will automatically download the software
packages and implement an upgrade. When the upgrade is completed, the upgrade result will
be uploaded to Huawei online upgrade platform. You are advised to enter your email and
phone number for emergency contact upon any upgrade error. We will contact you if
necessary so that your network services can work properly after the upgrade.

Smart upgrade requires that a device be able to access the Huawei Online Upgrade Platform
(http://houp.huawei.com).

8.2 Procedure
Step 1 Log in to the web platform.
Enter https://IP address of the management network port and press Enter. Then enter the user
name and password on the login page.
Step 2 Access the Intelligent Upgrade page.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 75


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 8 Smart Upgrade

After Automatic version upgrade check is enabled, the recommended target software
versions are displayed. Click Immediate Upgrade or Scheduled Upgrade to perform an
upgrade.

Figure 8-1 Smart upgrade

1. Choose Maintenance> Upgrade & Maintenance > Intelligent Upgrade.


2. Read Letter of Authorization for the Huawei Product Online Upgrade Service,
select I have read and accept Letter of Authorization for the Huawei Product
Online Upgrade Service, and click Intelligent upgrade.
3. Set Email and Phone, and click Apply.
4. In the Check Result area, check the recommended target AR version, and click
Immediate Upgrade or Scheduled Upgrade to perform an upgrade.
----End

8.3 Verifying the Upgrade


For details, see 4.6 Verifying the Upgrade.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 76


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 9 Emergency Recovery

9 Emergency Recovery

When the AR161FW-P-M5 is being upgraded through the command line mode, USB flash
drive, and web NMS, if an upgrade exception occurs, perform the following operations to
restore the AR161FW-P-M5.
9.1 Preparing for the Emergency Recovery
9.2 Procedure
9.3 Verifying the Upgrade

9.1 Preparing for the Emergency Recovery

AR161FW-P-M5 use dual systems:


The Android system of the AR161FW-P-M5 is upgraded.

9.1.1 Hardware
 USB port: The AR provides a USB 2.0 port.
 USB flash drive:
− To ensure compatibility between USB flash drives and devices, use
Huawei-certified USB flash drives to upgrade the Huawei devices. Netac U208 (4
GB) flash drive has passed Huawei certification. If you have not bought the USB
flash drive, contact local Huawei office.
− The USB flash drive must use the FAT32 format. Set the format to FAT32 before
using the drive.
− The USB flash drive must have sufficient space for the system software and
configuration file.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 77


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 9 Emergency Recovery

USB ports 0, 1, and 2, on the backplane of the AR161FW-P-M5 can identify the upgraded
USB flash drive. When the USB flash drive is used to upgrade the AR161FW-P-M5, GE0/0/5
must be configured with an IP address and OSP card (Android) must be dynamically assigned
an IP address so that the AR161FW-P-M5 and OSP card can exchange heartbeat packets.

9.1.2 Files to Be Loaded


The files include the upgrade file (mandatory).

You can download the upgrade file from Huawei enterprise business support website
http://support.huawei.com/enterprise and rename the upgrade file update.zip for the upgrade using a
USB flash drive.

9.1.3 Making the Configuration File


Make a configuration file to upgrade an AR161FW-P-M5 and name the file unlmt.cfg or
once.cfg. You do not need to focus on the contents of the configuration file. It is often
recommended to configure an empty text as the configuration file. The two configuration files
are as follows:
 unlmt.cfg: indicates unlimited upgrade. That is, each time a USB flash drive connects to
a device or the device starts with a USB flash drive, the device enters the upgrade
process as long as the USB flash drive has the configuration file unlmt.cfg and upgrade
file update.zip. After the device is upgraded successfully using unlmt.cfg, the device
does not start immediately until the USB flash drive is removed.
 once.cfg: indicates one upgrade. That is, the update file update.zip in a USB flash drive
is used only once. After the device is upgraded successfully using the configuration file
once.cfg, the device restarts.

9.1.4 Copying Files


Create the dload folder in the root directory of the USB flash drive and copy the
configuration file (unlmt.cfg or once.cfg) and upgrade file (update.zip) to be loaded to the
dload folder.

 Do not power off the AR while files are being copied. If the AR is powered off, the
upgrade will fail or the AR will be unable to restart.
 Do not remove the USB flash drive before the upgrade is completed. If the USB flash
drive is removed, it may be damaged.

9.2 Procedure
Connect the USB flash drive to the router. If the system detects that an upgrade file is stored
on the USB flash drive, the system starts upgrade.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 78


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 9 Emergency Recovery

Step 1 Connect the USB flash drive to the router. If the system detects that the update.zip file is
stored on the USB flash drive, the system immediately restarts.
Step 2 After the system is restarted, the system displays the progress bar. After the progress bar
reaches 100%, the file update.zip is loaded and the upgrade ends.
----End

9.3 Verifying the Upgrade


See section 4.6 Verifying the Upgrade.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 79


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 10 Appendix: eDesk Configuration Translation Guide

10 Appendix: eDesk Configuration


Translation Guide

10.1 eDesk Configuration Translation Process


10.2 Precautions
10.3 Downloading and Starting the eDesk
10.4 (Method 1, Recommended) Configuration Translation
10.5 (Method2) Fast Translation

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 80


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 10 Appendix: eDesk Configuration Translation Guide

10.1 eDesk Configuration Translation Process


Figure 10-1 Configuration translation process

10.2 Precautions
1. The source configuration file must be a file exported from the switch without
modification.
2. The eDesk supports the configuration file formats of txt, cfg, and log, and UTF-8
encoding format is recommended.
3. The eDesk supports configuration translation and fast translation. The result of
configuration translation can be permanently stored in eDesk, and the converted
configuration file can be exported anytime. The result of fast translation is not stored in
eDesk. If you close the translation window without exporting the configuration file, the
result is lost.
The configuration translation mode is recommended.
4. When the eDesk is used to translate the configuration file of the AR that uses an earlier
version of V200R008 and the configuration file contains NAC commands (in uniform

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 81


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 10 Appendix: eDesk Configuration Translation Guide

mode) configured on an interface, ensure that NAC authentication is enabled globally


and on interfaces so that all NAC commands can be translated successfully. Otherwise,
the NAC commands in the interface view will be lost.
5. Starting from V200R008, the WLAN AC configuration changes. When the eDesk is
used to convert the configuration file of a version earlier than V200R008 and a security
profile of the WLAN AC contains multiple passwords, only the current effective
password exists after conversion and other passwords are removed. To reserve
ineffective passwords, record the passwords before conversion and manually configure
them on the device after the upgrade.
6. After the eDesk is used to convert the configuration file, you are advised to check the
converted configuration file before performing other operations.
7. In the configuration file of a version earlier than V200R008, if the Chinese SSID is
configured for the WLAN AC, ensure that the character set encoding is UTF-8. In
addition, the translated configuration file must be stored in UTF-8 format. If different
character set encoding is used, garbled characters may occur.

10.3 Downloading and Starting the eDesk


Step 1 Download and install the eDesk.
Visit
http://support.huawei.com/enterprise/toolNewInfoAction!toToolDetail?contentId=TL1000000
027.

The WLAN AC configuration translation function has been available on the eDesk since
eDesk V100R005C00SPC300.

Step 2 Log in to the eDesk client.


If this is the first time you use eDesk, configure the client according to the displayed
instruction.
If this is not the first time you use eDesk, run the eDesk to open the login page. Enter the user
name and password and click Confirm.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 82


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 10 Appendix: eDesk Configuration Translation Guide

Step 3 Open the configuration translation page.


On the main menu, click Function, click Configuration Translation.

Configure translation may require certain account rights. If there is no configuration translation in the
functional menu, there may be no account rights.

----End

10.4 (Method 1, Recommended) Configuration Translation


Step 1 Import a configuration file.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 83


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 10 Appendix: eDesk Configuration Translation Guide

On the Config Convert page, click Import.

Prepare the configuration file to be imported: Back up the configuration file on a switch before the
upgrade, and decompress the configuration file as a .cfg file.

Select the path for storing the backup configuration file, for example, D:\Desk. Select the
configuration file and click Open.

The imported file is as follows. The status is red, indicating that the file is not translated.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 84


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 10 Appendix: eDesk Configuration Translation Guide

Step 2 Translate the configuration file.


Select the configuration file and click Translate.

Set the SourceVendor (fixed as Huawei), SourceType, SourceVersion, TargetVendor (fixed


as Huawei), TargetType, and TargetVersion. Click Confirm.
Before the translation is complete, the status is blue. After the translation is complete, the
status turns to green.

If the file is large and requires many WLAN AC-related configurations, the translation process may take
more than 10 minutes.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 85


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 10 Appendix: eDesk Configuration Translation Guide

Step 3 View and export the translated configuration file.


Click Edit, and check the translation result in the Config Convert dialog box that is
displayed.
The translation result is as follows. The source configuration file is on the left, and translated
configuration file is on the right.

Close the Configuration Translation window and click Export. In the Export File dialog
box, select the path for storing the configuration file, for example, D:\eDesk, and click Save.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 86


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 10 Appendix: eDesk Configuration Translation Guide

After the file is exported, the system displays "File export successfully." Click Open to open
the directory.

Step 4 Compress the exported configuration file.


Compress the file in zip format, name it as vrpcfgnew.zip.
----End

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 87


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 10 Appendix: eDesk Configuration Translation Guide

10.5 (Method2) Fast Translation


Step 1 Import a configuration file.
On the Configuration Translation page, click Fast Translate, the Config Convert window
is displayed.

Prepare the configuration file to be imported: Back up the configuration file on a switch before the
upgrade, and decompress the configuration file as a .cfg file.

In the left pane, you can manually enter the commands to be translated or click Import to
import a configuration file.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 88


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 10 Appendix: eDesk Configuration Translation Guide

If you import a configuration file, select the path of the configuration file, for example,
D:\eDesk, and select the configuration file to be translated. Click Open to import the file.

The configuration file to be translated is on the left of Config Convert.

Step 2 Translate the configuration file.


Click the Source drop-down box and select a configuration file version (the device type must
be Huawei).

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 89


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 10 Appendix: eDesk Configuration Translation Guide

Click the Target drop-down box and select a configuration file version (the device type must
be Huawei).

Click to start translation. When the translation is complete, the translated


configuration is displayed on the right.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 90


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 10 Appendix: eDesk Configuration Translation Guide

Step 3 Export the configuration file.


On the Configuration Translation page, click Export. Select the path for storing the
configuration file, and click Save.

After the file is exported, the system displays "File export successfully." Click Open to open
the directory.

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 91


AR100, AR120, AR150, AR160, AR200, AR1200,
AR2200, AR3200, and AR3600
Upgrade Guide 10 Appendix: eDesk Configuration Translation Guide

Step 4 Compress the exported configuration file.


Compress the file in zip format, name it as vrpcfgnew.zip
----End

Issue 02 (2020-07-15) Copyright © Huawei Technologies Co., Ltd. 92

You might also like