The vni head-end peer-list command configures an ingress replication list that contains the IP addresses of those remote VTEPs for a VXLAN network identifier (VNI).
The undo vni head-end peer-list command deletes the ingress replication list of a VNI.
By default, no ingress replication list is configured for any VNI.
vni vni-id head-end peer-list ip-address &<1-10>
undo vni vni-id [ head-end peer-list ip-address &<1-10> ]
vni vni-id head-end peer-list ipv6-address &<1-10>
undo vni vni-id [ head-end peer-list ipv6-address &<1-10> ]
vni vni-id head-end peer-list protocol bgp
undo vni vni-id head-end peer-list protocol bgp
Only the S6730-S, S6730S-S, S5732-H, S5731-S, S5731S-S, S5731S-H, S5730-HI, S6730-H, S6730S-H, S5731-H, and S6720-HI support the head-end peer-list parameter configured as IPv6 address.
Parameter |
Description |
Value |
---|---|---|
vni-id |
Specifies a VNI ID. |
The value is an integer that ranges from 1 to 16777215. |
ip-address |
Specifies the IPv4 address of a remote VTEP. |
The value is in dotted decimal notation. |
ipv6-address |
Specifies the IPv6 address of a remote VTEP. |
The address is a 32-bit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
protocol bgp |
Specifies BGP for establishing Layer 2 VXLAN tunnels. |
- |
Usage Scenario
After the ingress of a VXLAN tunnel receives broadcast, unknown unicast, and multicast (BUM) packets, it replicates these packets and sends a copy to each VTEP in the ingress replication list. The ingress replication list is a collection of remote VTEP IP addresses to which the ingress of a VXLAN tunnel should send replicated BUM packets.
If a source VTEP on a VXLAN connects to multiple remote VTEPs on the same VXLAN segment, run the vni head-end peer-list command to configure an ingress replication list that contains the IP addresses of those remote VTEPs. After the source NVE receives BUM packets, the local VTEP sends a copy of the BUM packets to every VTEP in the list.
If an underlay network is an IPv6 network, run the vni head-end peer-list ipv6-address &<1-10> command to configure an ingress replication list that contains IPv6 addresses of remote VTEPs, which is used to forward BUM traffic.
To use BGP to dynamically establish Layer 2 VXLAN tunnels, run the vni vni-id head-end peer-list protocol bgp command.
Precautions
You need to run the vni head-end peer-list command to configure the corresponding VTEP address even if the source VTEP matches only one destination VTEP.
Run the ping command to check whether a reachable route exists between two ends of the tunnel. If there is a reachable route, the tunnel can be established and packets can be normally forwarded. If the two devices have a route to each other but the route is unreachable, the tunnel can still go Up but packets cannot be forwarded.