vtep-src (EVPL instance VXLAN mode view)

Function

The vtep-src command configures an IP address for the source VXLAN tunnel end point (VTEP) of the VXLAN tunnel bound to an EVPL instance.

The undo vtep-src command restores the default configuration.

By default, the VXLAN tunnel bound to an EVPL instance uses the source IP address of the NVE interface as the IP address of the source VTEP.

Format

vtep-src ip-address

undo vtep-src ip-address

Parameters

Parameter Description Value
ip-address

Configures an IP address for the source VTEP of the VXLAN tunnel bound to an EVPL instance.

The value is in dotted decimal notation.

Views

EVPL instance VXLAN mode view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nvo3 write

Usage Guidelines

Usage Scenario

When configuring a VXLAN tunnel, first configure an IP address for the source VTEP. This IP address serves as the source IP address of VXLAN packets. Because a VXLAN tunnel is established between a source VTEP and a peer VTEP, a different IP address also needs to be configured for the peer VTEP. This IP address serves as the destination IP address in VXLAN packets.

During P2P VXLAN configuration, run the vtep-src command to configure an IP address for the source VTEP of the VXLAN tunnel bound to an EVPL instance.

Precautions

If the vtep-src command is not run for an EVPL instance, a VXLAN tunnel of the EVPL instance uses the NVE interface's source address as the source VTEP address. If the vtep-src command is run for an EVPL instance, a VXLAN tunnel of the EVPL instance uses the address specified in the command by preference.

Example

# Configure 10.1.1.1 as the IP address of the source VTEP of the VXLAN tunnel bound to an EVPL instance.
<HUAWEI> system-view
[~HUAWEI] evpl instance 1 vxlan-mode
[*HUAWEI-evpl-vxlan1] vtep-src 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >