6.0

Table Of Contents
Getting Started with vSphere Command-Line Interfaces
12 VMware, Inc.
YoucaninstallthevSphereCLIcommandsetonasupportedLinuxorWindowssystem.SeeGettingStarted
withvSphereCommandLineInterfaces.YoucanalsodeploythevSphereManagementAssistant(vMA)toan
ESXisystemofyourchoice.
Afterinstallation,runvCLIcommandsfromtheLinuxorWindowssystem
orfromvMA.
ManageESXihostswithothervCLIcommandsbyspecifyingconnectionoptionssuchasthetargethost,
user,andpasswordoraconfigurationfile.See“ConnectionOptionsforvCLIHostManagement
Commands”onpage 18.
ManagevCenterserviceswithDCLIcommandsbyspecifyingatargetvCenterServersystemand
authenticationoptions.SeeGettingStartedwithvSphereCommandLineInterfacesforalistofconnection
options.
Documentation
GettingStartedwithvSphereCommandLineInterfacesincludesinformationaboutavailableCLIs,enablingthe
ESXiShell,andinstallingandrunningvCLIcommands.Anappendixsuppliesthenamespaceandcommand
hierarchiesforESXCLI.
ReferenceinformationforvCLIandDCLIcommandsisavailableonthevCLIdocumentationpage
http://www.vmware.com/support/developer/vcli/andinthevSphere
DocumentationCenterfortheproduct
versionthatyouareusing.
vSphereCommandLineInterfaceReferenceisareferencetovicfg-andrelatedvCLIcommandsand
includesreferenceinformationforESXCLIcommands.Allreferenceinformationisgeneratedfromthe
help.
AreferencetoesxtopandresxtopisincludedintheResourceManagementdocumentation.
TheDCLIReferenceisincludedseparatelyfromthevSphereCommandLineInterfaceReference.Allreference
informationisgeneratedfromthehelp.
Command-Line Help
Availablecommandlinehelpdiffersforthedifferentcommandsets.
List of Available Host Management Commands
Table 12listsvCLIhostmanagementcommandsinalphabeticalorderandthecorrespondingESXCLI
commandifavailable.ForESXCLI,newcommandsandnamespacesareaddedwitheachrelease.Seethe
ReleaseNotesforthecorrespondingreleaseforinformation.
FunctionalityofDCLIcommandsetthatisbeingaddedinvSphere6.0isdifferentfromthesecommands.They
arenotincludedinthetable.
Command set Available Command-Line Help
vicfg‐commands Run<vicfg-cmd> --helpforanoverviewofeachoptions.
RunPod2Htmlwithavicfg‐commandasinputandpipetheoutputtoafileformoredetailed
helpinformation.
pod2html vicfg-authconfig.pl > vicfg-authconfig.html
ThisoutputcorrespondstotheinformationavailableinthevSphereCommandLineInterface
Reference.
ESXCLIcommands Run--helpatanylevelof
thehierarchyforinformationaboutbothcommandsand
namespacesavailablefromthatlevel.
DCLIcommands Run--helpforanycommandornamespacetodisplaytheinputoptions,whethertheoption
isrequired,andtheinputoptiontype.Fornamespaces,--helpdisplaysallavailablechild
namespacesandcommands.
Rundcli --helptodisplay
usageinformationforDCLI.