VxLAN Deployment (NVIDIA)
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
configure terminal
interface ethernet Ethernet1/1
forward-error-correction none
type tool
exit
2. Configure the VxLAN tunnel(DUT-1)
configure terminal
tunnel tunnel1
interface Ethernet1/1
source-ip 1.1.1.1
destination-ip 1.1.1.2
vni 4099
vlan-tagging disable
exit
3. configure Flow to the Tunnel (DUT-1)
flow flow1
network-ports Ethernet64/1
tool-ports tunnel1
rule 1 permit match-all counters enable
end
4. Configure Network/Tool port(s) (DUT-2)
//Analyser port - Tool port
configure terminal
interface ethernet Ethernet12/1
forward-error-correction rs
type tool
exit
//VxLAN port - Tool port
configure terminal
interface ethernet Ethernet1/1
forward-error-correction none
type tool
exit
5. Configure Tunnel at far-end(DUT-2)
configure terminal
tunnel tunnel2
interface Ethernet1/1
source-ip 1.1.1.2
destination-ip 1.1.1.1
vni 4099
vlan-tagging disable
exit
6. Configure Flow to match traffic from the Tunnel (DUT-2)
flow flow01
network-ports tunnel1
tool-ports Ethernet12/1
rule 1 permit match-all counters enable
exit
7. Verify
pbnoscli# show vxlan tunnel all
===============================================
VXLAN Tunnel - tunnel1
===============================================
Tunnel Port : Ethernet1/1
Source IP : 1.1.1.1
Destination IP : 1.1.1.2
Source MAC : 1c:34:da:23:77:00
VN-ID : 4099
Vlan Tagging : false
pbnoscli#
pbnoscli# show vxlan tunnel all
===============================================
VXLAN Tunnel - tunnel2
===============================================
Tunnel Port : Ethernet1/1
Source IP : 1.1.1.2
Destination IP : 1.1.1.1
Source MAC : 1c:34:da:24:de:00
VN-ID : 4099
Vlan Tagging : false
pbnoscli#
Last updated
Was this helpful?