Configuring a VXLAN-DCI tunnel
You must specify the tunnel source and destination IP addresses when you manually set up a VXLAN-DCI tunnel between EDs. As a best practice, do not configure the same tunnel source and destination addresses for different VXLAN-DCI tunnels on an ED.
This task provides basic VXLAN-DCI tunnel configuration. For more information about tunnel configuration and commands, see Layer 3—IP Services Configuration Guide and Layer 3—IP Services Command Reference.
To configure a VXLAN-DCI tunnel:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a VXLAN-DCI tunnel interface and enter tunnel interface view. | interface tunnel tunnel-number mode vxlan-dci | By default, no tunnel interfaces exist. The endpoints of a tunnel must use the same tunnel mode. |
3. Specify a source IP address or source interface for the tunnel. | source { ipv4-address | interface-type interface-number } | By default, no source IP address or source interface is specified for a tunnel. This step specifies the source IP address in the outer IP header of tunneled VXLAN packets. If an interface is specified, its primary IP address is used. |
4. Specify a destination IP address for the tunnel. | destination ipv4-address | By default, no destination IP address is specified for a tunnel. Specify the remote ED's IP address. This IP address will be the destination IP address in the outer IP header of tunneled VXLAN packets. |