 	 
login
Enables you to set the credentials used for the current session.

Syntax

Authenticating with credentials for the first time:

smartupdate login [--username <username> --password <password>] [--port <port>] [--ssl_port <sslport>] [--ftp_port <ftpport>] [--open_firewall]

Authenticating with current credentials:

smartupdate login

Parameters

--username
Optional parameter for adding username.

--password
Optional parameter for adding user password.

--port
Optional parameter to define a port that SUM uses.

The allowed values are:

80, 1024-65535

--ssl_port
Optional parameter to define an SSL port that SUM uses.

The allowed values are:

443, 1024-65535

--ftp_port
Optional parameter to define the FTP port that SUM uses. Include this parameter when updating FC switches.

The allowed values are:

disabled, 21, 1024-65535

--debuglogdir <filepath>
Tells SUM where to save log files. Enter a directory path.

--open_firewall
SUM cannot open all firewall instances. Manually open the firewall if SUM cannot open a firewall.

Windows usage

C:\> smartupdate login /username rono /password pwd123 /ssl_port 9091

Linux usage

$ ./smartupdate login --username rono --password pwd123 --ssl_port 9091

Return codes
SUCCESS_NO_REBOOT
Windows: 0

Linux: 0

Text: The command was successful.

SUCCESS_REBOOT
Windows: 1

Linux: 1

Text: The command was successful but a reboot is required.

SUCCESS_NOT_REQUIRED
Windows: 3

Linux: 3

Text: The command completed successfully, but was not required or everything is already current.

FAILURE_GENERAL
Windows: -1

Linux: 255

Text: A general failure occurred. For details, see the logs.

FAILURE_BAD_PARM
Windows: -2

Linux: 254

Text: A bad input parameter was encountered. For details, see the logs.

FAILURE_COMPONENT_FAILED
Windows: -3

Linux: 253

Text: The installation of the component failed.

FAILURE_COMMAND_FAILED
Windows: -4

Linux: 252

Text: The command failed. For details, see the logs.

 	 	 