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.
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.
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. |
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.