6.0

VMware, Inc. 23
Command-Line Management in vSphere 5 and vSphere 6 for Service Console Users
ESXCLIdoesnothaveequivalentoptionsforthe--device,--vfat,and--hba-device-listfiltering
options.
The-o|--offline-cos-devand-n|--online-cos-devoptionsareserviceconsolespecificoptionsandnot
applicabletoESXi5.x.
esxcfg-module
Theesxcfg-modulecommandsupportsmanipulationoftheVMkernelloadablemodulesanddevice
drivers.Forthefollowingesxcfg-moduleoptions,ESXCLIcommandsare
available.
esxcfg-mpath
Theesxcfg-mpathcommandsupportslistinginformationaboutFibreChanneloriSCSILUNsandchanging
apath’sstate.InvSphere5,equivalentESXCLIcommandsareavailable.
-c
-u
storage core device
list
Listallthedeviceuniqueidentifiers.Includethemapping
fromprimaryidentifiertoallsecondaryidentifiers.Thelist
canbefilteredusingthe--deviceoptiontolimittheoutput
tospecificdevice.
-m
-f
storage filesystem
list
PrintthemappingsfromaVMFSvolumetothedeviceand
partitionsusedinthat
VMFS.
Table 17. esxcfg-module Replacement Commands
esxcfg-module Option ESXCLI Command Description
--get-options <module_name>
-g <module_name>
system module parameters
list
Returnstheoptionstringconfiguredtobe
passedtothemodulewhenthemoduleis
loaded.
--set-options <options>
<module_name>
-s <options> <module_name>
system module parameters
set
Specifiestheoptionstringtobepassedtothe
modulewhenthemoduleisloaded.
-e --enable system module set
--enabled=true
Enablethegivenmodule,indicatingthatit
shouldloadatboottime.
-d --disable system module set
--enabled=false
Disablethe
givenmoduleandpreventitfrom
loadingatboot.Disablingthemodulehasno
immediateeffectonthemodulestateona
runningsystem.
-q --query system module list
--enabled=[true|false]
Querythesystemforthemodulestoloadat
boot.
-m --mod-name -<name> Notsupported.
-u --unload Notsupported.
--list
-l
system module list
--loaded=[true|false]
ListthesetofcurrentlyloadedVMkernel
modules.
-i --show-info system module get
system module parameters
list
Show
informationaboutthemodule.This
commandcanberunagainstamodulefile.
-f --force system module <cmd>
--force
Skipmodulevalidationforalloptions.Theget
andlistcommandsdonotsupport--force.
-v --verbose -<level> Not supported Displaymoreverboseinformation.
Table 16. esxcfg-scsidevs Replacement Commands (Continued)
esxcfg-scsidevs Option ESXCLI Command Description