Difference between revisions of "ESXi - 6.7 esxcli Command List"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
The '''esxcli''' command set is based in a "namespace" model. It's kinda weird & convoluted.
The '''esxcli''' command set is based in a "namespace" model. It's kinda weird & convoluted.


The good news:  This command set seems to cover nearly everything the WebUI does.  Which means that you can do these things without hunting through a GUI. (You just get to hunt through this documentation instead... :{{!}} )
= Usage =
= Usage =
  Usage: esxcli [options] {namespace}+ {cmd} [cmd options]
  Usage: esxcli [options] {namespace}+ {cmd} [cmd options]
Line 14: Line 15:
= The NameSpaces =
= The NameSpaces =


* [[ESXi - 6.7 esxcli device|device]]
* [[ESXi - 6.7 esxcli device{{!}}device]]
:: Device manager commands
::Device manager commands
 
* [[ESXi - 6.7 esxcli esxcli{{!}}esxcli]]
* [[ESXi - 6.7 esxcli esxcli|esxcli]]
::Commands that operate on the esxcli system itself allowing users to get additional information.
:: Commands that operate on the esxcli system itself allowing users to get additional information.
* [[ESXi - 6.7 esxcli fcoe{{!}}fcoe]]
 
::VMware Fibre Channel over Ethernet (FCoE) commands.
* fcoe
* [[ESXi - 6.7 esxcli graphics{{!}}graphics]]
:: VMware FCOE commands.
::VMware graphics commands.
* graphics
* [[ESXi - 6.7 esxcli hardware{{!}}hardware]]
:: VMware graphics commands.
::VMKernel hardware properties and commands for configuring hardware.
* hardware
* [[ESXi - 6.7 iscsi{{!}}iscsi]]
:: VMKernel hardware properties and commands for configuring hardware.
::VMware Internet Small Computer Systems Interface (iSCSI) commands.
* iscsi
* [[ESXi - 6.7 network{{!}}network]]
:: VMware iSCSI commands.
::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.
* network
* [[ESXi - 6.7 nvme{{!}}nvme]]
:: 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.
::VMware NVMe driver esxcli extensions
* nvme
* [[ESXi - 6.7 rdma{{!}}rdma]]
:: VMware NVMe driver esxcli extensions
::Operations that pertain to remote direct memory access (RDMA) protocol stack on an ESX host.
* rdma
* [[ESXi - 6.7 sched{{!}}sched]]
:: Operations that pertain to remote direct memory access (RDMA) protocol stack on an ESX host.
::VMKernel system properties and commands for configuring scheduling related functionality.
* sched
::(Really...  If you say so...  Don't look like that to me...)
:: VMKernel system properties and commands for configuring scheduling related functionality.
* [[ESXi - 6.7 software{{!}}software]]
* software
::Manage the ESXi software image and packages
:: Manage the ESXi software image and packages
* [[ESXi - 6.7 storage{{!}}storage]]
* storage
::VMware storage commands.
:: VMware storage commands.
* [[ESXi - 6.7 system{{!}}system]]
* system
::VMKernel system properties and commands for configuring properties of the kernel core system and related system services.
:: VMKernel system properties and commands for configuring properties of the kernel core system and related system services.
* [[ESXi - 6.7 vm{{!}}vm]]
* vm
::A small number of operations that allow a user to Control Virtual Machine operations.
:: A small number of operations that allow a user to Control Virtual Machine operations.
* [[ESXi - 6.7 vsan{{!}}vsan]]
* vsan
::VMware vSAN commands
:: VMware vSAN commands
[[Category:ESXi]]
[[Category:WIP]]

Latest revision as of 19:11, 10 February 2022

The esxcli command set is based in a "namespace" model. It's kinda weird & convoluted.

The good news:  This command set seems to cover nearly everything the WebUI does.  Which means that you can do these things without hunting through a GUI. (You just get to hunt through this documentation instead... :| )

Usage

Usage: esxcli [options] {namespace}+ {cmd} [cmd options]

Options:
  --formatter=FORMATTER
                        Override the formatter to use for a given command. Available formatter:
                        keyvalue, csv, xml
  --debug               Enable debug or internal use options
  --version             Display version information for the script
  -?, --help            Display usage information for the script

The NameSpaces

Device manager commands
Commands that operate on the esxcli system itself allowing users to get additional information.
VMware Fibre Channel over Ethernet (FCoE) commands.
VMware graphics commands.
VMKernel hardware properties and commands for configuring hardware.
VMware Internet Small Computer Systems Interface (iSCSI) commands.
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.
VMware NVMe driver esxcli extensions
Operations that pertain to remote direct memory access (RDMA) protocol stack on an ESX host.
VMKernel system properties and commands for configuring scheduling related functionality.
(Really... If you say so... Don't look like that to me...)
Manage the ESXi software image and packages
VMware storage commands.
VMKernel system properties and commands for configuring properties of the kernel core system and related system services.
A small number of operations that allow a user to Control Virtual Machine operations.
VMware vSAN commands