Managing NSX logical switches

NSX logical switches are distributed switches just like vSphere distributed switches. Each logical switch is mapped to a unique Virtual eXtensible LAN (VXLAN). The VXLAN carries the virtual machine traffic over the physical network. The physical network can be a routed OSI layer three network. All the ESXi hosts in a vSphere cluster can share one or more NSX logical switches.

In the following sections, Creating NSX logical Switches , Retrieving NSX logical switches , and Removing NSX logical switches , you will learn to create, retrieve, and remove NSX logical switches using the NSX REST API.

Creating NSX logical switches

In the following screenshot of the vSphere Web Client, you can see that in order to create a ...

Get Learning PowerCLI - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.