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

Fat AP and Cloud AP V200R008C00 CLI-based Configuration Guide

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).
(Optional) Configuring Automatic Upgrade When RUs Go Online

(Optional) Configuring Automatic Upgrade When RUs Go Online

Context

RUs can be upgraded on a central AP in the following modes::
  • Automatic upgrade: used when RUs are not online on a central AP yet. Usually, automatic upgrade parameters are configured prior to RU access. When going online, RUs upgrade automatically.

    For RUs that are already online on the central AP, you can trigger RU restart after configuring the automatic upgrade parameters, and the RUs upgrade automatically during restart. Compared to the automatic upgrade, the in-service upgrade can reduce service interuption time.

  • In-service upgrade: mainly used when RUs are already online on the central AP and carry WLAN services. For details about the in-service upgrade, see Performing an In-Service Upgrade on RUs.

  • Scheduled upgrade: mainly used when RUs are already online on the central AP and carry WLAN services. A scheduled upgrade is recommended when the access traffic volume on the network is low.

In automatic upgrade mode, an RU checks whether its version is the same as that configured on the central AP, SFTP server, or FTP server during login. If the two versions are different, the RU upgrades its version, restarts, and goes online again. If the two versions are the same, the RU does not upgrade its version.

Table 16-4 lists the automatic upgrade modes supported by RUs.

Table 16-4  RU automatic upgrade modes

Upgrade Mode

Function

Scenario

AC mode

An RU downloads the upgrade file from a central AP.

This mode applies to the scenario where a small number of RUs need to go online.

FTP mode

An RU downloads the upgrade file from an FTP server.

This mode applies to the scenario where high network security is not required in file transmission. In FTP mode, data is transmitted in plain text, bringing potential security risks.

SFTP mode

An RU downloads the upgrade version file from an SFTP server.

This mode applies to the scenario demanding high network security. In SFTP mode, data is encrypted, ensuring data integrity and privacy.

NOTE:

If multiple RUs are upgraded simultaneously in AC mode, the upgrade takes a long time and many central AP resources are consumed. To reduce service interruption caused by RU upgrade, the FTP or SFTP mode is recommended.

Prerequisites

The RU version file has been uploaded to the AC, SFTP server, or FTP server.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    wlan

    The WLAN view is displayed.

  3. Run the following commands as required.

    • AC mode

      Run:
      ap update mode ac-mode

      The RU upgrade mode is set to AC mode.

      By default, the RU upgrade mode is AC mode.

    • FTP mode

      1. Run:
        ap update mode ftp-mode

        The RU upgrade mode is set to FTP mode.

        By default, the RU upgrade mode is AC mode.

      2. Run:
        ap update ftp-server ip-address server-ip-address ftp-username ftp-username ftp-password cipher ftp-password

        Basic FTP information is configured.

        By default, no FTP server IP address is configured, the FTP server user name is anonymous, the FTP server password is anonymous@huawei.com.

        It is recommended that you use an external FTP server to upgrade RUs. If the cCentral AP functions as the FTP server, a maximum of 15 RUs can be upgraded simultaneously.

        The FTP server user name cannot contain the double quotation marks ("). Ensure that the FTP server user name and unencrypted password configured on the Central AP do not contain the preceding characters. Otherwise, FTP upgrade fails.

      3. Run:

        ap update ftp-server max-connect-number max-connect-number

        The maximum number of RUs to be upgraded simultaneously is configured.

        By default, a maximum of 50 RUs can be upgraded simultaneously in FTP mode.

        An external FTP server can be used, which is recommended. The Central AP can also function as the FTP server.
        • When an external FTP server is used, the maximum number of RUs that can be upgraded simultaneously is the configured max-connect-number.
        • If a Central AP is used as the FTP server, a maximum of 15 RUs can be upgraded simultaneously even if the specified number is larger than 15.

          When the Central AP functions as the FTP server, run the ap update ftp-server max-connect-number max-connect-number command to set the maximum number of RUs that can be upgraded simultaneously. The value of max-connect-number is an integer ranging from 1 to 15. During the upgrade, a maximum of 1 to 15 RUs can be upgraded at a time until all RUs are upgraded.

          If the configured number of RUs to be upgraded simultaneously is larger than 15, an error message will be displayed after the first 15 RUs are upgraded. The remaining RUs cannot be automatically upgraded. You have to repeat the command until all RUs are upgraded.

    • SFTP mode

      1. Run:
        ap update mode sftp-mode

        The RU upgrade mode is set to SFTP mode.

        By default, the RU upgrade mode is AC mode.

      2. Run:
        ap update sftp-server ip-address server-ip-address sftp-username sftp-username sftp-password cipher sftp-password

        Basic SFTP information is configured.

        By default, no SFTP server IP address is configured, the SFTP server user name is anonymous, the SFTP server password is anonymous@huawei.com.

        It is recommended that you use an external sftp server to upgrade RUs. If the Central AP functions as the sftp server, a maximum of five RUs can be upgraded simultaneously.

        RUs do not support the following characters:". Ensure that the sftp server user name and unencrypted password configured on the Central AP do not contain the preceding characters. Otherwise, sftp upgrade fails.

      3. Run:

        ap update sftp-server max-connect-number max-connect-number

        The maximum number of RUs to be upgraded simultaneously is configured.

        By default, a maximum of 50 RUs can be upgraded simultaneously in SFTP mode.

        An external sftp server can be used, which is recommended. The Central AP can also function as the sftp server.
        • When an external sftp server is used, the maximum number of RUs that can be upgraded simultaneously is the configured max-connect-number.
        • If a Central AP is used as the SFTP server, a maximum of five RUs can be upgraded simultaneously even if the specified number is larger than five.

          When the Central AP functions as the SFTP server, run the ap update sftp-server max-connect-number max-connect-number command to set the maximum number of RUs that can be upgraded simultaneously. The value of max-connect-number is an integer ranging from 1 to 5. During the upgrade, a maximum of 1 to 5 RUs can be upgraded at a time until all RUs are upgraded.

          If max-connect-number is set larger than 5, an error message will be displayed after the first five RUs are upgraded. The remaining RUs cannot be automatically upgraded. You have to repeat the command until all RUs are upgraded.

  4. Run:

    ap update update-filename filename ap-type type-id [ ap-group ap-group-name ]

    An upgrade file is configured for RUs of a specified type.

Checking the Configuration

  • Run the display ap update configuration command to check RU upgrade configurations.
  • Run the display ap-type { all | id type-id | type ap-type } command to check the RU type.
  • Run the display ap version { all | { ap-group ap-group-name | version-name version-name } * } command to check the RU version.
Translation
Download
Updated: 2019-01-11

Document ID: EDOC1000176006

Views: 114601

Downloads: 309

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