No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - Basic Configuration

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the Basic configuration supported by the device.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Upgrading the System Through the Upgrade Server

Upgrading the System Through the Upgrade Server

Preparation

Deploy an upgrade server

Before a remote upgrade, deploy an upgrade server first.

As shown in Figure 14-8, a router functions as a STA to access a remote upgrade server through a WLAN network.

Figure 14-8  Networking diagram for remotely connecting a router to an upgrade server

Files to be loaded

Files to be loaded for the upgrade include the upgrade file of the Android OS, with the file name extension .zip. The name of the upgrade file is update.zip.

NOTE:

To download update.zip, visit http://support.huawei.com/enterprise and log in using a registered user account. If you have no user account, click Register to apply for an account first. Choose Software > Product Software > Enterprise Networking > Router > Access Router. Download the system software matching the router.

Edit the upgrade detection file

Edit the upgrade detection file on the upgrade server and set upgrade information. The format of the upgrade detection file is as follows:

<?xml version="1.0" encoding="utf-8"?>
<list>
<update>
<target>AR</target>  
<version>V200R005C30SPC100</version>    
<urlemmc>http://query.hicloud.com/appmanager/update/update.zip</urlemmc>    
</update>
</list>
Table 14-3  Description of fields in the upgrade detection file

Field

Description

<list></list>

Indicates that the upgrade detection file is in the list format.

<update></update>

Indicates that upgrade information is to be configured.

NOTE:

To remotely upgrade multiple routers, add this field in the upgrade detection file.

<target></target>

Specifies the name of the device to be upgraded. This field specifies the device to be upgraded.

<version></version>

Specifies the target version.

NOTE:

This field must be set to the same as the version in the upgrade file to be downloaded. Otherwise, the system is repeatedly upgraded.

<urlemmc></urlemmc>

Specifies the eMMC URL from which the upgrade file is downloaded.

Set the directory for storing the upgrade file

Store the upgrade file in the specified directory on the upgrade server, which must be consistent with the directory specified by the <url></url> field in the upgrade detection file. In this example, the upgrade file is stored in the /appmanager/apk directory of the root directory on the upgrade server.

Precautions

  • If the router powers off or the network is disconnected during the upgrade file download, the download process is interrupted. After the router is powered on or the network connection is recovered, the router continues to download the upgrade file but does not redownload the upgrade file. If the upgrade file after the power-off changes, the new upgrade file overrides the downloaded one.
  • Before performing an upgrade, ensure that the router has a reachable route to the upgrade server.
  • Before performing an upgrade, log in to the Android OS of the router. For the login procedure, see Logging In to and Operating the Android OS.

Process

The upgrade process is as follows:

  1. Configure the URL of the upgrade detection file.

    1. Log in to the Android OS, open AppManager, and enter the URL specified by the <url></url> field in the upgrade detection file on the top address bar.

      You need to enter the URL only once, which will always stay on the application manager. After startup, the router automatically performs the upgrade and reads the upgrade detection file periodically or immediately when accessing the WLAN network. If the current version is different from the target version, the upgrade flag is not set, and the router is not performing the download or upgrade operation, the router automatically downloads the upgrade file.

    2. (Optional) Click ADD. The router starts detecting the upgrade and download the upgrade file.
      NOTE:

      Perform this step when you want to immediately upgrade the Android OS and system software.

  2. Upgrade the system.

    Store the upgrade file to the upgrade directory and set the upgrade flag. Upon the next startup, the router performs the upgrade when detecting the upgrade flag.

Verifying the Configuration

In the upgraded Android OS, choose Settings > All Settings > SYSTEM > About AR > Android version and check the version.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034225

Views: 44836

Downloads: 100

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next