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.
- Verify that a transport zone is configured. See the NSX-T Data Center Installation Guide.
- Verify that fabric nodes are successfully connected to NSX-T Data Center management plane agent (MPA) and NSX-T Data Center 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 Data Center Installation Guide.
- Verify that transport nodes are added to the transport zone. See the NSX-T Data Center Installation Guide.
- Verify that the hypervisors are added to the NSX-T Data Center fabric and VMs are hosted on these hypervisors.
- Familiarize yourself with the logical switch topology and BUM frame replication concepts. See Logical Switches and Configuring VM Attachment and Understanding BUM Frame Replication Modes.
- Verify that your NSX Controller cluster is stable.
- From your browser, log in with admin privileges to an NSX Manager at https://nsx-manager-ip-address.
- Select Switching > Switches.
- Click Add.
- Enter a name for the logical switch and optionally a description.
- 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.
- Enter the name of an uplink teaming policy.
- Set Admin Status to either Up or Down.
- 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.
- (Optional) Specify a VLAN ID or ranges of VLAN IDs for VLAN tagging.
To support guest VLAN tagging for VMs connected to this switch, you must specify VLAN ID ranges, also called trunk VLAN ID ranges. The logical port will filter packets based on the trunk VLAN ID ranges, and a guest VM can tag its packets with its own VLAN ID based on the trunk VLAN ID ranges.
- (Optional) Click the Switching Profiles tab and select switching profiles.
- 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.