Logical switches attach to single or multiple VMs in the network. The VMs connected to a logical switch can communicate with each other using the tunnels between hypervisors.

Prerequisites

  • Verify that a transport zone is configured. See the NSX-T Installation Guide.

  • Verify that fabric nodes are successfully connected to NSX-T management plane agent (MPA) and NSX-T local control plane (LCP).

    In the GET https://<nsx-mgr>/api/v1/transport-nodes/<transport-node-id>/state API call, the state must be success. See the NSX-T Installation Guide.

  • Verify that transport nodes are added to the transport zone. See the NSX-T Installation Guide.

  • Verify that the hypervisors are added to the NSX-T fabric and VMs are hosted on these hypervisors.

  • Familiarize yourself with the logical switch topology and BUM frame replication concepts. See Creating Logical Switches and Configuring VM Attachment and Understanding BUM Frame Replication Modes.

  • Verify that your NSX Controller cluster is stable.

Procedure

  1. From your browser, log in to an NSX Manager at https://nsx-manager-ip-address.
  2. Select Switching > Switches.
  3. Click Add.
  4. Assign a name for the logical switch.
  5. Select a transport zone for the logical switch.

    VMs that are attached to logical switches that are in the same transport zone can communicate with each other.

  6. Select a replication mode for the logical switch.

    The replication mode (hierarchical two-tier or head) is required for overlay logical switches, but not for VLAN-based logical switches.

    Replication Mode

    Description

    Hierarchical two-tier

    The replicator is a host that performs replication of BUM traffic to other hosts within the same VNI.

    Each host nominates one host tunnel endpoint in every VNI to be the replicator. This is done for each VNI.

    Head

    Hosts create a copy of each BUM frame and send the copy to each tunnel endpoint it knows about for each VNI.

  7. (Optional) : Click the Switching Profiles tab and select switching profiles.
  8. Click Save.

    In the NSX Manager UI, the new logical switch is a clickable link.

What to do next

Attach VMs to your logical switch. See Connecting a VM to a Logical Switch.