Skip to main content

connect

This command creates a connection (logs in) to the Lenovo XClarity Administrator server that can be used by other commands.

Use the disconnect command to log out of the XClarity Administrator server.

Syntax

connect  -h

connect -l <HTTPS_addresss> -u <user_ID> [––noverify]

Options

{-h | --help}
Displays the syntax and brief usage information for this command.
{-l | --url} <HTTPS_addresss>
Specifies the HTTPS address (IP address or hostname) for the XClarity Administrator server (for example, https://192.0.2.0).
{-u | --user} <user_ID>
Specifies the user ID for logging in to the XClarity Administrator server.

You are prompted to input the password. Password is entered in a non-verbose mode.

--noverify
Does not verify the XClarity Administrator server certificate. If this option is not specified, the server certificate is verified when the connection is made.

Examples

The following example connects to the XClarity Administrator server using the HTTPS address 192.0.2.0 and user ID USER1.

connect --url https://192.0.2.0 --user USER1 --noverify