Logical Switches are no more different than the physical switches in the network. Similar to physical switches, It allows you to create a broadcast domain and isolate the Virtual Machines in the network. Once you create a logical switch is new distributed port group gets added on a distributed switch. The reason why we say it logical because a unique VNI (VXLAN Network Identifier) get associated to it to overlays the L2 network. Logical switching enables the extension of an L2 segment / IP subnet anywhere in the fabric independent of the physical network design. Endpoints, either virtual and physical, can connect to logical segments and establish connectivity independently from their physical location in the data center network.
The NSX Controller cluster controls logical switches and maintains information about virtual machines, ESXi hosts, logical switches, and VXLANs. All logical switches created within the transport zone inherit VMware NSX transport zone settings.
This concludes the demonstration of creating a logical switch and connecting virtual machines vNIC’s to it. Hope this will be informative for you. Please do share if you find worth sharing it. Thanks for Reading !!!.