CLI Guide

Table Of Contents
Command globbing
Command globbing combines wildcards and context identifiers in a single command. Globbing can address multiple entities using
a single command.
Example 1
To display the status of all the director ports on a large configuration using no wildcards, type:
VPlexcli:/> ll clusters/cluster-*/directors/director-1-1-*/ports/
for cluster and director.
Using the * wildcard reduces this task to a single command.
Using the ** wildcard simplifies the command even more:
ll /**/ports
Positional command arguments
Most commands require arguments.
Some command arguments are positional. That is, the argument can be typed without an identifier IF it is entered in the position
specified by the command syntax.
For example, the alias command has two arguments in the following order (syntax):
alias
[-n|--name] alias_name
[-t|to] string of commands in quotes
Type the command with the arguments with identifiers in any order (not as specified by the syntax):
VPlexcli:/> alias --to "cd clusters" --name cdc
or,
Type the command with the arguments without identifiers in the order specified by the command syntax:
VPlexcli:/> alias cdc "cd clusters"
--verbose argument
The --verbose argument displays additional information for some commands. For example, without --verbose argument:
VPlexcli:/> connectivity validate-be
Summary
Cluster cluster-1
This cluster has 0 storage-volumes which do not have dual paths
This cluster has 0 storage-volumes which are not visible from all directors
With --verbose argument:
VPlexcli:/> connectivity validate-be --verbose
Storage volumes that are dead or unreachable:
Cluster Dead or Unreachable Storage Volumes
--------- ----------------------------------------
cluster-2 VPD83T3:60004530000000080007f16e9512a2b1
cluster-1 VPD83T3:60004530000000010007f16e9512a2a5
VPD83T3:60004530000000010007f16e9512a2a7
VPD83T3:60004530000000010007f16e9512a2a9
Summary
22
Using the VPlexcli