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


To have a better experience, please upgrade your IE browser.


Configuration Guide - VXLAN

CloudEngine 12800 and 12800E V200R003C00

This document describes the configurations of VXLAN.
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 Centralized All-Active Gateways for the VXLAN Network

(Optional) Configuring Centralized All-Active Gateways for the VXLAN Network


On a traditional network, Virtual Router Redundancy Protocol (VRRP) is used to protect gateways. One gateway is in the active state and the others in the standby state, leading to low gateway utilization. When a gateway fails, the new active gateway needs to be reelected, and the convergence performance upon a gateway fault is low.

After you configure all-active VXLAN gateways, the multiple Layer 3 VXLAN gateways can be virtualized into one VXLAN gateway and traffic is forwarded through any gateway. The all-active VXLAN gateway function improves gateway utilization and convergence performance.

Perform the following operations on the Layer 3 VXLAN gateway.

  • On the VXLAN with centralized all-active gateways, if the uplink of spine fails, user-side traffic may fail to be forwarded and therefore are discarded. To prevent this problem, associate uplink and downlink interfaces with the Monitor Link group. When the uplink interface becomes Down, the downlink interface also becomes Down. This prevents user-side traffic from being discarded. For details about the monitor-link configuration, see Configuring the Uplink and Downlink Interfaces in a Monitor Link Group.

  • After deploying VXLAN centralized all-active gateways, you may need to reset the device after a device upgrade or patch installation. Pay attention to the following points:
    • Before the reset: On the access side, tear down the equal-cost multi-path routing (ECMP) paths between the access device and the VTEP address of the Spine device to decrease the priority of the advertised VTEP host route. This prevents the access device from forwarding traffic to the spine device. On the network side, decrease the priority of the VXLAN gateway route advertised by the device to prevent the upstream device from forwarding traffic to the device.
    • After the reset: Synchronize ARP entries and then restore the original priorities of the VTEP host route and the VXLAN gateway route, to avoid the traffic loss caused by insufficient ARP entries. For example, it takes approximately 20 minutes to synchronize 128K ARP entries.
  • After you shut down or delete the VBDIF interface on the all-active gateway, the traffic cannot be switched to another gateway. The access device forwards traffic to this device based on the ECMP route of the VTEP, but this device cannot forward traffic to another all-active gateway, causing traffic loss.

  • To prevent traffic forwarding before ARP entry synchronization when the device is reset, it is recommended that you configure the delayed route advertisement mechanism. Using OSPF as an example, run the command stub-router on-startup [ interval ] include-stub in the OSPF process related to the VTEP and VBDIF routes to configure the stub server interval for the device when the device restarts or fails (for example, 20 minutes for 128K ARP entries).


  1. Run system-view

    The system view is displayed.

  2. Configure the Layer 3 VXLAN gateway function on switches that work as all-active gateways. For details, see Configuring a VXLAN Tunnel and Configuring a Layer 3 VXLAN Gateway. The following table lists the commands.

    Procedure Command Description
    Assign a source IP address to the VTEP. source ip-address

    Ensure that the gateways have the same VTEP source IP address.

    Assign an ingress replication list for a VNI. vni vni-id head-end peer-list ip-address &<1-10>

    Ensure that the gateways have the same ingress replication for a VNI.

    Assign an IP address to each VBDIF interface. ip address ip-address { mask | mask-length } [ sub ]

    Ensure that the VBDIF interfaces of the gateways have the same IP address.

    Assign a MAC address to each VBDIF interface. mac-address mac-address

    Ensure that the VBDIF interfaces of the gateways have the same MAC address.

  3. To configure the all-active gateway function on the device, configure a DFS group to synchronize ARP entries between all-active gateways.
    1. Run dfs-group dfs-group-id

      A DFS group is created and its view is displayed.

      By default, no DFS group is created.

    2. Run source ip ip-address

      The DFS group is bound to an IPv4 address.

      By default, a DFS group is not bound to any IPv4 address.

    3. (Optional) Run udp port port-number

      The UDP port number of the DFS group is set.

      By default, the UDP port number of the DFS group is 61467.

    4. Run active-active-gateway

      An all-active gateway is created and its view is displayed.

      By default, no all-active gateway is created.

    5. Run peer ip-address [ vpn-instance vpn-instance-name ]

      The all-active gateway peer is configured.

      By default, no all-active gateway peer is configured.


      You can specify a maximum of 15 IP addresses for all-active gateway peers in the all-active gateway view of a DFS group. The IP address of an all-active gateway peer cannot be the same as the IP address of the management interface on the local gateway.

  4. Run commit

    The configuration is committed.

Updated: 2019-05-05

Document ID: EDOC1100004207

Views: 25335

Downloads: 65

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