CLI Guide

Table Of Contents
.
.
.
storage-views
LicoJ009
LicoJ013
storage-elements
extents
extent_CX4_Logging_1
Using CLI commands
The commands that make up the CLI fall into two groups:
Global commands that can be used in any context. For example: cd, date, ls, exit, and user.
Context-specific commands that can be used only in specific contexts. For example, to use the copy command, the context
must be /distributed-storage/rule-sets.
Use the help command to display a list of all commands (including the global commands) available from the current context.
Use the help -G command to display a list of available commands in the current context excluding the global commands:
VPlexcli:/notifications> help -G
Commands specific to this context and below:
call-home snmp-trap
Some contexts inherit commands from their parent context. These commands can be used in both the current context and
the context immediately above in the tree:
VPlexcli:/distributed-storage/bindings> help -G
Commands inherited from parent contexts:
dd rule rule-set summary
Some commands are loosely grouped by function. For example, the commands to create and manage performance monitors
start with the word monitor.
Use the <Tab> key display the commands within a command group. For example, to display the commands that start with the
word monitor, type monitor followed by the <Tab> key:
VPlexcli:/> monitor <Tab>
add-console-sink add-file-sink collect create destroy
remove-sink
stat-list
Page output
For large configurations, output from some commands can reach hundreds of lines.
Paging displays long output generated by the ll and ls commands one page at a time:
To enable paging, add -p at the end of any command:
VPlexcli:/clusters/cluster-1/storage-elements> ls storage-volumes -p
One page of output is displayed. The following message is at the bottom of the first page:
-- more --(TOP )- [h]elp
Press the spacebar to display the next page.
The message now indicates what percentage of the output has been displayed:
-- more --( 24%)- [h]elp
h - Displays instructions on how to move and search the output.
Using the VPlexcli
17