Skip to content

ESXi 6.5 - ESXCLI Command Mindmap

esxcli-splashIn vSphere 6.5 the command line interface esxcli has a new namespaces and 93 new commands. Esxcli is a complete set of commands that you can use for troubleshooting, configuration or kickstart files. I have created and printed a mindmap to navigate through the namespaces more quickly. This post covers only basic namespaces, available on all ESXi 6.5 hosts. If you've installed additional software you might see more namespaces. I've also created mindmaps for ESXi 5ESXi 5.5 and ESXi 6.0.

ESXCLI in version 6.5 has 16 namespaces:

  • device - Device manager commands
  • elxnet - elxnet esxcli functionality
  • esxcli - Commands that operate on the esxcli system itself allowing users to get additional information.
  • fcoe - VMware FCOE commands.
  • graphics - VMware graphics commands.
  • hardware - VMKernel hardware properties and commands for configuring hardware.
  • iscsi - VMware iSCSI commands.
  • network - Operations that pertain to the maintenance of networking on an ESX host. This includes a wide variety of commands to manipulate virtual networking components (vswitch, portgroup, etc) as well as local host IP, DNS and general host networking settings.
  • nvme - VMware NVMe driver esxcli extensions
  • rdma - Operations that pertain to remote direct memory access (RDMA) protocol stack on an ESX host.
  • sched - VMKernel system properties and commands for configuring scheduling related functionality.
  • software - Manage the ESXi software image and packages
  • storage - VMware storage commands.
  • system - VMKernel system properties and commands for configuring properties of the kernel core system and related system services.
  • vm - A small number of operations that allow a user to Control Virtual Machine operations.
  • vsan- VMware Virtual SAN commands

esxcli_65

DEVICE
The device namespace decrypts hardware information from device aliases (vmnic/vmhba).
esxcli_65_device

ELXNET (New in vSphere 6.0)
Configuration and information about the Emulex OneConnect Converged Network Adapter.
esxcli_65_elxnet

ESXCLI
The esxcli namespace can be used to list all available namespaces and commands. I've used this command to get the list, export it to a CSV file to create this mindmaps.
esxcli_65_esxcli

FCOE
The fcoe namespace has Fibre Channel over Ethernet discovery and adapter listing capabilities.
esxcli_65_fcoe

GRAPHICS
The graphics adapter manages hardware-accelerated 3D graphics for virtual machines.
esxcli_65_graphics

HARDWARE
The hardware namespace can be used to gather information about the physical hardware.
esxcli_65_hardware

ISCSI
The iscsi namespace can be used to configure iscsi adapters. This can be really helpful in kickstart scripts, to configure shared storage arrays.
esxcli_65_iscsi

NETWORK
The network namespace is the most powerful namespace. You can configure local vSwitches and Distributed Virtual Switches (dvSwitch). You can also manage the local IP address and firewall configuration. This is a must have in your automated ESXi installation workflow.
esxcli_65_network

NVME (New in vSphere 6.5)
VMware NVMe driver extensions. Allows to view status information from the latest generation of flash drives.
esxcli_65_nvme

RDMA (New in vSphere 6.0)
Provides information and statistics about Remote Direct Memory Access (RDMA).
esxcli_65_rdma

SCHED
This sched namespace manages VMKernel scheduling functions.
esxcli_65_sched

SOFTWARE
The software namespace can be used to install updates and additional packages. It also allows you to set the software acceptance level to use vib packages created by the community.
esxcli_65_software

STORAGE
The storage namespace has a lot of use cases. You can configure lun masking, mount nfs shares, manage vmfs filesystems and investigate the path configuration.
esxcli_65_storage

SYSTEM
Any ESXi host related configuration tasks can be performed with the system namespace.
esxcli_65_system

VM
The vm namespace is useful during troubleshooting. It can be used to forcibly kill virtual machines that are stuck and not responding to normal stop operations.
esxcli_65_vm

VSAN
The vsan namespace manages the Virtual SAN feature, introduced with vSphere 5.5.
esxcli_65_vsan

All together
This is a complete mindmap of all esxcli commands. It's quite large, but if you print it to A4 or letter, you can still read it.
esxcli_65-all-commands

Leave a Reply

Your email address will not be published. Required fields are marked *