Configuring VXLANs

Configuration Steps

  1. Configure underlay vRouter interfaces:

  1. Add vRouter and add vRouter interfaces for each VTEP.

CLI (network-admin@switch) > vrouter-create name <vr-name> vnet <vnet-name> router-type hardware  hw-vrrp-id <id>

CLI (network-admin@switch) > vrouter-interface-add vrouter-name <vr-name> ip <network/netmask> vlan <y> if data mtu <mtu>

  1. VIP configuration is needed for redundant VTEPs.

CLI (network-admin@switch) > vrouter-interface-add vrouter-name <vr-name> ip <network/netmask> vlan <y> if data vrrp-id <id> vrrp-primary <ethz.y> mtu <mtu>

  1. Optionally, add ports to vxlan-loopback-trunk:

CLI (network-admin@switch) > trunk-modify name vxlan-loopback-trunk ports <list of ports>

  1. Configure tunnels:

On non-redundant switches, the tunnel is created with scope local and on redundant switch, tunnel is created using scope cluster.

CLI (network-admin@switch) > tunnel-create name <tunnel-name> local-ip <ip1> remote-ip <ip2> scope local vrouter-name <vr-name>

CLI (network-admin@switch) > tunnel-create name <tunnel-name> local-ip <ip1> remote-ip <ip2> scope cluster vrouter-name <vr-name> peer-vrouter-name <peer-vr-name>

  1. Configure overlay:

Create mapping between VXLAN VNID and VLANs on respective switches.

CLI (network-admin@switch) > vlan-create id <vlan-id> scope <scope> vxlan <vnid>


5. Add VNIDs to tunnels:

This mapping allows configured VLAN VNIDs to be carried over VXLAN tunnel.

CLI (network-admin@switch) > tunnel-vxlan-add name <tunnel-name> vxlan <vnid>

In order to carry Layer 2 broadcast, unicast, and multicast (BUM) traffic over VXLAN tunnels on Netvisor One switches, you must configure one physical port to recirculate the packet and do head-end replication.

Based on the hardware architecture of the switch, it is likely to be a front panel port for this usage.

Depending on the amount of BUM traffic, you can use either a 10G port or a 40G port.

For monitoring VXLAN specific states and statistics, use the following commands:


displays the VXLAN ID associated with the VLAN ID.


displays the configured tunnel and the state.


displays the port used for BUM traffic recirculation.


displays statistics for each port.


displays statistics for each tunnel.


displays statistics for each VXLAN ID.