Configure VXLAN interface
VXLAN encapsulates OSI Layer-2 Ethernet frames within Layer-3 IP packets using the standard destination Port 4789. VXLAN endpoints, known as VXLAN tunnel endpoints (VTEPs), terminate VXLAN tunnels which can be virtual or physical switch ports.
To add a VXLAN interface from GUI:
- Go to Networking>VXLAN.
- Click Create VXLAN.
- Configure the name, VNI, remote IP, local IP, and dstport.
- Click Save.
|
|
|
To configure VXLAN from the CLI:
config system vxlan
edit <vxlan>
set vni <vni>
set remote-ip <remote ip>
set local-ip <local ip>
set dstport 4789
next
end
Upon execution of the above commands, the following configuration will be automatically generated:
edit vxlan1
set type vxlan
set status down
set mode static
end
You can change the IP, allowaccess, mode, and some other configurations based on this VXLAN interface.