CLI Guide

Table Of Contents
Syntax
pushd
[-c|--context] context
Arguments
Optional arguments
[-c|--context] context The context to push onto the context stack.
Description
Adds the context to the context stack.
If no context is supplied, and there is a context on the stack, the current context is exchanged with the top-of-stack context.
Use the popd command to remove the topmost context from the context stack.
Example
Starting in the root context, use the pushd command to push the first context onto the context stack:
VPlexcli:/>
VPlexcli:/> pushd /clusters/cluster-1/storage-elements/storage-arrays/
[/clusters/cluster-1/storage-elements/storage-arrays, /, /]
Use the pushd command to push a second context onto the context stack:
VPlexcli:/clusters/cluster-1/storage-elements/storage-arrays> pushd /clusters/cluster-1/
directors/director-1-1-A/
[/clusters/cluster-1/directors/director-1-1-A, /clusters/cluster-1/storage-elements/
storage-arrays, /, /]
Now, there are two contexts on the context stack. Use the pushd command to toggle between the two contexts:
VPlexcli:/clusters/cluster-1/directors/director-1-1-A> pushd
[/clusters/cluster-1/storage-elements/storage-arrays, /clusters/cluster-1/directors/
director-1-1-A, /, /]
VPlexcli:/clusters/cluster-1/storage-elements/storage-arrays> pushd
[/clusters/cluster-1/directors/director-1-1-A, /clusters/cluster-1/storage-elements/
storage-arrays, /, /]
VPlexcli:/clusters/cluster-1/directors/director-1-1-A>
See also
popd
rebuild set-transfer-size
Changes the transfer-size of the given devices.
Contexts
All contexts.
260
Commands