CLI Guide

Table Of Contents
Examples
Collect the logs files on the management server and send them to the designated directory:
VPlexcli:/> sms dump --destination-directory /var/log/VPlex/cli
Initiating sms dump...
sms dump completed to file /var/log/VPlex/cli/smsDump_2010-09-15_16.40.20.zip.
See also
cluster configdump
collect-diagnostics
director appdump
getsysinfo
source
Reads and executes commands from a script.
Contexts
All contexts.
Syntax
source
[-f|--file] filename
Arguments
Required arguments
[-f| --file] filename * Name of the script file to read and execute.
* - argument is positional.
Description
Filenames use the syntax of the underlying platform.
The script file may contain any CLI commands.
If the exit command is included, the shell exits immediately, without processing the commands that follow it in the file.
Examples
In the following example, a text file Source.txt contains only two commands:
service@ManagementServer:/var/log/VPlex/cli> cat Source.txt
version -a
exit
When executed:
Commands
283