H3C Technologies H3C S6800 Series Switches User Manual
Page 76

68
[SwitchB] vtep enable
# Assign an IP address to Loopback 0. Specify the IP address as the global source address for
VXLAN tunnels.
[SwitchB] interface loopback0
[SwitchB-LoopBack0] ip address 2.2.2.2 255.255.255.255
[SwitchB-LoopBack0] quit
[SwitchB] tunnel global source-address 2.2.2.2
# Specify the site-facing interface FortyGigE 1/0/1 as a VTEP access port.
[SwitchB] interface fortygige 1/0/1
[SwitchB-FortyGigE1/0/1] vtep access port
[SwitchB-FortyGigE1/0/1] quit
# Disable source MAC check on the transport-facing interface FortyGigE 1/0/2.
[SwitchB] interface fortygige 1/0/2
[SwitchB-FortyGigE1/0/2] undo mac-address static source-check enable
[SwitchB-FortyGigE1/0/2] quit
# Disable remote-MAC address learning.
[SwitchB] vxlan tunnel mac-learning disable
# Enable flood proxy on all multicast VXLAN tunnels.
[SwitchB] vxlan tunnel service node
4.
Configure Switch C:
# Enable L2VPN.
[SwitchC] l2vpn enable
# Establish an SSL connection to the controller, and enable the OVSDB service.
[SwitchC] ovsdb server ssl 10.0.2.15 port 6632
[SwitchC] ovsdb server private-key flash:/ovsclient-privkey.pem
[SwitchC] ovsdb server certificate flash:/ovsclient-cert.pem
[SwitchC] ovsdb server ca-certificate flash:/vswitchd.cacert bootstrap
[SwitchC] ovsdb server enable
# Enable VTEP mode.
[SwitchC] vtep enable
# Assign an IP address to Loopback 0. Specify the IP address as the global source address for
VXLAN tunnels.
[SwitchC] interface loopback0
[SwitchC-LoopBack0] ip address 3.3.3.3 255.255.255.255
[SwitchC-LoopBack0] quit
[SwitchC] tunnel global source-address 3.3.3.3
# Specify the site-facing interface FortyGigE 1/0/1 as a VTEP access port.
[SwitchC] interface fortygige 1/0/1
[SwitchC-FortyGigE1/0/1] vtep access port
[SwitchC-FortyGigE1/0/1] quit
# Disable source MAC check on the transport-facing interface FortyGigE 1/0/2.
[SwitchC] interface fortygige 1/0/2
[SwitchC-FortyGigE1/0/2] undo mac-address static source-check enable
[SwitchC-FortyGigE1/0/2] quit
# Disable remote-MAC address learning.