In a cross-vCenter NSX deployment, you can create universal logical switches, which can span all vCenters. The transport zone type determines whether the new switch is a logical switch or a universal logical switch. When you add a logical switch to a universal transport zone, the logical switch is universal.

Before you begin

Table 1. Prerequisites for creating a logical switch or universal logical switch

Logical Switch

Universal Logical Switch

  • vSphere distributed switches must be configured.

  • NSX Manager must be installed.

  • Controllers must be deployed.

  • Host clusters must be prepared for NSX.

  • VXLAN must be configured.

  • A transport zone must be created.

  • A segment ID pool must be configured.

  • vSphere distributed switches must be configured.

  • NSX Manager must be installed.

  • Controllers must be deployed.

  • Host clusters must be prepared for NSX.

  • VXLAN must be configured.

  • A primary NSX Manager must be assigned.

  • A universal transport zone must be created.

  • A universal segment ID pool must be configured.

Procedure

  1. In the vSphere Web Client, navigate to Home > Networking & Security > Logical Switches.
  2. Select the primary NSX Manager.
  3. Click the New Logical Switch (New Logical Switch) icon.
  4. Type a name and optional description for the logical switch.
  5. In the Transport Zone section, click Change to select a Transport Zone. Select the universal transport zone to create a universal logical switch.

    By default, the logical switch inherits the control plane replication mode from the transport zone. You can change it to one of the other available modes. The available modes are unicast, hybrid, and multicast.

    The case in which you might want to override the inherited transport zone's control plane replication mode for an individual logical switch is when the logical switch you are creating has significantly different characteristics in terms of the amount of BUM traffic it will to carry. In this case, you might create a transport zone that uses as unicast mode, and use hybrid or multicast mode for the individual logical switch.

    Important:

    If you create a universal logical switch and select hybrid as the replication mode, you must ensure that the multicast address used does not conflict with any other multicast addresses assigned on any NSX Manager in the environment.

  6. (Optional) Click Enable IP Discovery to enable ARP suppression.

    This setting minimizes ARP traffic flooding within individual VXLAN segments---in other words, between VMs connected to the same logical switch. IP discovery is enabled by default.

  7. (Optional) Click Enable MAC learning if your VMs have multiple MAC addresses or are using virtual NICs that are trunking VLANs.

    Enabling MAC learning builds a VLAN/MAC pair learning table on each vNIC. This table is stored as part of the dvfilter data. During vMotion, dvfilter saves and restores the table at the new location. The switch then issues RARPs for all the VLAN/MAC entries in the table.

    This example shows the app logical switch with default settings.

Results

DB-Tier-00 is logical switch connected to a transport zone. It is available only on the NSX Manager on which it was created.

DB-Tier-01 is a universal logical switch connected to a universal transport zone. It is available on any of the NSX Managers in the cross-vCenter NSX environment.

The logical switch and the universal logical switch have segment IDs from different segment ID pools.

Logical Switch and Universal Logical Switch

What to do next

Add VMs to a universal logical switch.

Optionally, create a universal logical router and attach it to your universal logical switchesto enable connectivity between VMs that are connected to different universal logical switches.