The iscsi_initiator establish_session command establishes a session with a target using the specified HBA.
sdcli iscsi_initiator establish_session {-m MachineName} {-h HBA_ID} {-hp HBA Portal ID} -t TargetName -np IPAddress IPPort {-c CHAPName CHAPPassword}
-h HBA_ID is used to establish the iSCSI session. The HBA ID can be obtained by using the sdcli sysconfig list command.
-hp HBA Portal ID is used to specify the portal on the iSCSI HBA to be used to establish the iSCSI session. The HBA Portal ID can be obtained by using the sdcli sysconfig list command.
-t TargetName is the name of the iSCSI target.
-np IP Address IPPort specify the IP address and IP port of the network portal on the target. The IP Port can be obtained by using the sdcli iscsi_initiator list command.
sdcli iscsi_initiator establish_session -h 0 -t iqn.1992-8.com.netapp:maya -np 172.18.53.94 3260
The preceding example establishes an iSCSI session with the specified target using the specified HBA ID.