If you need to make changes in the networking configuration that you use for iSCSI traffic, for example, remove a NIC or an iSCSI port, make sure to disconnect the iSCSI port from the iSCSI adapter.

Important

If active iSCSI sessions exist between your host and targets, you cannot disconnect the iSCSI port.

1

Use the vSphere CLI to disconnect the iSCSI port from the iSCSI adapter.

esxcli swiscsi nic remove -n port_name -d vmhba

2

Verify that the port was disconnected from the iSCSI adapter.

esxcli swiscsi nic list -d vmhba

3

Use the vSphere Client to rescan the iSCSI adapter.