Dell PowerStore 3200T EMC PowerStore CLI User Guide - Page 15

Access the system, Display the header, Example 4, Format, Switches

Page 15 highlights

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} ] [{-u|-user} ] [{-p|-password} ] Switches -destination| -d -user|-u -password|-p -port 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. Username for logging in to the system. For example, admin. Password for logging in to the system. 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 15 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 Save PowerStore CLI settings You can save the following settings on the host on which you run PowerStore CLI: ● User access credentials, including your username and password, for each system you access For more information, see -save_cred on page 14 Introduction 15

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16

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 15 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
Save PowerStore CLI settings
You can save the following settings on the host on which you run PowerStore CLI:
User access credentials, including your username and password, for each system you access
For more information, see
-save_cred
on page 14
Introduction
15