The source command configures an IPv6 address for a source VXLAN tunnel endpoint (VTEP).
The undo source command deletes the IPv6 address of a source VTEP.
By default, no IPv6 address is configured for any source VTEP.
Usage Scenario
A VTEP is a VXLAN tunnel endpoint that encapsulates or decapsulates VXLAN packets. It is represented by a network virtualization edge (NVE).
To configure an IP address for a source VTEP, run the source command. In VXLAN packets, the source IP address is the source VTEP's IP address, and the destination IP address is a remote VTEP's IP address. This pair of VTEP addresses corresponds to a VXLAN tunnel. If an underlay network is an IPv6 network, run the source command to configure an IPv6 address for a source VTEP.Precautions
Either a physical interface's IPv6 address or loopback interface address can be specified for a source VTEP. Using the loopback interface address as the source VTEP's IPv6 address is recommended.
Generally, you need to configure different VTEP IPv6 addresses for the NVE interfaces of different devices; otherwise, traffic forwarding error may occur. However, in some special scenarios (for example, a multi-active VXLAN gateways scenario), you need to configure the same VTEP IPv6 address for the gateways' NVE interfaces.