The vni head-end peer-list command sets an ingress replication list for a VNI.
The undo vni head-end peer-list command deletes the ingress replication list of a VNI.
vni vni-id head-end peer-list { ip-address } &<1–10>
undo vni vni-id [ head-end peer-list { ip-address } &<1–10> ]
| Parameter | Description | Value |
|---|---|---|
| vni 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 specified VNI must already exist. |
| head-end | Indicates the ingress replication mode. | - |
| peer-list ip-address | Specifies the IP address of the peer VTEP. | The value is in dotted decimal notation. |
When a non-multicast ingress replication mode is used, the device processes broadcast, unknown-unicast, and multicast packets based on the ingress replication list of the peer VTEPs of multiple VXLANs.
The IP address of the remote VTEP cannot be in the same network segment as the IP address of the BDIF. Otherwise, the VXLAN tunnel cannot be established.
# In the NVE view, configure an ingress replication list for a VNI.
<sysname> system-view [sysname] interface Nve 1 [sysname-Nve1] vni 5000 head-end peer-list 1.1.1.100 1.1.1.101
# Delete the ingress replication list with a specified IP address.
<sysname> system-view [sysname] interface Nve 1 [sysname-Nve1] undo vni 5000 head-end peer-list 1.1.1.101
# Delete all ingress replication lists of a VNI.
<sysname> system-view [sysname] interface Nve 1 [sysname-Nve1] undo vni 5000