API Guide

3. Return to CONFIGURATION mode.
exit
4. Enter NVE mode from CONFIGURATION mode. NVE mode allows you to configure the VXLAN tunnel endpoint on the switch.
nve
5. Configure the Loopback interface as the source tunnel endpoint for all virtual networks on the switch in NVE mode.
source-interface loopback number
6. Return to CONFIGURATION mode.
exit
Configure a VXLAN virtual network
To create a VXLAN, assign a VXLAN segment ID (VNI) to a virtual network ID (VNID) and configure a remote VTEP. A unique 2-byte
VNID identifies a virtual network. You cannot assign the same VXLAN VNI to more than one virtual network. Manually configure VXLAN
tunnel endpoints in a static VXLAN or use BGP EVPN to automatically discover the VXLAN tunnel endpoints.
1. Create a virtual-network bridge domain in CONFIGURATION mode. Valid VNID numbers are from 1 to 65535.
virtual-network vn-id
2. Assign a VXLAN VNI to the virtual network in VIRTUAL-NETWORK mode. The range is from 1 to 16,777,215. Configure the VNI for the
same tenant segment on each VTEP switch.
vxlan-vni vni
3. (Optional) If you use BGP EVPN for VXLAN, this step is not required — To set up a static VXLAN, configure the source IP address of
a remote VTEP in VXLAN-VNI mode. You can configure up to 1024 remote VTEP addresses for a VXLAN VNI.
remote-vtep ip-address
After you configure the remote VTEP, when the IP routing path to the remote VTEP IP address in the underlay IP network is known,
the virtual network sends and receives VXLAN-encapsulated traffic from and to downstream servers and hosts. All broadcast,
multicast, and unknown unicast (BUM) traffic received on access interfaces replicate and are sent to all configured remote VTEPs.
Each packet contains the VXLAN VNI in its header.
By default, MAC learning from a remote VTEP is enabled and unknown unicast packets flood to all remote VTEPs. To configure
additional remote VTEPs, re-enter the remote-vtep ip-address command.
4. Return to VIRTUAL-NETWORK mode.
exit
5. Return to CONFIGURATION mode.
exit
Configure VLAN-tagged access ports
Configure local access ports in the VXLAN overlay network using either a switch-scoped VLAN or port-scoped VLAN. Only one method is
supported. You cannot assign tagged VLAN member interfaces to a virtual network using both switch-scoped and port-scoped VLANs.
To use a switch-scoped VLAN to add VLAN-tagged member ports to a virtual network:
1. Assign a VLAN to the virtual network in VLAN Interface mode.
interface vlan vlan-id
virtual-network vn-id
VXLAN
9