CLI Guide

Table Of Contents
Example 2
In the following example, a single command enables ports in all engines and all directors (A and B) whose name include 0-FC and
1-FC:
set /engines/*/directors/*/hardware/ports/*[0-1]-FC*:: enabled true
First * wildcard All engines in the cluster.
Second * wildcard All directors in the cluster.
Third * wildcard All A-side ports and all B-side ports.
The [0-1] limits the selections to all port numbers that start with A0, A1, B0, or B1.
Fourth * wildcard All ports whose numbers start with A0-FC, A1-FC, B0-FC, or B1-FC.
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
Cluster cluster-2
This cluster has 1 storage-volumes which are dead or unreachable
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
Cluster cluster-1
This cluster has 3 storage-volumes which are dead or unreachable
Using the VPlexcli
21