Users Guide

Table Of Contents
3–QCS CLI Commands
Login
Doc No. TD-000971 Rev. 1
January 29, 2021 Page 105 Copyright © 2021 Marvell
Login
Logs in to a host. This command is available in the context of a host, iSCSI
device, or iSCSI target.
Syntax login
{-m <iSCSI HBA MAC Address>}
{-t <TargetName>}
[-h <hostname>]
[-i <TargetPortalAddress> ]
[-n <TargetPortalSocket>]
[-u <CHAP name>]
[-p <CHAP secret>]
[-if <iface file name>]
[-iu <Initiator CHAP name>]
[-ip <Initiator CHAP secret>]
[-b]
[-e]
[-d]
[-o]
[-mu <CHAP authentication>]
[-ir <iSER target type]
Keywords -m
Specifies the MAC address of an iSCSI Host Bus Adapter.
-t
Specifies the target name.
-h
Specifies the host name. Required when this command is used in iSCSI target
context, because a target might connect to a Host Bus Adapter on different host.
-i
(Optional) Specifies the target IP address. If you specify the -i option (target
portal IP address), you must also specify the -n option (target port number).
-n
Specifies that the login operation is performed using the Host Bus Adapter
identified by the -m parameter, the target identified by the -t parameter, and
the target portal address.