Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-09 Rev B
February 2014
CLI Error Codes
5
• 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.
CLI Error Codes
If the system encounters an error when you run a command, an error code is
returned. To view the error code information associated with an error, use the
following command:
syscli --get error --value <error_code>
The error code information can help you determine what situation led to the
error. For example, if the system returns error code E100001, use the following
command to see the associated error code information:
syscli
‐‐
get
error
‐‐
value
E1000011
Output
data:
Error
Message
=
CIFS
server
is
disabled!
(E1000011)
Command
completed
successfully.
CLI Special Options
Every command can accept these options:
• --outfile <output_filename>
• --errfile [<error_filename>]
• --file <options_filename>
• --lockwait <seconds>
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