6.5

Table Of Contents
The following table describes the DCLI options.
Option Description Default
server
The vCenter Server system to which DCLI connects.
localhost
interactive
Runs DCLI in interactive shell mode, which supports tab
completion of commands, options, and some option values. It
also supports saving the command history across DCLI
sessions.
Interactive mode is faster because DCLI caches the list of
commands available on a vCenter Server system.
prompt
Prompt that the interactive shell uses.
dcli>
skip-server-
verification
Skips the server SSL verication process.
False
cacert-file
Species the certicate authority certicates for validating
SSL connections.
more
Displays page-wise output.
formatter
Output formaer, which has one of the following possible
values.
n
simple
n
table
n
xml
n
json
n
html
n
csv
Default is table for lists of structures
and simple for all other output.
loglevel
The log level, which has one of the following possible values.
n
debug
n
info
n
warning
n
error
info
username
If you run from the local shell, most DCLI commands do not
require the user name. If you are running vCLI commands,
the user you specify must be able to authenticate to the
vCenter Server system.
The user you specify must have the privileges to perform the
task, as specied through vCenter Server roles.
You are prompted for the password. The password is not
echoed to screen.
credstore-file
Path to the credential store le to use for credential store
operations or for reading login credentials.
Use this option only if the default credential store le name
does not work in your environment.
By default, the credential store le is in
the .dcli/.dcli_credstore directory inside the home
directory.
$HOME/.dcli/.dcli_credstore
credstore-add
Adds login credentials entered for a command to the DCLI
credential store le.
This option stores the server IP address, session manager,
username and password for the command being executed. If
an entry already exists, the command updates the entry.
dcli directory inside the home
directory.
$HOME/.dcli
Chapter 5 Running DCLI Commands
VMware, Inc. 47