The vxlan vni command binds a VNI to a BD.
The undo vxlan vni command unbinds a VNI from a BD.
| Parameter | Description | Value |
|---|---|---|
| vni-id | Specifies the VNI of a VXLAN. A VNI is similar to a VLAN ID. Each VNI identifies a VXLAN segment. VMs in different VXLANs cannot directly communicate at Layer 2. Each VNI indicates a tenant, even if multiple terminal users belong to one VNI. A VNI consists of 24 bits. Theoretically, up to 16 M tenants are supported. Each VNI is unique in a VXLAN. |
The value is an integer ranging from 1 to 16777215. |