< Home

source (NVE interface view)

Function

The source command configures an IP address for a source VXLAN Tunnel Endpoint (VTEP).

The undo source command deletes the IP address of the source VTEP.

By default, no IP address is configured for a source VTEP.

Format

source ip-address

undo source [ ip-address ]

source ipv6-address

undo source [ ipv6-address ]

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 parameter configured as IPv6 address.

Parameters

Parameter Description Value

ip-address

Specifies the IPv4 address of a source VTEP.

The value is in dotted decimal notation.

ipv6-address

Specifies the IPv6 address of a source VTEP.

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

Views

NVE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

VXLAN needs to be deployed on a downlink interface to provide access services and an uplink interface to establish a VXLAN tunnel.

To establish a VXLAN tunnel, configure IP addresses for the source and destination VTEPs.

To configure an IP address for a source VTEP, run this command. When access service packets reach a Network Virtualization Edge (NVE), the VTEP encapsulates the packets based on the IP addresses of source and destination VTEPs and forwards them.

Precautions

You can specify the IP address of a physical interface or a loopback interface as the IP address of the source VTEP. The address of a loopback interface is recommended.

Generally, the NVE interfaces of different devices must be configured with different VTEP addresses; otherwise, traffic forwarding errors may occur.

Follow-up Procedure

Run the vni head-end peer-list command to configure an IP address for a destination VTEP.

Example

# Set the IP address of the source VTEP to 10.1.1.2.
<HUAWEI> system-view
[HUAWEI] interface nve 1
[HUAWEI-Nve1] source 10.1.1.2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >