Difference between revisions of "ESXi - 6.7 esxcli device"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
= device =
Device manager commands
Device manager commands


* '''add'''
* '''add'''
: Add a device to enable a software device driver.
: Add a device to enable a software device driver.
:* <code>esxcli device add '''-d IDENTIFIER [-i ADDRESS]'''</code>
:* <code>esxcli device add '''IDENTIFIER [ADDRESS]'''</code>
 
'''IDENTIFIER'''
  -d|--device-identifier=<str>
                        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]'''
  -i|--instance-address=<long>
                        Unique number to address this instance of the device, if multiple instances
                        of the same device identifier are added. Valid values are integer in the
                        range 0-31. Default is 0.


== alias ==
== alias ==
* '''list'''
: List device aliases.
:* <code>esxcli device alias list</code>
* '''get'''
* '''get'''
: Display hardware location info for a device alias.
: Display hardware location info for a device alias.
:* <code>esxcli device alias get '''-n ALIAS'''</code>
:* <code>esxcli device alias get '''ALIAS'''</code>
'''list'''
 
:: List device aliases.
'''ALIAS'''
::* <code>esxcli device alias list</code>
  -n|--alias=<str>     Alias to lookup (required)


== driver ==
== driver ==
:* '''list'''
* '''list'''
:: Show driver status for specific devices.
: Show driver status for specific devices.
::* <code>esxcli device driver list</code>
:* <code>esxcli device driver list</code>


== software ==
== software ==
:* '''add'''
* '''list'''
:: Add a device to enable a software device driver.
: List software devices.
::* <code>esxcli device software add '''-d IDENTIFIER [-i ADDRESS]'''</code>
:* <code>esxcli device software list</code>
'''list'''
* '''add'''
::: List software devices.
: Add a device to enable a software device driver.
:::* <code>esxcli device software list</code>
:* <code>esxcli device software add '''IDENTIFIER [ADDRESS]'''</code>
'''remove'''
* '''remove'''
:::: Remove a software device.
: Remove a software device.
::::* <code>esxcli device software remove '''-d IDENTIFIER [-i ADDRESS]'''</code>
:* <code>esxcli device software remove '''IDENTIFIER [ADDRESS]'''</code>
----
 
'''IDENTIFIER'''
'''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)
  -d|--device-identifier=<str>
'''ADDRESS'''
                        Device identifier from the device specification for the software device
:::: Unique number to address this instance of the device.
                        driver. Valid input is in reverse domain name format (e.g.
'''ALIAS'''
                        com.company.device). (required)
::::  Alias to lookup (required)
'''[ADDRESS]'''
  -i|--instance-address=<long>
                        Unique number to address this instance of the device, if multiple instances
                        of the same device identifier are added. Valid values are integer in the
                        range 0-31. Default is 0.

Latest revision as of 20:10, 10 February 2022

Device manager commands

  • add
Add a device to enable a software device driver.
  • esxcli device add IDENTIFIER [ADDRESS]
IDENTIFIER
 -d|--device-identifier=<str>
                       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]
 -i|--instance-address=<long>
                       Unique number to address this instance of the device, if multiple instances
                       of the same device identifier are added. Valid values are integer in the
                       range 0-31. Default is 0.

alias

  • list
List device aliases.
  • esxcli device alias list
  • get
Display hardware location info for a device alias.
  • esxcli device alias get ALIAS
ALIAS
 -n|--alias=<str>      Alias to lookup (required)

driver

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

software

  • list
List software devices.
  • esxcli device software list
  • add
Add a device to enable a software device driver.
  • esxcli device software add IDENTIFIER [ADDRESS]
  • remove
Remove a software device.
  • esxcli device software remove IDENTIFIER [ADDRESS]
IDENTIFIER
 -d|--device-identifier=<str>
                       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]
 -i|--instance-address=<long>
                       Unique number to address this instance of the device, if multiple instances
                       of the same device identifier are added. Valid values are integer in the
                       range 0-31. Default is 0.