Deployment Guide

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
2. Configure port interfaces as trunk members of the VLAN in Interface mode.
interface ethernet node/slot/port[:subport]
switchport mode trunk
switchport trunk allowed-vlan vlan-id
exit
The local physical ports assigned to the VLAN transmit packets over the virtual network.
NOTE:
A switch-scoped VLAN assigned to a virtual network cannot have a configured IP address and cannot
participate in L3 routing; for example:
OS10(config)# interface vlan 102
OS10(conf-if-vlan-5)# ip address 1.1.1.1/24
% Error: vlan102, IP address cannot be configured for VLAN attached to Virtual
Network.
To use a port-scoped VLAN to add VLAN-tagged member ports to a virtual network:
1. Configure interfaces as trunk members in Interface mode.
interface ethernet node/slot/port[:subport]
switchport mode trunk
exit
2. Assign a trunk member interface as a Port,VLAN ID pair to the virtual network in VIRTUAL-NETWORK mode. All traffic sent and
received for the virtual network on the interface carries the VLAN tag. Multiple tenants connected to different switch interfaces
can have the same vlan-tag VLAN ID.
virtual-network vn-id
member-interface ethernet node/slot/port[:subport] vlan-tag vlan-id
VXLAN
9