Importiscsi – Dell Emulex Family of Adapters User Manual
Page 381

OneCommand Manager Command Line Interface Version 10.2 User Manual
P010067-01A Rev. A
5. CLI Client Command Descriptions
iSCSI Commands
381
Supported By
Linux, Solaris, VMware ESXi, and Windows
Syntax
GetSessionInfo Target_IP>> Parameters ImportiSCSI This command imports iSCSI targets from an XML file to the iSCSI ports on the host. The XML file is created by the ExportiSCSI command. Supported By Windows Only Syntax ImportiSCSI Parameters Example In this example, the command imports the iSCSI targets found in the targets.xml file to the iSCSI ports found on the host, and erases the iSCSI configuration (including targets) of all iSCSI ports on these host before importing the targets. hbacmd ImportiSCSI targets.xml clean The example output: All existing targets have been removed. Added target iqn.2006-01.com.openfiler:target121-000.on.port.00-00-c9-be-1a-24 Added target iqn.2006-01.com.openfiler:target121-001.on.port.00-00-c9-be-1a-24 MAC_Address The MAC address of an iSCSI port. iscsi_target_name Target’s iSCSI name enclosed in quotes (string length: 11–255). TSIH TSIH value of the session (value: 1–65535). ISID_Qual ISID qualifier of the session (value: 0–65535). Target_IP The Target's IP address. You can specify an IPv4 or IPv6 IP address. Import_File The name of XML file containing import information that was generated by the ExportiSCSI command (see “ExportiSCSI” on clean Erases entire iSCSI configuration on all iSCSI ports before importing targets. Note: This command fails if the system is booted from an iSCSI target.