Usage Notes
If you enter
SMcli
and a storage subsystem name but do not specify CLI parameters, script commands, or
a script file, the command line interface runs in interactive mode. Interactive mode lets you run
individual commands without prefixing the commands with
SMcli
. In interactive mode, you can enter a
single command, view the results, and enter the next command without typing the complete
SMcli
string.
Interactive mode is useful for determining configuration errors and quickly testing configuration changes.
To end an interactive mode session, type the operating system-specific command for terminating a
program (such as
Control-C
on the UNIX operating system or the Windows operating system). Typing
the termination command (
Control-C
) while in interactive mode turns off interactive mode and returns
operation of the command prompt to an input mode that requires you to type the complete
SMcli
string.
If you enter an incomplete or inaccurate
SMcli
string that does not have the correct syntax, parameter
names, options, or terminals, the script engine returns usage information.
CLI commands
Conventions used in the command statement syntax to manage the storage subsystem are listed in the
following table:
Table 1-1. Command Name Syntax Conventions
Convention
Definition
(a | b | c)
Alternative (“a” or “b” or “c”)
italicized-words
A terminal that needs user input to fulfill a
parameter (a response to a variable)
[ ... ]
(square brackets)
Zero or one occurrence (square brackets are also
used as a delimiter for some command parameters)
{ ... }
(curly braces)
Zero or more occurrences
bold
A terminal that needs a command parameter entered
to start an action
General forms of the CLI commands follow, which show the terminals and the parameters that are used
in each command.
SMcli
DNS-network-name-or-IP-address
[
DNS-network-name-or-IP-address
]
[
-c
“
command
; {
command2
};”]
[
-n
storage-system-name
|
-w
wwID
]
[
-o
outputfile
] [
-p
password
] [
-e
] [
-S
] [
-quick
]
SMcli
DNS-network-name-or-IP-address
[
DNS-network-name-or-IP-address
]
[
-f
scriptfile
]
[
-n
storage-system-name
|
-w
wwID
]
[
-o
outputfile
] [
-p
password
] [
-e
] [
-S
] [
-quick
]
SMcli
(
-n
storage-system-name
|
-w
wwID
)
[
-c
“
command
; {
command2
};”]
[
-o
outputfile
] [
-p
password
] [
-e
] [
-S
] [
-quick
]
SMcli
(
-n
storage-system-name
-w
wwID
)
[
-f
scriptfile
]
[
-o
outputfile
] [
-p
password
] [
-e
] [
-S
] [
-quick
]
SMcli
-a
email:
email-address
[
host-name-or-IP-address1
[
host-name-or-IP-address2
]]
[
-n
storage-system-name
|
-w
wwID
|
-h
host-name
|
-r
(
host_sa
|
direct_sa
)]
[
-I
information-to-include
] [
-q
frequency
] [
-S
]
SMcli
-x
email:
email-address
[
host-name-or-IP-address1
[
host-name-or-IP-address2
]]
[
-n
storage-system-name
|
-w
wwID
|
-h
host-name
|
-r
(
host_sa
|
direct_sa
)] [
-S
]
1-2
IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide
Содержание System Storage DS3000
Страница 10: ...x IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 12: ...xii IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 46: ...2 12 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 382: ...3 336 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 476: ...7 16 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 504: ...9 12 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 512: ...10 8 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 530: ...11 18 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 590: ...12 60 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 594: ...13 4 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 596: ...14 2 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 598: ...A 2 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 599: ...Appendix A Examples of information returned by the show commands A 3...
Страница 600: ...A 4 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 601: ...Appendix A Examples of information returned by the show commands A 5...
Страница 602: ...A 6 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 603: ...Appendix A Examples of information returned by the show commands A 7...
Страница 604: ...A 8 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 605: ...Appendix A Examples of information returned by the show commands A 9...
Страница 606: ...A 10 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 607: ...Appendix A Examples of information returned by the show commands A 11...
Страница 608: ...A 12 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 609: ...Appendix A Examples of information returned by the show commands A 13...
Страница 610: ...A 14 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 611: ...Appendix A Examples of information returned by the show commands A 15...
Страница 623: ...Appendix A Examples of information returned by the show commands A 27...
Страница 624: ...A 28 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 625: ...Appendix A Examples of information returned by the show commands A 29...
Страница 626: ...A 30 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 627: ...Appendix A Examples of information returned by the show commands A 31...
Страница 628: ...A 32 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 632: ...B 4 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 648: ...F 4 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 651: ......
Страница 652: ...Part Number 00W1466 Printed in USA GA32 0961 05 1P P N 00W1466...