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

From Da Nerd Mage Wiki
Jump to navigation Jump to search
Line 13: Line 13:


= The NameSpaces =
= The NameSpaces =
== device ==
Device manager commands
---
[[ESXi - 6.7 esxcli device|device]]
---


* '''add'''
* [[ESXi - 6.7 esxcli device|device]]
: Add a device to enable a software device driver.
:: Device manager commands
:* <code>esxcli device add '''-d IDENTIFIER [-i ADDRESS]'''</code>
=== alias ===
* '''get'''
: Display hardware location info for a device alias.
:* <code>esxcli device alias get '''-n ALIAS'''</code>
* '''list'''
: List device aliases.
:* <code>esxcli device alias list</code>
=== driver ===
* '''list'''
: Show driver status for specific devices.
:* <code>esxcli device driver list</code>
=== software ===
* '''add'''
: Add a device to enable a software device driver.
:* <code>esxcli device software add '''-d IDENTIFIER [-i ADDRESS]'''</code>
* '''list'''
: List software devices.
:* <code>esxcli device software list</code>
* '''remove'''
: Remove a software device.
:* <code>esxcli device software remove '''-d IDENTIFIER [-i ADDRESS]'''</code>


'''IDENTIFIER'''
* [[ESXi - 6.7 esxcli esxcli|esxcli]]
: 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)
:: Commands that operate on the esxcli system itself allowing users to get additional information.
'''ADDRESS'''
: Unique number to address this instance of the device.
'''ALIAS'''
:  Alias to lookup (required)


== esxcli ==
* fcoe
Commands that operate on the esxcli system itself allowing users to get additional information.
:: VMware FCOE commands.
* esxcli
* graphics
** command '''list'''
:: VMware graphics commands.
**: List all of the esxcli commands.
* hardware
:**: <code>esxcli esxcli command list</code>
:: VMKernel hardware properties and commands for configuring hardware.
 
* iscsi
== fcoe ==
:: VMware iSCSI commands.
VMware FCOE commands.
* network
== graphics ==
:: 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 graphics commands.
* nvme
== hardware ==
:: VMware NVMe driver esxcli extensions
VMKernel hardware properties and commands for configuring hardware.
* rdma
== iscsi ==
:: Operations that pertain to remote direct memory access (RDMA) protocol stack on an ESX host.
VMware iSCSI commands.
* sched
== network ==
:: VMKernel system properties and commands for configuring scheduling related functionality.
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.
* software
== nvme ==
:: Manage the ESXi software image and packages
VMware NVMe driver esxcli extensions
* storage
== rdma ==
:: VMware storage commands.
Operations that pertain to remote direct memory access (RDMA) protocol stack on an ESX host.
* system
== sched ==
:: VMKernel system properties and commands for configuring properties of the kernel core system and related system services.
VMKernel system properties and commands for configuring scheduling related functionality.
* vm
== software ==
:: A small number of operations that allow a user to Control Virtual Machine operations.
Manage the ESXi software image and packages
* vsan
== storage ==
:: VMware vSAN commands
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

Revision as of 21:04, 8 February 2022

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