If you want the whole shebang, have a look at VMware’s documentation site. It is by no means exhaustive as there are too many examples to mention. The following is a compilation of esxcli commands in vSphere, sorted by namespace, which I tend to use on a regular basis. See the vSphere Storage publication for details. Namespace for Virtual SAN management commands. Namespace for listing virtual machines and shutting them down forcefully. System monitoring and management command. Includes core storage commands and other storage management commands. Includes commands for managing and installing image profiles and VIBs. Manage the shared system-wide swap space. Network namespace for managing virtual networking including virtual switches and VMkernel network interfaces.
#TOP COMMAND UTIME SOFTWARE#
ISCSI namespace for monitoring and managing hardware and software iSCSI. Used primarily for extracting information about the current system setup. Lists descriptions for commands that manage Emulex elxnet drivers.įCOE (Fibre Channel over Ethernet) commands For earlier ESXi releases, consult the relevant online documentation or run esxcli with no parameters to see which namespaces are available. The following table lists the available namespaces on ESXi along with a description for each (source: VMware). The esxcli command list exposes a number of namespaces against which you can run queries to retrieve information about ESXi as well as configure (it.) the entire esxcli system. To run commands in shell, log in as root or with an account having similar privileges.Īccessing ESXi shell using an SSH client or directly from console Alternatively, pressing ALT-F1 while in DCUI is one other way of accessing Shell. Once you enable it, you can use a tool like putty to access Shell via an SSH session. To enable Shell, follow the steps provided in KB 2004746. If it is not already, the first thing you need to do is enable shell on ESXi, something that is generally disabled for security reasons. With that out the way, let’s get on with the show labelled as Top 20 Essential ESXCLI Commands You Need to Know. If the command line is something you want to delve into, consider having a look at the PowerCLI Primer series. For the time being, you just need to know that esxcli commands are run from the ESXi shell. If on the other hand, the esxcli system is all new to you, this post will hopefully give you a head start. If command lines are your bread and butter, you probably already know about esxcli commands and how they are used to perform management and configuration tasks on ESXi.