The vxlan vni command creates a VXLAN network identifier (VNI) and binds it to a BD.
The undo vxlan vni command unbinds a VNI from a BD.
By default, no VNI is created.
Usage Scenario
A virtual network (VN) on a VXLAN is a virtual broadcast domain. To allow a BD to function as a VXLAN network entity to transmit VXLAN traffic, run the vxlan vni command to map a VNI to a BD.
When a VXLAN network and a VPLS network intersect, to allow internetworking, run the vxlan vni split-horizon-mode command on the edge devices at the intersection of the two networks to create a VNI and bind it to a BD, and configure split horizon for packet forwarding.Precautions
Restrictions for connection between the VXLAN and EVPN MPLS are as follows: