We learned how to create a port group in the Using esxcli section of the recipe Creating a vSphere Standard Switch. In this recipe, we will learn how to delete an existing port group.
A port group can be deleted by using either the vSphere Web Client GUI or the esxcli
command. We will cover both methods.
The following procedure explains how to delete a port group by using the vSphere Web Client:
Select the ESXi host from the inventory, navigate to Manage | Networking | Virtual switches, and select the vSwitch you would like to delete the port group from.
With the vSwitch selected, identify the port group from the switch diagram, click on the name of the port group, and click on the red delete (X) icon to remove the port group as explained in the following screenshot:
You will be prompted for confirmation. Click on Yes to proceed with...