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 - WLAN-AC

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the concepts, configuration procedures, and configuration examples of WLAN-AC features.
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 APs Go Online

(Optional) Configuring Automatic Upgrade When APs Go Online

Context

APs can be upgraded on an AC in the following two modes:
  • Automatic upgrade: used when APs are not online on an AC yet. Usually, automatic upgrade parameters are configured prior to AP access. When going online, APs upgrade automatically.

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

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

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

Table 4-5 lists the automatic upgrade modes supported by APs.

Table 4-5  AP automatic upgrade modes

Upgrade Mode

Function

Scenario

FTP mode

An AP 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 AP 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.

Prerequisites

The AP 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 ac

    The WLAN view is displayed.

  3. Run the following commands as required.

    • FTP mode

      1. Run ap update mode ftp-mode

        The AP upgrade mode is set to FTP mode.

        By default, the AP upgrade mode is FTP 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 APs. If the AC functions as the FTP server, a maximum of five APs 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 AC 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 APs to be upgraded simultaneously is configured.

        NOTE:

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

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

          When the AC functions as the FTP server, run the ap update ftp-server max-connect-number max-connect-number command to set the maximum number of APs 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 APs can be upgraded at a time until all APs are upgraded. If the configured number of APs to be upgraded simultaneously is larger than 5, an error message will be displayed after the first 5 APs are upgraded. The remaining APs cannot be automatically upgraded. You have to repeat the command until all APs are upgraded.

    • SFTP mode

      1. Run ap update mode sftp-mode

        The AP upgrade mode is set to SFTP mode.

        By default, the AP upgrade mode is FTP 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 APs. If the AC functions as the sftp server, a maximum of five APs can be upgraded simultaneously.

        APs do not support the following characters:". Ensure that the sftp server user name and unencrypted password configured on the AC 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 APs to be upgraded simultaneously is configured.

        NOTE:

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

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

          When the AC functions as the SFTP server, run the ap update sftp-server max-connect-number max-connect-number command to set the maximum number of APs 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 APs can be upgraded at a time until all APs are upgraded.

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

  4. Run ap update update-filename filename ap-type type-id [ ap-group ap-group-name ]

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

Verifying the Configuration

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

Document ID: EDOC1100033726

Views: 38766

Downloads: 229

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