VMware ESX 4.1 and vCenter Server 4.1 Edition

iSCSI SAN Configuration Guide : Configuring iSCSI Initiators and Storage : Bind iSCSI Ports to iSCSI Adapters

Bind iSCSI Ports to iSCSI Adapters
Bind an iSCSI port that you created for a NIC to an iSCSI adapter. With the software iSCSI adapter, perform this task only if you set up two or more NICs for the iSCSI multipathing. If you use dependent hardware iSCSI adapters, the task is required regardless of whether you have multiple adapters or one adapter.
Complete the following tasks:
Identify the name of the iSCSI port assigned to the physical NIC.
The vSphere Client displays the port's name below the network label.
In the following graphic, the ports' names are vmk1 and vmk2.
The graphic shows the ports' names as vmk1 and vmk2.
Use the vSphere CLI command to bind the iSCSI port to the iSCSI adapter.
esxcli swiscsi nic add -n port_name -d vmhba
For software iSCSI, repeat this command for each iSCSI port connecting all ports with the software iSCSI adapter. With dependent hardware iSCSI, make sure to bind each port to an appropriate corresponding adapter.
Verify that the port was added to the iSCSI adapter.
esxcli swiscsi nic list -d vmhba