source (NVE interface view) (IPv6)

Function

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.

Format

source ipv6-address

undo source ipv6-address

Parameters

Parameter Description Value
ipv6-address

Specifies an IPv6 address for a source VTEP.

The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

NVE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nvo3 write

Usage Guidelines

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.

Example

# Configure the IPv6 address 2001:db8:1::1 for a source VTEP.
<HUAWEI> system-view
[~HUAWEI] interface nve 1
[*HUAWEI-Nve1] source 2001:db8:1::1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >