Setting Up the OVSDB Protocol on Juniper Networks Devices that Support Manual Configuration of VXLANs

 

To implement the Open vSwitch Database (OVSDB) management protocol on a Juniper Networks device, you must explicitly configure a connection to at least one VMware NSX controller, using the Junos OS CLI.

All NSX controller connections are made on the management interface (fxp0 or me0) of the Juniper Networks device. This connection is secured by using the Secure Sockets Layer (SSL) protocol. The default port number over which the connection is made is 6632.

You must also specify that any interface implemented for a Virtual Extensible LAN (VXLAN) is managed by OVSDB. By performing this configuration, you are essentially disabling the Juniper Networks device from learning about other Juniper Networks devices that function as hardware virtual tunnel endpoints (VTEPs) and the MAC addresses learned by the hardware VTEPs. Instead, you are enabling OVSDB to learn about the other hardware VTEPs and the MAC addresses learned by the hardware VTEPs.

Before setting up OVSDB on a Juniper Networks device, you must do the following:

To set up OVSDB on a Juniper Networks device:

  1. Specify the IP address of the NSX controller.
    [edit protocols ovsdb]
    user@host# set controller ip-address
  2. Specify SSL as the protocol that secures the connection.
    [edit protocols ovsdb controller ip-address]
    user@host# set protocol ssl
  3. Set the number of the port over which the connection to the NSX controller is made.
    [edit protocols ovsdb controller ip-address protocol ssl]
    user@host# set port number
  4. (Optional) Specify (in milliseconds) how long the connection can be inactive before an inactivity probe is sent.
    [edit protocols ovsdb controller ip-address]
    user@host# set inactivity-probe-duration milliseconds
  5. (Optional) Specify (in milliseconds) how long the device must wait before it can try to connect to the NSX controller again if the previous attempt failed.

    [edit protocols ovsdb controller ip-address]
    user@host# set maximum-backoff-duration milliseconds
  6. (Optional) Repeat steps 1 through 5 to explicitly configure a connection to an additional NSX controller in the same cluster.
  7. Specify the interfaces that you want OVSDB to manage.
    [edit protocols ovsdb]
    user@host# set interfaces interface-name unit logical-unit-number