Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-05 Rev B
April 2012
70
Utility CLI Commands
•
--quiet
: do not display status while generating log
•
--lastgen
: display the last date the diagnostic log was generated
Downloading a Diagnostic Log
syscli --download diaglog [--system] | [--array]
This CLI command allows users to download the current diagnostic log to the
current working directory.
CLI command options:
•
--system
: Downloads the system diagnostic log. This is the default if no
diagnostic type is specified.
•
--array
: Downloads the raid array diagnostic log.
Authenticate User
(Login Command)
syscli --authenticate --name <username> --password <password> --client
<clientinfo> [--timeout <timeout>] [--terse]
This command is intended for use with the additional
--ws
option to log into a
Web Services server.
syscli --authenticate --name <username> --password <password> --client
<clientinfo> [--timeout <timeout>] [--terse] –ws
[<remotehost>[:<portnumber>]]
For a description of the
--ws
option, see
This command is to send the user credentials to the Web Services server (named
axis2 server) for authentication and starting a Web Services session. The user
must have an account on the DXi system that the axis2 server is running.
CLI command options:
•
--password
: if not specified, you will be prompted interactively, and the
password is not echoed on screen.
•
--clientinfo
: This is an arbitrary string that contains information to identify
the user for logging purposes. It can be the user’s real name or the client
program, or something that uniquely identifies the session (e.g., myrun1,
myrun2, confignas, etc.). The main idea is that the <clientinfo> token and
the username can be combined together to track the user’s activities.
•
--timeout
: This is the number of seconds the session can be idle before the
server automatically terminates it. The default value is1800 seconds (30
minutes).
•
--terse
: If specified, only the credential token value will be displayed in the
output. This is handy for use in scripting.
Example 1:
bash
‐
3.2$
syscli
‐‐
authenticate
‐‐
name
cliadmin
‐‐
password
****
‐‐
client
testing
Output
data:
Credential
token
=
7dd1f06d612631b6ad8a165fcf54914c
[Component
Permission
=
1]