beautypg.com

Vxlan configuration examples, Unicast-mode vxlan configuration example, Network requirements – H3C Technologies H3C S6800 Series Switches User Manual

Page 28: Configuration procedure

background image

20

VXLAN configuration examples

Unicast-mode VXLAN configuration example

Network requirements

As shown in

Figure 9

:

Configure VXLAN 10 as a unicast-mode VXLAN on Switch A, Switch B, and Switch C to provide
Layer 2 connectivity for the VMs across the network sites.

Manually establish VXLAN tunnels and assign the tunnels to VXLAN 10.

Enable remote-MAC address learning.

Figure 9 Network diagram

Configuration procedure

1.

Configure IP addresses and unicast routing settings:
# Assign IP addresses to interfaces, as shown in

Figure 9

. (Details not shown.)

# Configure OSPF on all transport network switches (Switches A through D). (Details not shown.)

2.

Configure Switch A:
# Enable L2VPN.

system-view

[SwitchA] l2vpn enable

# Create the VSI vpna and VXLAN 10.

[SwitchA] vsi vpna

[SwitchA-vsi-vpna] vxlan 10

[SwitchA-vsi-vpna-vxlan10] quit

[SwitchA-vsi-vpna] quit

# Assign an IP address to Loopback 0. The IP address will be used as the source IP address of the

VXLAN tunnels to Switch B and Switch C.

[SwitchA] interface loopback0

[SwitchA-Loopback0] ip address 1.1.1.1 255.255.255.255

[SwitchA-Loopback0] quit