![background image](http://html1.mh-extra.com/html/quantum/dxi4500/dxi4500_manual_3756124070.webp)
Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-02 Rev A
July 2011
70
Utility CLI Commands
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.
•
--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]
Name
=
system
Access
=
ReadWrite
[WSDL
Support
=
1]
Name
=
WSDL
Specs
Version
=
2.0
[WSDL
Support
=
2]
Name
=
Common.xsd
Version
=
1.0
‐
2010/11/13
[WSDL
Support
=
3]
Name
=
Dxi.wsdl
Version
=
1.0
‐
2010/05/18
[WSDL
Support
=
4]