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 - VPN

AR650, AR1600, and AR6100 V300R003

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

Context

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 7-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 7-15  VXLAN tunnel establishment

NOTE:
  • 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.

Procedure

  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 IP address is configured for the destination VTEP with a specified VNI.

    By default, no IP address is configured for the destination VTEP with a specified VNI.

  8. Run quit

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

Download
Updated: 2019-04-12

Document ID: EDOC1100041799

Views: 31761

Downloads: 45

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