ESXi - 6.7 esxcli Command List

From Da Nerd Mage Wiki
Revision as of 19:53, 8 February 2022 by Tinker (talk | contribs) (→‎device)
Jump to navigation Jump to search

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

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

Device manager commands

  • add
Add a device to enable a software device driver.
  • esxcli device add -d IDENTIFIER [-i ADDRESS]

alias

  • get
Display hardware location info for a device alias.
  • esxcli device alias get -n ALIAS
  • list
List device aliases.
  • esxcli device alias list

driver

  • list
Show driver status for specific devices.
  • esxcli device driver list

software

  • add
Add a device to enable a software device driver.
  • esxcli device software add -d IDENTIFIER [-i ADDRESS]
  • list
List software devices.
  • esxcli device software list
  • remove
Remove a software device.
  • esxcli device software remove -d IDENTIFIER [-i ADDRESS]

IDENTIFIER

Device identifier from the device specification for the software device driver. Valid input is in reverse domain name format (e.g. com.company.device...). (required)

ADDRESS

Unique number to address this instance of the device.

ALIAS

Alias to lookup (required)

esxcli

Commands that operate on the esxcli system itself allowing users to get additional information.

  • esxcli
    • command list
      List all of the esxcli commands.
    • esxcli esxcli command list

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 vSAN commands