CLI Guide

Table Of Contents
Tab completion
Use the Tab key to:
vplex_c_display_valid_contexts_and_commands
vplex_c_display_command_arguments
Display valid contexts and commands
Press Tab after typing a partial context path to display a list of valid commands or contexts for the current context:
About this task
VPlexcli:/> cd /clusters/cluster-1/ <Tab>
connectivity/ consistency-groups/
devices/ exports/
performance-policies/ storage-elements/
system-volumes/
virtual-volumes/
VPlexcli:/> cd /clusters/cluster-1/
Display command arguments
Press Tab after typing a command name to display the commands arguments. For example:
VPlexcli:/> monitor <Tab>
add-console-sink add-file-sink collect
create destroy remove-sink stat-list
Wildcards
The command line interface includes 3 wildcards:
* - matches any number of characters.
? - matches any single character.
~ - matches any number of characters.
[a|b|c] - matches any of the single characters a or b or c.
NOTE:
Use the find command with wildcards to find context names and data matching specific patterns in the CLI
context tree. See Context Tree Searching for more information.
* wildcard
Use the * wildcard to apply a single command to multiple objects of the same type (directors or ports).
For example, to display the status of ports on each director in a cluster, without using wildcards:
ll clusters/cluster-1/directors/director-1-1-A/ports
ll clusters/cluster-1/directors/director-1-1-B/ports
.
.
Alternatively:
Use one * wildcard to specify all engines, and
Using the VPlexcli
19