The vicfg-iscsi command allows you to configure software or hardware iSCSI on ESX/ESXi hosts, set up CHAP parameters, and set up iSCSI networking.

For details, see the vSphere Command-Line Interface Installation and Scripting Guide and the vSphere Command-Line Interface Reference.