OVSDB and VXLAN Configuration Workflows for VMware NSX Environment
The workflow that you use to configure Open vSwitch Database (OVSDB) and Virtual Extensible LAN (VXLAN) in a VMware NSX environment depends on the Juniper Networks device that you are configuring. This topic provides more information about the following workflows:
OVSDB and VXLAN Configuration Workflow for QFX Series Switches
Table 1 provides a high-level workflow of the tasks that you must perform to configure OVSDB and VXLAN on QFX Series switches. You must perform the tasks in Table 1 for each Juniper Networks switch that you plan to deploy in an OVSDB environment. In general, the successful completion of a task in this workflow depends on the successful completion of the previous task, so it is important to adhere to the task sequence provided in Table 1.
Sequence |
Task |
For More Information |
---|---|---|
1 |
Create and install a Secure Sockets Layer (SSL) key and certificate. |
|
2 |
Enter the |
– |
3 |
Explicitly configure a connection to at least one VMware NSX controller. |
Setting Up OVSDB on Juniper Networks Devices That Support the Dynamic Configuration of VXLANs. |
4 |
Specify that each physical interface associated with a VXLAN is to be managed by OVSDB. |
Setting Up OVSDB on Juniper Networks Devices That Support the Dynamic Configuration of VXLANs. |
5 |
Configure a logical switch for each OVSDB-managed VXLAN that you plan to implement. |
See the VMware documentation that accompanies NSX Manager or the NSX API. |
6 |
Note:
On QFX Series switches, when multiple logical interfaces are bound to an OVSDB-managed physical interface, keep in mind that all of the logical interfaces must be either access interfaces that handle untagged packets or trunk interfaces that handle tagged packets. An OVSDB-managed physical interface does not support a mix of access and trunk interfaces. |
For general information about configuring gateways, gateway services, and logical switch ports, see the VMware documentation that accompanies NSX Manager or the NSX API. For key NSX Manager configuration details that help you configure gateways, gateway services, and logical switch ports so they function properly with their physical counterparts, see VMware NSX Configuration for Juniper Networks Devices Functioning as Virtual Tunnel Endpoints. |
7 |
Configure the loopback interface (lo0) on the Juniper Networks switch for VXLAN by entering the following configuration mode commands:
|
– |
After you successfully complete task 6 in Table 1, the Juniper Networks switch dynamically creates a VXLAN for each logical switch that you configured in task 5. The Juniper Networks switch also dynamically creates and associates interfaces with each VXLAN. The dynamically created interface configuration is based on the gateway service and logical switch ports that you configured in task 6. For more information, see Understanding Dynamically Configured VXLANs in an OVSDB Environment.
For OVSDB-VXLAN scenarios in which Juniper Networks switches are commonly deployed, see the following topics:
OVSDB and VXLAN Configuration Workflow for MX Series Routers and EX9200 Switches
Table 2 provides a high-level workflow of the tasks that you must perform to configure OVSDB and VXLAN on MX Series routers and EX9200 switches. You must perform the tasks inTable 2 for each Juniper Networks device that you plan to deploy in an OVSDB environment. In general, the successful completion of a task in this workflow depends on the successful completion of the previous task, so it is important to adhere to the task sequence provided in Table 2.
Sequence |
Task |
For More Information |
---|---|---|
1 |
Create and install an SSL key and certificate. |
|
2 |
Explicitly configure a connection to at least one NSX controller. |
|
3 |
Specify that each physical interface associated with a VXLAN is to be managed by OVSDB. |
|
4 |
Configure a logical switch for each OVSDB-managed VXLAN that you plan to implement. |
See the VMware documentation that accompanies NSX Manager or the NSX API. |
5 |
Configure OVSDB-managed VXLANs. |
|
6 |
For each Juniper Network device on which OVSDB-managed VXLANs and interfaces will be configured, create a gateway. For each OVSDB-managed interface that you configure, create a gateway service. For each logical interface that you plan to implement for a VXLAN, configure a logical switch port. |
For general information about configuring gateways, gateway services, and logical switch ports, see the VMware documentation that accompanies NSX Manager or the NSX API. For key NSX Manager configuration details that help you configure gateways, gateway services, and logical switch ports, so that they function properly with their physical counterparts, see VMware NSX Configuration for Juniper Networks Devices Functioning as Virtual Tunnel Endpoints. |
7 |
Configure the loopback interface (lo0) on the Juniper Networks device for VXLAN by entering the following configuration mode commands:
|
– |
For OVSDB-VXLAN scenarios in which these Juniper Networks devices are commonly deployed, see the following topics: