Connectivity Guide

Congure a VXLAN virtual network
To create a VXLAN, assign a VXLAN segment ID (VNI) to a virtual network ID (VNID) and congure a remote VTEP. A unique 2-byte VNID
identies a virtual network. You cannot assign the same VXLAN VNI to more than one virtual network. Manually congure 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. Congure 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, congure the source IP address of
a remote VTEP in VXLAN-VNI mode. You can congure up to 1024 remote VTEP addresses for a VXLAN VNI.
remote-vtep ip-address
After you congure 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 trac from and to downstream servers and hosts. All broadcast,
multicast, and unknown unicast (BUM) trac received on access interfaces replicate and are sent to all congured 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 ood to all remote VTEPs. To congure
additional remote VTEPs, re-enter the remote-vtep ip-address command.
4 Return to VIRTUAL-NETWORK mode.
exit
5 Return to CONFIGURATION mode.
exit
Congure VLAN-tagged access ports
Congure 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:
a Assign a VLAN to the virtual network in VLAN Interface mode.
interface vlan vlan-id
virtual-network vn-id
b Congure 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 congured 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:
682
VXLAN