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 0xc001445a80320000 front-end up 469 717 44
16Gbits/s p2p
IO-01 0xc001445a80320100 front-end up 443 699 43
16Gbits/s p2p
IO-02 0xc001445a80320800 back-end up 548 784 44
8Gbits/s p2p
IO-03 0xc001445a80320900 back-end up 512 634 44
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.38.35 wan-com up 514 602 43 10000
-
WC-01 192.168.39.35 wan-com up 545 587 42 10000
-
/clusters/cluster-1/directors/director-1-1-B/ports:
Name Address Role Status RxPower[uW] TxPower[uW] Temp[C] Speed
Topology
----- ------------------ --------- ------ ----------- ----------- -------
--------- --------
IO-00 0xc001445a80330000 front-end up 197 667 44
16Gbits/s p2p
IO-01 0xc001445a80330100 front-end up 368 815 44
16Gbits/s p2p
IO-02 0xc001445a80330800 back-end up 557 777 43
16Gbits/s p2p
IO-03 0xc001445a80330900 back-end up 521 824 43
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.38.36 wan-com up 520 592 43 10000
-
WC-01 192.168.39.36 wan-com up 577 599 43 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.
Using the VPlexcli
15