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).
Configuring N+1 Backup

Configuring N+1 Backup

Context

N+1 backup allows multiple ACs to share one standby AC, which reduces AC purchase costs. ACs of different models can work in N+1 backup mode as long as they are running the same software version.

Pre-configuration Tasks

Before configuring N+1 backup, configure basic WLAN services on the active and standby ACs (For details, see Basic WLAN Service Configuration). The WLAN service configuration of the active and standby ACs must be consistent on the two ACs.

Procedure

The following configuration tasks can be performed in any sequence. Enabling N+1 Backup is performed after all configuration tasks are complete.

Configuring Option 43 on the DHCP Server

Context

If an AP and the ACs are located in different network segments, the AP cannot discover the ACs through broadcast after it obtains an IP address from the DHCP server. To address this problem, configure Option 43 on the DHCP server to advertise AC IP addresses to the AP.

After Option 43 is configured, the AP unicasts Discovery Request packets to the IP addresses carried in Option 43. If the IP addresses specified by Option 43 do not respond, the AP broadcasts Discovery Request packets to request IP addresses of the ACs in the local network segment. Option 43 only needs to carry addresses of the active and standby ACs for the AP and does not carry irrelevant active ACs' IP addresses, otherwise, the AP may not connect to the correct AC.

Usually, an independent device is used as a DHCP server. Perform correct configurations on the selected DHCP server. The following example uses a Huawei router as a DHCP server.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run dhcp enable

    DHCP is enabled.

    By default, DHCP is disabled.

  3. Run ip pool ip-pool-name

    The global address pool view is displayed.

  4. Run option 43 sub-option 2 ip-address ip-address &<1-8>

    The Option 43 field is set to the IP addresses of the active AC and standby AC.

Configuring AC Roles (ACs on Different Network Segments)

Context

N+1 backup uses one standby AC to back up multiple active ACs. An AP determines AC roles based on AC priorities. It selects the AC with a higher priority as the active AC and the AC with a lower priority as the standby AC. The AP sets up a connection with the AC of the specified IP address.

Since the AP and ACs are on different network segments, the AP can discover only the two ACs specified in the Option 43 field. You only need to configure a global priority for each AC, so that the AP can determine the active and standby ACs by comparing their global priorities.

Procedure

  • Configure the active AC.

    Perform the following configurations on the active AC:

    1. Run system-view

      The system view is displayed.

    2. Run wlan ac

      The WLAN view is displayed.

    3. Run ac protect protect-ac ip-address

      The standby AC's IP address is configured in the WLAN view.

      By default, no standby AC IP address is configured in the WLAN view.

    4. Run ac protect priority priority

      The global priority of the active AC is configured in the WLAN view.

      By default, the AC priority in the WLAN view is 0.

      NOTE:

      The global priority of the standby AC must be smaller than that of the active AC.

      A smaller priority value indicates a higher priority.

  • Configure the standby AC.

    Perform the following configurations on the standby AC:

    1. Run system-view

      The system view is displayed.

    2. Run wlan ac

      The WLAN view is displayed.

    3. Run ac protect priority priority

      The global priority of the standby AC is configured.

      By default, the AC priority in the WLAN view is 0.

      NOTE:

      The global priority of the standby AC must be smaller than that of the active AC.

      A smaller priority value indicates a higher priority.

    4. Run ap-system-profile name profile-name

      An AP system profile is created and the AP system profile view is displayed.

      By default, the system provides the AP system profile default.

    5. Run protect-ac ip-address ip-address

      The active AC's IP address is configured in the AP system profile view.

      By default, no standby AC's IP address is configured in the AP system profile view.

      If multiple APs have the same active AC, configure the active AC's IP address for the APs on the standby AC in the AP system profile, and bind the AP system profile to an AP group.

    6. Run quit

      Return to the WLAN view.

    7. The AP system profile is bound to an AP group.

      • Binding an AP system profile to an AP group.
        1. Run the ap-group name group-name command to enter the AP group view.
        2. Run the ap-system-profile profile-name command to bind the AP system profile to the AP group.

          By default, the AP system profile default is bound to an AP group.

      • Binding an AP system profile to an AP.
        1. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to enter the AP view.
        2. Run the ap-system-profile profile-name command to bind the AP system profile to the AP.

          By default, no AP system profile is bound to an AP.

Configuring AC Roles (ACs on the Same Network Segment)

Context

N+1 backup uses one standby AC to back up multiple active ACs. An AP determines AC roles based on AC priorities. It selects the AC with a higher priority as the active AC and the AC with a lower priority as the standby AC. The AP sets up a connection with the AC of the specified IP address.

ACs are on the same network segment as the AP. Therefore, the AP can discover all ACs. The AP may discover more than two ACs. If you only configure a global priority for each AC, the AP selects the AC with the highest global priority as the active AC, and may select an incorrect active AC. To ensure that the AP connects to the predefined active AC or standby AC, configure both the global priority and individual priority on the active AC, and configure only the global priority on the standby AC. Ensure that the ACs' priorities meet the following requirements: active AC's individual priority > standby AC's global priority > active AC's global priority.

If a global priority and an individual priority are both configured for an AP on the AC, the AC preferentially delivers the individual priority to the AP.

Procedure

  • Configure the active AC.

    Perform the following configurations on the active AC:

    1. Run system-view

      The system view is displayed.

    2. Run wlan ac

      The WLAN view is displayed.

    3. Run ac protect protect-ac ip-address

      The standby AC's IP address is configured in the WLAN view.

      By default, no standby AC IP address is configured in the WLAN view.

    4. Run ac protect priority priority

      The global priority of the active AC is configured in the WLAN view.

      By default, the AC priority in the WLAN view is 0.

      NOTE:

      Ensure that the ACs' priorities meet the following requirements: active AC's individual priority > standby AC's global priority > active AC's global priority.

      A smaller priority value indicates a higher priority.

    5. Run ap-system-profile name profile-name

      An AP system profile is created and the AP system profile view is displayed.

      By default, the system provides the AP system profile default.

    6. Run priority priority-level

      The individual priority of the AC is configured in the AP system profile.

      By default, no AC priority is configured in the AP system profile view.

      NOTE:

      Ensure that the ACs' priorities meet the following requirements: active AC's individual priority > standby AC's global priority > active AC's global priority.

      After you configure the AC's individual priority in the AP system profile, bind the AP system profile to an AP group.

    7. Run quit

      Return to the WLAN view.

    8. The AP system profile is bound to an AP group.

      • Binding an AP system profile to an AP group.
        1. Run the ap-group name group-name command to enter the AP group view.
        2. Run the ap-system-profile profile-name command to bind the AP system profile to the AP group.

          By default, the AP system profile default is bound to an AP group.

      • Binding an AP system profile to an AP.
        1. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to enter the AP view.
        2. Run the ap-system-profile profile-name command to bind the AP system profile to the AP.

          By default, no AP system profile is bound to an AP.

  • Configure the standby AC.

    Perform the following configurations on the standby AC:

    1. Run system-view

      The system view is displayed.

    2. Run wlan ac

      The WLAN view is displayed.

    3. Run ac protect priority priority

      The global priority of the standby AC is configured.

      By default, the AC priority in the WLAN view is 0.

      NOTE:

      Ensure that the ACs' priorities meet the following requirements: active AC's individual priority > standby AC's global priority > active AC's global priority.

    4. Run ap-system-profile name profile-name

      An AP system profile is created and the AP system profile view is displayed.

      By default, the system provides the AP system profile default.

    5. Run protect-ac ip-address ip-address

      The active AC's IP address is configured in the AP system profile view.

      By default, no standby AC's IP address is configured in the AP system profile view.

      If multiple APs have the same active AC, configure the active AC's IP address for the APs on the standby AC in the AP system profile, and bind the AP system profile to an AP group.

    6. Run quit

      Return to the WLAN view.

    7. The AP system profile is bound to an AP group.

      • Binding an AP system profile to an AP group.
        1. Run the ap-group name group-name command to enter the AP group view.
        2. Run the ap-system-profile profile-name command to bind the AP system profile to the AP group.

          By default, the AP system profile default is bound to an AP group.

      • Binding an AP system profile to an AP.
        1. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to enter the AP view.
        2. Run the ap-system-profile profile-name command to bind the AP system profile to the AP.

          By default, no AP system profile is bound to an AP.

Configuring Revertive Switchover

Context

After an active/standby AC switchover, the standby AC replaces the active AC and sets up a CAPWAP link with the AP to provide services. The AP periodically sends Primary Discovery Request packets to detect active AC status. If revertive switchover is enabled on the standby AC, the AP triggers a revertive switchover when it detects that the active AC recovers. The AP disconnects from the current AC and sets up a new CAPWAP link with the active AC. Resources on the standby AC are released and the standby AC then continues to provide backup services.

Revertive switchover needs to be enabled only on the standby AC.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan ac

    The WLAN view is displayed.

  3. Run undo ac protect restore disable

    Revertive switchover is enabled.

    By default, global revertive switching is enabled.

    NOTE:
    If revertive switchover is disabled on the standby AC, traffic of an AP cannot be switched back to the original active AC even when the link between the original active AC and the AP restores.

(Optional) Configuring CAPWAP Heartbeat Detection

Context

As defined by CAPWAP, an AP and AC periodically exchange packets to maintain connectivity of the data channel and management channel. If the AP or AC does not receive any response from each other after CAPWAP heartbeat packets are sent for the specified number of times, the AP and AC consider the link between them disconnected.

Perform the following configurations on the active and standby ACs:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run capwap echo { interval interval-value | times times-value } *

    The CAPWAP heartbeat detection interval and number of heartbeat packet transmissions are configured.

    By default, the CAPWAP heartbeat detection interval is 25s and the number of CAPWAP heartbeat detections is 6.

    By default, if dual-link backup is enabled, the CAPWAP heartbeat detection interval is 25s and the number of CAPWAP heartbeat detections is 3.

    NOTE:

    If you set the CAPWAP heartbeat detection interval and the number of CAPWAP heartbeat detections smaller than the default values, the CAPWAP link reliability is degraded. Exercise caution when you set the values. The default values are recommended. If an AP goes offline unexpectedly, you can set a larger CAPWAP heartbeat detection interval and a larger number of CAPWAP heartbeat detections.

Enabling N+1 Backup

Context

After all N+1 backup configurations are complete, enable N+1 backup and then restart all APs to make the function take effect.

N+1 backup needs to be enabled on all ACs.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan ac

    The WLAN view is displayed.

  3. Run undo ac protect enable

    N+1 backup is enabled.

    By default, N+1 backup is enabled.

  4. (Optional) Run ap-reset { all | ap-name ap-name | ap-mac ap-mac | ap-id ap-id | ap-group ap-group | ap-type { type type-name | type-id type-id } }

    All APs are restarted to make the N+1 backup function take effect.

    NOTE:

    If N+1 backup is enabled, running the undo ac protect enable command does not restart online APs. You need to run the ap-reset { all | ap-name ap-name | ap-mac ap-mac | ap-id ap-id | ap-group ap-group | ap-type { type type-name | type-id type-id } } command to restart the APs and make the N+1 backup function take effect. You can also manually restart the APs to make the N+1 backup function take effect.

    If the N+1 backup function is disabled, running the undo ac protect enable command restarts online APs. After the APs are restarted, the N+1 backup function starts to take effect.

    If an AP goes online after N+1 backup is enabled, you do not need to restart the AP.

Verifying the N+1 Backup Configuration

Procedure

  • Run the display ac protect command to check the N+1 backup status, AC revertive switchover status, the AC's global priority, and the standby AC's IP address.
  • Run the display ap-system-profile { all | name profile-name } command to check the AC's individual priority for a specific AP and the standby AC's IP address.
Translation
Download
Updated: 2019-08-07

Document ID: EDOC1100033726

Views: 38527

Downloads: 229

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