Service Manual

Example 3
The following example sets the destination system as the default:
pstcli -d 10.0.0.1 -u admin -p MyPassword456! -default
Example 4
The following example removes the saved access credentials from destination system 10.0.0.1:
pstcli -d 10.0.0.1 -remove_cred
Access the system
To access and run commands on a system through PowerStore CLI, specify the network name or management IP address of the
system, your username, and your password.
Format
[{-d|-destination} <value>] [{-u|-user} <user_name>] [{-p|-password} <password>]
Switches
-
destination|-
d
IP address or network name of the destination system. If you do not include this switch, the client uses
the addresses that are specified for -default. If no default address exists, the client uses the localhost
address 127.0.0.1.
-user|-u
Username for logging in to the system. For example, admin.
-password|-p
Password for logging in to the system.
-port
Specify the port number through which to access the system.
NOTE: If you do not include the -port switch, PowerStore CLI accesses the system through default
port 443.
-default
Save the destination, port pair, and SSL policy as defaults. You can use the -default switch with the -
destination, -port, or -ssl_policy switches, or with any combination of those switches. The
saved SSL policy applies to the client for all destinations. Also, you can update the destination and port
separately. Save PowerStore CLI settings on page 16 explains saving user account credentials to the
local client system.
Display the header
You can display the header each time you run a switch or command. The header displays the destination system, system port
number, the syntax, and communication protocol used (HTTPS).
The following example shows the header that is displayed after including the -header switch in a command:
pstcli -header volume show -o table
PowerStore system: 10.55.34.87
Timezone: Eastern Daylight Time (UTC-03:00)
User: admin
1: id = DNS1
addresses = 10.244.53.108, 10.244.53.109
Introduction
15