CLI Guide

Table Of Contents
Navigate the CLI context tree
Use the cd command to navigate between command contexts.
The current context is always displayed at the command line interface prompt:
VPlexcli:/> cd /clusters/cluster-1/devices/
VPlexcli:/clusters/cluster-1/devices>
For example, to navigate from the root (/) context to the connectivity context to view member ports for a specified FC
port group:
VPlexcli:/> ll /clusters/cluster-1/directors/director-1-1-*/ports
/clusters/cluster-1/directors/director-1-1-A/ports:
Name Address Role Status RxPower[uW] TxPower[uW] Temp[C] Speed
Topology
----- ------------------ --------- ------ ----------- ----------- -------
--------- --------
IO-00 0xc001445a804e0000 front-end up 0 0 0
16Gbits/s p2p
IO-01 0xc001445a804e0100 front-end up 0 0 0
16Gbits/s p2p
IO-02 0xc001445a804e0800 back-end up 0 0 0
16Gbits/s p2p
IO-03 0xc001445a804e0900 back-end up 0 0 0
16Gbits/s p2p
LC-00 128.221.250.35 local-com up - - - 10000
-
LC-01 128.221.251.35 local-com up - - - 10000
-
WC-00 192.168.56.35 wan-com up - - - 10000
-
WC-01 192.168.57.35 wan-com up - - - 10000
-
/clusters/cluster-1/directors/director-1-1-B/ports:
Name Address Role Status RxPower[uW] TxPower[uW] Temp[C] Speed
Topology
----- ------------------ --------- ------ ----------- ----------- -------
--------- --------
IO-00 0xc001445a804f0000 front-end up 0 0 0
16Gbits/s p2p
IO-01 0xc001445a804f0100 front-end up 0 0 0
16Gbits/s p2p
IO-02 0xc001445a804f0800 back-end up 0 0 0
16Gbits/s p2p
IO-03 0xc001445a804f0900 back-end up 0 0 0
16Gbits/s p2p
LC-00 128.221.250.36 local-com up - - - 10000
-
LC-01 128.221.251.36 local-com up - - - 10000
-
WC-00 192.168.56.36 wan-com up - - - 10000
-
WC-01 192.168.57.36 wan-com up - - - 10000
-
Use the cd command with no arguments or followed by a space and three periods (cd ...) to return to the root context.
Use the cd command followed by a space and two periods (cd ..) to return to the context immediately above the current
context:
VPlexcli:/monitoring/directors/director-1-1-B> cd ..
VPlexcli:/monitoring/directors>
To navigate directly to a context from any other context use the cd command and specify the absolute context path.
14
Using the VPlexcli