EasyManuals Logo

IBM Midrange System DS4000 Series User Manual

IBM Midrange System DS4000 Series
566 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #497 background imageLoading...
Page #497 background image
Chapter 8. Command-line interface and Script Editor 479
Basic interactive command-line execution examples are shown in Example 8-2. In the
example, the user runs the command show storagesubsystem time;
. Note that the user
presses Ctrl-c to exit the interactive mode and return to the command line prompt, which is
the same for both UNIX and Windows.
Example 8-2 SMcli command in interactive mode
C:\temp>"C:\Program Files\IBM_DS\client\SMcli" 9.11.218.183 9.11.218.182 -p
xxxxxxxx
Executing script...
show storagesubsystem time;
Controller in Slot A
Date/Time: Tue Sep 15 11:38:35 GMT-07:00 2009
Controller in Slot B
Date/Time: Tue Sep 15 11:38:32 GMT-07:00 2009
^C
Script execution complete.
C:\temp>
The interactive command-line method can also be invoked using the -c option, which allows a
command to execute immediately. This method will execute the specified command and
return to the operating system command prompt:
SMcli <IP address of one controller> <IP address of second controller> -c
"<command>;"
-w Specifies the storage subsystem, using its world-wide name (WWN), on which you want to perform
the script commands.
Note: The WWN is optional when a <hostname> is used or if the -n option is used to identify the
storage subsystem with its <storagearrayname>. Use this option
instead of the -n option.
-x Delete an SNMP trap destination or e-mail alert destination. To delete an SNMP trap destination,
enter:
-x trap:Community, HOST
Here COMMUNITY is the SNMP Community Name, and HOST is the IP address or the host name
of a station running an SNMP service.
To delete an e-mail alert destination, enter:
-x email:MAILADDRESS
Here MAILADDRESS is the fully qualified e-mail address to which the alert message will no longer
be sent.
-X Use this parameter to delete a storage subsystem from a configuration.
-? Displays usage information.
Command-line
parameter
Description

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM Midrange System DS4000 Series and is the answer not in the manual?

IBM Midrange System DS4000 Series Specifications

General IconGeneral
BrandIBM
ModelMidrange System DS4000 Series
CategoryStorage
LanguageEnglish

Related product manuals