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

Help on the PowerStore CLI client, Help on object types, Help on actions, Example

Page 12 highlights

Help on the PowerStore CLI client For help on the client, including the use cases, switches, and system requests, type only pstcli or include the -help|-? switch. View the switches on page 13 provides details on all available switches. Example The following command displays information about the syntax and switches: pstcli -? Enter interactive session. pstcli [-d ] [-port ] [-u ] [-p ] [-ssl { interactive | reject | accept | store }] [-header] -session Perform an action on an object on the destination system. pstcli [-d ] [-port ] [-u ] [-p ] [-ssl { interactive | reject | accept | store }] [-header] [] Get detailed help on client options: pstcli help { -session | CMD | -version | -save_cred | -remove_cred | -remove_all_creds | -default | -cert_list | -cert_del | -cert_clear | -clear_cache } Additional help topics will be provided once you connect to the remote server. Please provide destination address to obtain remote server command help. Help on object types For help on object types, specify the object type with the -help switch to view a list of supported action commands. Example The following command displays the action commands to set (change) and show a DNS server setting with the dns object type. In the output, the items in brackets are the actions, such as creating and modifying, that can be performed on the object type: pstcli -d 10.0.0.1 -u admin -p MyPassword456! dns -? Configure system DNS client settings. Actions: [Set] dns set -nameServer [Show] dns show [-output {nvp|csv|table[-wrap]}] [{-brief|-detail}] Help on actions For help on an action command, type the object type and action command followed by -h, -help, or -?. Example The following command displays the list of volume attributes that you can change: pstcli -destination 10.55.34.87 -u admin -p MyPassword456! /volume set -? volume { -id | -name } set [ -name ] [ -description ] [ -size ] [ -expiration_timestamp ] [ -protection_policy_id ] [ -performance_policy_id ] [ -is_replication_destination { yes | true | no | false } ] [ -async ] Modify the parameters of a volume. 12 Introduction

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

Help on the PowerStore CLI client
For help on the client, including the use cases, switches, and system requests, type only
pstcli
or include the
-help|-?
switch.
View the switches
on page 13 provides details on all available switches.
Example
The following command displays information about the syntax and switches:
pstcli -?
Enter interactive session.
pstcli [-d <address>] [-port <number>] [-u <user_name>] [-p <password>] [-ssl {
interactive | reject | accept | store }] [-header] -session
Perform an action on an object on the destination system.
pstcli [-d <address>] [-port <number>] [-u <user_name>] [-p <password>] [-ssl {
interactive | reject | accept | store }] [-header] <object> <action> [<qualifiers>]
Get detailed help on client options:
pstcli help { -session | CMD | -version | -save_cred | -remove_cred | -remove_all_creds
| -default | -cert_list | -cert_del | -cert_clear | -clear_cache }
Additional help topics will be provided once you connect to the remote server. Please
provide destination address to obtain remote server command help.
Help on object types
For help on object types, specify the object type with the
-help
switch to view a list of supported action commands.
Example
The following command displays the action commands to set (change) and show a DNS server setting with the
dns
object type.
In the output, the items in brackets are the actions, such as creating and modifying, that can be performed on the object type:
pstcli -d 10.0.0.1 -u
admin
-p
MyPassword456!
dns –?
Configure system DNS client settings.
Actions:
[Set]
dns set -nameServer <
value
>
[Show]
dns show [-output {nvp|csv|table[-wrap]}] [{-brief|-detail}]
Help on actions
For help on an action command, type the object type and action command followed by
-h
,
-help
, or
-?
.
Example
The following command displays the list of volume attributes that you can change:
pstcli -destination 10.55.34.87 -u admin -p
MyPassword456!
/volume set -?
volume { -id <value> | -name <value> } set [ -name <value> ] [ -description
<value> ] [ -size <less than 281474976710656> ] [ -expiration_timestamp <date> ] [
-protection_policy_id <value> ] [ -performance_policy_id <value> ] [
-is_replication_destination { yes | true | no | false } ] [ -async ]
Modify the parameters of a volume.
12
Introduction