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).
Understanding Dual-Link Backup

Understanding Dual-Link Backup

In the AC + Fit AP networking, the AC manages and controls the WLAN services of users. An AC may control hundreds of APs and tens of thousands of STAs. If the CAPWAP link between the AC and AP becomes faulty, the services of all users connected to the AC are interrupted, therefore, the AC must be highly reliable.

As shown in Figure 9-1, an active AC and a standby AC are deployed on the WLAN. The AP establishes tunnels with the two ACs (CAPWAP Tunnel Setup), and periodically exchanges CAPWAP packets with ACs to monitor link status. The active AC controls access from STAs. If the AP detects a fault on the link between AP and active AC, the AP requests the standby AC to trigger an Active/Standby Switchover. The standby AC then becomes the active AC to control access of STAs. After the original active AC is restored, the AP requests the active and standby ACs to perform Revertive Switchover. The restored AC becomes the active AC again.

Figure 9-1  Dual-link backup networking diagram

Dual-Link CAPWAP Tunnel Setup

  1. Setting up the first tunnel

    The procedure for setting up the first tunnel is the same as the procedure for setting up a CAPWAP tunnel, except that the active AC needs to be selected in the Discovery phase. Only the Discovery phase is described in this section. For description of other phases, see "CAPWAP Tunnel Establishment" in AP Online Process.

    1. After the dual-link backup function is enabled in Discovery phase, the AP sends a Discovery Request message in unicast or broadcast mode:
      • If the IP addresses of active and standby ACs have been allocated in static, DHCP, or DNS mode, the AP sends the Discovery Request message in unicast mode to request connections with the ACs.
      • If no IP addresses are allocated to ACs or there is no response to the unicast packet, the AP sends another Discovery Request message in broadcast mode to discover the ACs that can be associated with the AP.
    2. In unicast or broadcast mode, ACs working properly will return Discovery Response messages to the AP. The Discovery Response messages contain the dual-link backup flag, priorities, load, and IP addresses of the ACs.
    3. After receiving the Discovery Response message, the AP selects an active AC based on AC priorities, loads, and IP addresses and sets up a CAPWAP primary tunnel with the active AC. The AP selects the active AC in the following sequence:
      1. Compare AC priorities, and select the AC with the smaller priority value as the active AC.
      2. When the AC priorities are the same, compare the loads, that is, the number of APs and STAs. Select the AC connecting to fewer APs and STAs as the active AC. The number of allowed APs is compared ahead of the number of allowed STAs. When the numbers of allowed APs are the same on ACs, select the AC that can connect more STAs as the active AC.
        NOTE:

        The number of allowed APs is calculated using the following formula: Number of allowed APs = Maximum number of access APs - Number of online APs.

        The number of allowed STAs is calculated following the formula: Number of allowed STAs = Maximum number of access STAs - Number of online STAs.

      3. When the loads are the same, compare the ACs' IP addresses, and select the AC with the smaller IP address as the active AC.
  2. Setting up the second tunnel with the other AC

    To prevent repeated service configuration delivery, the AP starts to set up the second tunnel only after the configuration of the first tunnel is complete.

    1. The AP sends a Discovery Request message to the other AC in unicast mode.
    2. The AC returns a Discovery Response message containing the dual-link backup flag, load, and priority to the AP.
    3. The AP knows that the dual-link backup function is enabled after receiving the Discovery Response message, and saves the priority of the AC.

      NOTE:

      If the priority of this AC is higher than the priority of the other AC, the AP performs an active/standby switchover only after the tunnel is set up.

    4. The AP sends a Join Request message, notifying the AC that the configurations have been delivered. After receiving the Join Request message, the AC sets up a CAPWAP tunnel with the AP but does not deliver configurations to the AP.
    5. After the second tunnel is set up, the AP selects the active and standby ACs again based on the tunnel priorities.

Active/Standby Switchover

After setting up tunnels with the active and standby ACs, the AP sends Echo messages to monitor tunnel status. The Echo messages contain the active/standby status of the tunnels. When the AP detects that the primary tunnel has failed, it sends an Echo Request message with the active flag to the standby AC. After receiving the Echo Request message, the standby AC becomes the active AC, and the AP transfers STA data to this AC.

Revertive Switchover

The AP periodically sends Discovery Request messages to check whether the original primary tunnel recovers. If the original primary tunnel has recovered, the AP switches STA data back to this tunnel after a delay because this tunnel has a higher priority than the other one. To prevent frequent switchovers caused by network flapping, the AP requests ACs to perform revertive switchover after 20 Echo intervals, and then sends STA data to the new active AC.

Translation
Download
Updated: 2019-08-07

Document ID: EDOC1100033726

Views: 36444

Downloads: 220

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