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).
Packet Encapsulation Format

Packet Encapsulation Format

During VXLAN encapsulation, a VXLAN header, UDP header, IP header, and Ethernet header are added in sequence to an original packet.

Figure 13-3 shows the packet encapsulation format.

Figure 13-3  VXLAN packet format

Table 13-2 describes headers added to an original packet during VXLAN encapsulation.

Table 13-2  Description of headers added to an original packet



VXLAN header

  • VXLAN Flags: specifies flags (8 bits). The value is 00001000.
  • VNI: specifies an identifier (24 bits) used to identify a VXLAN segment, with up to 16M tenants. Users in different VXLAN segments cannot directly communicate at Layer 2.
  • Reserved: The two reserved fields (24 and 8 bits respectively) are set to 0.

Outer UDP header

  • DestPort: specifies the destination UDP port number. The value is 4789.
  • Source Port: specifies the source port number. It is the hash value calculated using parameters in the inner Ethernet frame header.

Outer IP header

  • IP SA: specifies the source IP address, which is the IP address of the source VTEP.
  • IP DA: specifies the destination IP address, which is the IP address of the destination VTEP.

Outer Ethernet header

  • MAC DA: specifies the destination MAC address, which is the MAC address of the next-hop device on the route to the destination VTEP.
  • MAC SA: specifies the source MAC address, which is the MAC address of the source VTEP that sends the packet.
  • 802.1Q Tag (optional): specifies the VLAN tag in the packet.
  • Ethernet Type: specifies the type of the Ethernet frame. The value of this field is 0x0800 when an IP packet is transmitted.
Updated: 2019-08-07

Document ID: EDOC1100033725

Views: 150753

Downloads: 365

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