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.


CLI-based Configuration Guide - VPN

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

This document describes VPN features on the device and provides configuration procedures and configuration examples.
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 a VXLAN Tunnel

Configuring a VXLAN Tunnel


When configuring VXLAN on a device, you need to configure related information for VXLAN tunnel establishment on an uplink interface.

A VXLAN tunnel is established based on the IP addresses of two VXLAN Tunnel Endpoints (VTEPs). Therefore, you need to configure the source VTEP IP address and destination VTEP IP address on the devices on both ends of a tunnel.

Take Router1 in Figure 13-15 as an example. The following describes the configurations required for establishment of a VXLAN tunnel:

  • Source VTEP IP address: source IP address in a VXLAN packet, that is, IP address of Eth2/0/0 on Router1
  • Destination VTEP IP address: destination IP address in a VXLAN packet, that is, IP address of Eth2/0/0 on Router1
Figure 13-15  VXLAN tunnel establishment

  • You need to run the vni head-end peer-list command to configure the corresponding VTEP address even if the source VTEP matches only one destination VTEP.

  • Run the ping command to check whether a reachable route exists between two ends of the tunnel. If there is a reachable route, the tunnel can be established and packets can be normally forwarded. If the two devices have a route to each other but the route is unreachable, the tunnel can still go Up but packets cannot be forwarded.


  1. Run system-view

    The system view is displayed.

  2. Run bridge-domain bd-id

    The BD view is displayed.

  3. Run vxlan vni vni-id

    A VNI is configured for the BD.

    By default, no VNI is associated with a BD.

  4. Run quit

    Exit from the BD view and return to the system view.

  5. Run interface nve nve-number

    An NVE interface is created, and the NVE interface view is displayed.

  6. Run source ip-address

    An IP address is configured for the source VTEP.

    By default, no IP address is configured for a source VTEP.

  7. Run vni vni-id head-end peer-list ip-address &<1-10>

    An ingress replication list is configured.

    By default, no ingress replication list is configured for any VNI.

  8. Run quit

    Exit from the NVE interface view and return to the system view.

Updated: 2019-08-07

Document ID: EDOC1100033725

Views: 151158

Downloads: 367

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