VxLAN is an encapsulation protocol that provides data center connectivity using tunnelling to stretch Layer 2 connections over an underlying Layer 3 network. In Datacenters, VxLAN is used to create overlay networks that sit on top of the physical network, enabling the use of virtual networks.
It uses a VLAN-like encapsulation technique to encapsulate OSI layer 2 Ethernet frames within layer 4 UDP datagrams. VxLAN endpoints, which terminate the VxLAN tunnel, may be either virtual or physical switch ports, which are known as VxLAN tunnel endpoints (VTEPs).
The following image shows a visual representation of the VxLAN deployment:
Configuration
1. Configure Network/Tool port(s) (DUT-1)
configure terminal
interface ethernet Ethernet64/1
forward-error-correction rs
type network
exit
The Tunnel port on both sides should be a tool port
configure terminal
interface ethernet Ethernet1/1
forward-error-correction none
type tool
exit