Book Image

VMware vSphere 5.5 Cookbook

By : Abhilash G B
Book Image

VMware vSphere 5.5 Cookbook

By: Abhilash G B

Overview of this book

Table of Contents (22 chapters)
VMware vSphere 5.5 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Deleting a vSphere Standard Switch


When you choose to delete a vSwitch in a production environment, make sure that the virtual machines have been reconfigured to use a port group on another vSwitch, which would provide them with network access.

How to do it…

A vSwitch can be deleted either from the vSphere Web Client GUI or by using the esxcli command.

Using the vSphere Web Client

The following procedure explains how to delete a vSwitch by using the vSphere Web Client:

  1. Select the ESXi host from the inventory and navigate to Manage | Networking | Virtual switches.

  2. Select the vSwitch to be deleted and click on the delete (X) icon to remove the vSwitch from the ESXi host:

  3. You will be prompted for a confirmation. Click on Yes to confirm the removal:

  4. You should see the Update network configuration and Remove virtual switch tasks completed successfully in the Recent Tasks pane:

Using esxcli

The following procedure guides you through the commands required to delete a vSwitch:

  1. SSH to the ESXi host as root...