CLI Guide

Table Of Contents
q - Exits paging mode.
Tab completion
Use the Tab key to:
vplex_c_complete_a_command
vplex_c_display_valid_contexts_and_commands
vplex_c_display_command_arguments
Complete a command
Use the Tab key to automatically complete a path or command until the path or command is no longer unique.
For example, to navigate to the UPS context on a single cluster (named cluster-1), type:
cd /clusters/cluster-1/uninterruptible-power-supplies/
To type the same command using tab completion:
Type cd c <Tab>
Since clusters is the only context starting with c at the root level, the CLI auto-completes the selection:
cd /clusters/
There is only one cluster (it is unique). Press <Tab> to automatically specify the cluster:
cd /clusters/cluster-1/
Type a u to select the uninterruptible-power-supplies context and press <Tab>.
The u is unique at the current context, and the CLI auto-completes the selection:
cd /clusters/cluster-1/uninterruptible-power-supplies/
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/ uninterruptible-power-supplies/
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
18
Using the VPlexcli