CLI Guide

Table Of Contents
P000000003B2017DF-A0-FC02 P000000003B2017DF-A0-FC03
P000000003B3017DF-B0-FC00 P000000003B3017DF-B0-FC01
P000000003B3017DF-B0-FC02 P000000003B3017DF-B0-FC03
VPlexcli:/clusters/cluster-1/exports/ports> ls
P000000000482F211-ETH06 P000000000482F211-ETH07
P000000000482F221-ETH06 P000000000482F221-ETH07
P000000000492F211-ETH06 P000000000492F211-ETH07
P000000000492F221-ETH06 P000000000492F221-ETH07
The cd command followed by a <Tab> displays the same information as ls at the context level.
For example, type cd and press <Tab> in the data-migrations context to display available options:
VPlexcli:/data-migrations> cd <Tab>
device-migrations/ extent-migrations/
The tree command displays the immediate sub-contexts in the tree using the current context as the root:
VPlexcli:/ cd /clusters/cluster-1/devices/Symm_rC_3
VPlexcli:/clusters/cluster-1/devices/Symm_rC_3> tree
/clusters/cluster-1/devices/Symm_rC_3:
components
Symm_rC_3_extent_0
Symm_rC_3_extent_1
vsphere-ds-1416311053-1_vol
The tree -e command displays immediate sub-contexts in the tree and any sub-contexts under them:
VPlexcli:/clusters/cluster-1/devices/Symm_rC_3> tree -e
/clusters/cluster-1/devices/Symm_rC_3:
components
Symm_rC_3_extent_0
components
Symm0487_44C
components
Symm_rC_3_extent_1
components
Symm0487_44B
components
NOTE:
For contexts where the next level down the tree is a list of objects, the tree command displays the list. This output
can be very long. For example:
VPlexcli:/clusters/cluster-1> tree
/clusters/cluster-1:
cluster-connectivity
cluster-links
to-cluster-2
proxy-servers
static-routes
devices
base0
components
extent_CX4_lun0_1
components
CX4_lun0
components
.
.
.
exports
initiator-ports
LicoJ006_hba0
LicoJ006_hba1
.
.
.
ports
P000000003CA00147-A0-FC00
P000000003CA00147-A0-FC01
Using the VPlexcli
17