Verifying the configuration – H3C Technologies H3C S6800 Series Switches User Manual

Page 73

Advertising
background image

65

<SwitchC> system-view

[SwitchC] l2vpn enable

# Establish an active SSL connection to the controller, and enable the OVSDB service.

[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 ssl 10.0.2.15 port 6632

[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

5.

Configure VXLAN settings on the controller. (Details not shown.)

Verifying the configuration

1.

Verify the VXLAN settings on the VTEPs. This example uses Switch A.
# Verify that the VXLAN tunnel interfaces on the VTEP are up.

[SwitchA] display interface tunnel 1

Tunnel1

Current state: UP

Line protocol state: UP

Description: Tunnel1 Interface

Bandwidth: 64kbps

Maximum Transmit Unit: 1464

Internet protocol processing: disabled

Last clearing of counters: Never

Tunnel source 1.1.1.1, destination 2.2.2.2

Tunnel protocol/transport UDP_VXLAN/IP

# Verify that the VXLAN tunnels have been assigned to the VXLAN.

[SwitchA] display l2vpn vsi verbose

VSI Name: evpn2014

VSI Index : 0

VSI State : Up

MTU : 1500

Bandwidth : -

Broadcast Restrain : -

Multicast Restrain : -

Unknown Unicast Restrain: -

MAC Learning : Enabled

Advertising