Syntax Of Options File - Quantum DXi V1000 Command Manual

Dxi series command line interface (cli)
Hide thumbs Also See for DXi V1000:
Table of Contents

Advertisement

Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-05 Rev B
April 2012

Syntax of Options File

CLI Exit Code
6
3 syscli --add share --file <file2> --proto cifs
where <file2> is a file containing the following:
‐‐name=abc
The following are the syntax conventions for the options file:
• Command line options are processed from left to right. Thus any option in
the file can be overridden by listing it again on the command line after the
--file option. In example 3 above, the option-value pair --barcode
mybarcode overrides the one specified in file2 because it is processed after
option --file.
• Spaces surrounding the options are insignificant. The following examples
are equivalent:
• --name=abc
• --name =abc
• All characters that follow "=" are significant and are accepted as is,
including space, tab, backslash, single or double quotes, or any other
symbol. Because no characters are special, don't escape them. This rule is
enforced so to support values that contain leading or trailing spaces/quotes
such as in passwords. For example:
--password=abc
--password= abc
--password=a\!bc
--password="abc"
are all different passwords.
• The second password has four characters: space, a, b, and c.
• The third password has five characters: a, \, !, b, and c.
• The fourth password has five characters: ", a, b, c, and ".
If the command runs to completion successfully, it returns an exit code of zero
(0) along with the following message:
Command completed successfully.
If the command fails, it returns an exit code of one (1) along with a one line
error message that summarizes the error. This error message is always prefixed
with "
" and appended with an error code in parentheses. For example:
ERROR: 
syscli ‐‐add share ‐‐proto cifs ‐‐name cifs1 ‐‐desc "For 
testing only"
......
CLI Exit Code

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxi4000 seriesDxi6500 seriesDxi6700 seriesDxi8500

Table of Contents