< Home

Switching the Working Mode of an AP

Context

The working mode of an AP is configured on the AC and delivers to the AP. After a restart, the AP will switch the working mode accordingly.

However, an AP cannot change its working mode through scheduled upgrade.

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 AP upgrade mode is set to AC mode.

      The default upgrade mode is ac-mode.

      If the source AP version is V200R008 or earlier, the APs cannot be upgraded in AC mode.

    • FTP mode

      1. Run ap update mode ftp-mode

        The AP upgrade mode is set to FTP mode.

        The default 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 IP address, user name, or password is configured for the FTP server.

      3. Run ap update ftp-server max-connect-number max-connect-number

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

        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 five, 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.

          If there are n login VTY users, the maximum number of APs that can be upgraded simultaneously is subtracted by n - 1.

    • SFTP mode

      1. Run ap update mode sftp-mode

        The AP upgrade mode is set to SFTP mode.

        The default 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 IP address, user name, or password is configured for the SFTP server.

      3. Run ap update sftp-server max-connect-number max-connect-number

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

        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.

          If there are n login VTY users, the maximum number of APs that can be upgraded simultaneously is subtracted by n - 1.

  4. Configure upgrade.

    Run the following commands as required.

    • Perform an in-service upgrade on a single AP.
      1. Run ap update load { ap-name ap-name | ap-mac ap-mac | ap-id ap-id } update-filename update-file-name

        The specified AP is upgraded.

    • Upgrade APs of the same AP type.
      1. Run ap update update-filename filename ap-type type-id [ ap-group ap-group-name ]

        The upgrade file name for APs of a specified type is specified.

      2. Run ap update multi-load ap-type type-id [ ap-group group-name | { ap-name ap-name | ap-id ap-id } &<1-10> ]

        APs are upgraded in batches based on the AP type.

    • Upgrade APs in the specified AP group in batches.
      1. Run ap update update-filename filename ap-type type-id [ ap-group ap-group-name ]

        The upgrade file name for APs in an AP group is specified.

      2. Run ap update multi-load ap-group group-name [ { ap-name ap-name } &<1-10> | { ap-id ap-id } &<1-10> ]

        APs in the specified AP group are upgraded in batches.

  5. Run provision-ap

    The AP provisioning view is displayed.

  6. Run ap-mode { fat | cloud }

    The AP working mode is configured.

    By default, an AP works in Fit mode.

  7. Run commit { ap-name ap-name | ap-mac ap-mac-address | ap-id ap-id | ap-group ap-group-name | all }

    The configuration is committed, and the working mode of an AP or APs in an AP group is switched.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >