6.0

VMware, Inc. 14
Command-Line Management in vSphere 5 and vSphere 6 for Service Console Users
Table 4. Replacements for Service Console Commands
Service Console
Command ESXi 5 Replacement More Information
Deprecated
ESXi Shell
esxcli SyntaxformostESXCL I commandshaschanged. “ESXCLICommand
Syntax”onpage 15
No
esxcfg-advcfg esxcli system settings advanced “esxcfg-advcfg”onpage 17 Yes
esxcfg-dumppart esxcli system coredump “esxcfg-dumppart”on
page 18
Yes
esxcfg-firewall InESX4.x,protectstheserviceconsole.InESXi5.x,
esxcfg-firewallisnotnecessarybecausenoservice
consoleexists.
Theesxcli network firewallcommandisavailablefor
ESXifirewallmanagement.
vSphereSecurity
documentation.
N.A.
esxcfg-info ProvidesaviewoftheinternalstateoftheVMkerneland
serviceconsolecomponents.Someofthefunctionalityis
coveredbycertainESXCLIcommands.
“esxcfg-infoonpage 19 No
esxcfg-ipsec esxcli network ip ipsec “esxcfg-ipsec”onpage 20 No
esxcfg-swiscsi
esxcfg-hwiscsi
esxcli iscsi “esxcfg-swiscsiand
esxcfg-hwiscsi”onpage 21
Yes
esxcfg-module esxcli system module “esxcfg-module”on
page 23
Yes
esxcfg-mpath esxcli storage core pathcommands. “esxcfg-mpath”onpage 23 Yes
esxcfg-nas esxcli storage nfs “esxcfg-nas”onpage 24 Yes
esxcfg-nics esxcli network nic “esxcfg-nics”on
page 24 Yes
esxcfg-rescan esxcli storage corecommands. “esxcfg-rescan”onpage 25 Yes
esxcfg-route esxcli network ip routecommands “esxcfg-route”onpage 22 Yes
esxcfg-scsidevs Useesxcli storage coreandesxcli storage core
filesystemcommands.
“esxcfg-scsidevs”on
page 22
Yes
esxcfg-vmknic esxcli network ip interfacecoversmostoptionsand
includesanumberofoptionsnotavailableinthe
esxcfg-vmkniccommand.
“esxcfg-vmknic”on
page 25
Yes
esxcfg-volume esxcli storage filesystem “esxcfg-volume”on
page 26
Yes
esxcfg-vswif Usedtoconfigureserviceconsolenetworkingin4.xsystems.
Not
neededandnotavailableintheESXi5.xESXiShell.
Yes
esxcfg-vswitch esxcli network vswitch standardforstandardswitches.
esxcli network vswitch dvsfordistributedswitches.
“esxcfg-vswitch”on
page 27
Yes
esxtop SupportedintheESXi5.xESXiShell.Ifyoudonothave
accesstotheESXiShell,usetheresxtopremotevCLI
commandfromasupportedLinuxsystemor
fromvMA.
“esxtop”onpage 29 No
esxupdate esxclisoftware vib
Note:Bothesxupdateandvihostupdatearenotsupported
againstESXi5.0andESXi5.1hosts.
“esxupdateonpage 29 Yes
vmkfstools ThevmkfstoolscommandisavailableintheESXi5.xESXi
Shell.ThevmkfstoolsvCLIcommandoptionsdifferslightly
fromtheshellcommandoptions.
“vmkfstools”onpage 29 No
vmkping
Useesxcli network diag ping. vSphereCommandLine
InterfaceReference.
Yes