Connectivity Guide
Congure a VXLAN virtual network
To create a VXLAN, assign a VXLAN segment ID (VNI) to a virtual network ID (VNID) and congure a remote VTEP. A unique 2-byte VNID
identies a virtual network. You cannot assign the same VXLAN VNI to more than one virtual network. Manually congure 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. Congure 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, congure the source IP address of
a remote VTEP in VXLAN-VNI mode. You can congure up to 1024 remote VTEP addresses for a VXLAN VNI.
remote-vtep ip-address
After you congure 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 trac from and to downstream servers and hosts. All broadcast,
multicast, and unknown unicast (BUM) trac received on access interfaces replicate and are sent to all congured 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 congure
additional remote VTEPs, re-enter the remote-vtep ip-address command.
4 Return to VIRTUAL-NETWORK mode.
exit
5 Return to CONFIGURATION mode.
exit
Congure VLAN-tagged access ports
Congure 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 Congure 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 congured 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