Quantum DXi V1000 Command Manual page 13

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

Advertisement

CLI Special Options
CLI Special Options
• Typing syscli help --<cmd> will show syntax for all commands named
<cmd>. For example, syscli help --list shows all list commands, syscli help
--add shows all --add commands.
• Typing syscli help --<cmd> <subcmd> will show detailed help for this
specific command. For example, syscli help --list nas shows the complete
help for the --list nas command.
Every command can accept these options:
• --outfile <output_filename>
• --errfile [<error_filename>]
• --file <options_filename>
• --ws [<ws_server>[:<port>]
The first two options are supported because the shell capability of redirecting
the standard output and standard error using the ">" character is forbidden in
the restricted shell.
CLI command options:
• --outfile specifies that the standard output will be saved to file
<output_filename>.
• --errfile specifies that the standard error will be saved to file
<error_filename>. If <error_filename> is not specified, it will be saved to
the same <output_filename>.
The third option is supported to avoid the problem of quoting and/or escaping
special characters. The option --file tells the program to open the file
<options_filename> to read additional options, where each option (or each
option=value pair if the option requires a value) is listed on a separate line.
Blank lines or lines starting with "#" are ignored. For example, the command
syscli --add share --name abc --proto cifs
is functionally equivalent to any of the following commands:
1 syscli --file <myfile>
where <myfile> is a file containing the following:
‐‐add=share
‐‐name=abc
‐‐proto=cifs
2 syscli --add share --file <file1>
where <file1> is a file containing the following:
‐‐name=abc
‐‐proto=cifs
Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-05 Rev B
April 2012
5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxi4000 seriesDxi6500 seriesDxi6700 seriesDxi8500

Table of Contents