Configuration procedure – H3C Technologies H3C S6800 Series Switches User Manual
Page 75

67
Configuration procedure
1.
Configure IP addresses and unicast routing settings:
# Assign IP addresses to interfaces, as shown in
. (Details not shown.)
# Configure OSPF on all transport network switches (Switches A through D). (Details not shown.)
2.
Configure Switch A:
# Enable L2VPN.
[SwitchA] l2vpn enable
# Establish an SSL connection to the controller, and enable the OVSDB service.
[SwitchA] ovsdb server private-key flash:/ovsclient-privkey.pem
[SwitchA] ovsdb server certificate flash:/ovsclient-cert.pem
[SwitchA] ovsdb server ca-certificate flash:/vswitchd.cacert bootstrap
[SwitchA] ovsdb server ssl 10.0.2.15 port 6632
[SwitchA] ovsdb server enable
# Enable VTEP mode.
[SwitchA] vtep enable
# Assign an IP address to Loopback 0. Specify the IP address as the global source address for
VXLAN tunnels.
[SwitchA] interface loopback 0
[SwitchA-LoopBack0] ip address 1.1.1.1 255.255.255.255
[SwitchA-LoopBack0] quit
[SwitchA] tunnel global source-address 1.1.1.1
# Specify the site-facing interface FortyGigE 1/0/1 as a VTEP access port.
[SwitchA] interface fortygige 1/0/1
[SwitchA-FortyGigE1/0/1] vtep access port
[SwitchA-FortyGigE1/0/1] quit
# Disable source MAC check on the transport-facing interface FortyGigE 1/0/2.
[SwitchA] interface fortygige 1/0/2
[SwitchA-FortyGigE1/0/2] undo mac-address static source-check enable
[SwitchA-FortyGigE1/0/2] quit
# Disable remote-MAC address learning.
[SwitchA] vxlan tunnel mac-learning disable
# Enable flood proxy on all multicast VXLAN tunnels.
[SwitchA] vxlan tunnel service node
3.
Configure Switch B:
# Enable L2VPN.
[SwitchB] l2vpn enable
# Establish an SSL connection to the controller, and enable the OVSDB service.
[SwitchB] ovsdb server private-key flash:/ovsclient-privkey.pem
[SwitchB] ovsdb server certificate flash:/ovsclient-cert.pem
[SwitchB] ovsdb server ca-certificate flash:/vswitchd.cacert bootstrap
[SwitchB] ovsdb server ssl 10.0.2.15 port 6632
[SwitchB] ovsdb server enable
# Enable VTEP mode.