CLI Guide

Table Of Contents
Logging out from the CLI
Use the exit command to exit the command line interface from any context.
About this task
For example:
VPlexcli:/clusters> exit
Connection closed by foreign host.
CLI context tree
The CLI is divided into command contexts. Some commands are accessible from all contexts, and are referred to as global
commands.
The remaining commands are arranged in a hierarchical context tree. These commands can only be executed from the
appropriate location in the context tree.
Understanding the command context tree is critical to using the command line interface effectively.
The root context contains these sub-contexts:
clusters-witness/- Manage Cluster Witness options. If the Cluster Witness optional component is installed, then the
cluster-witness context is available.
clusters/ - Create and manage links between clusters, devices, directors, extents, system volumes, and virtual volumes.
Configure connectivity, register initiator ports, export target ports, and storage views.
connectivity/ - Configure connectivity between back-end storage arrays, front-end hosts, local directors, port-groups
and inter-cluster WANs.
data-migrations/ - Create, verify, start, pause, cancel, and resume data migrations of extents or devices.
distributed-storage/ - Create and manage distributed devices and rule sets.
monitoring/ - Create and manage performance monitors.
notifications/ - Create and manage call-home events.
system-defaults/ - Display systems default settings.
Except for system-defaults/, each of the sub-contexts contains one or more sub-contexts to configure, manage, and
display sub-components.
Command contexts have commands that can be executed only from that context. The command contexts are arranged in a
hierarchical context tree. The topmost context is the root context, or /.
Context tree searching
Search the context tree for context names and data matching specific patterns.
Using the Find command to search the context tree
Use this command to find all contexts matching a pattern. When invoked interactively, the command prints the contexts to the
screen.
Patterns can be either literal character strings or strings that include wildcard characters. For a complete list of supported CLI
wildcard characters, see the topic "Wildcards" in the CLI Reference Guide.
14
Using the VPlexcli