Listing iSCSI Options with ESXCLI

You can use
esxcli iscsi
information retrieval commands to list external HBA properties, information about targets, and LUNs.
You can use the following
esxcli iscsi
options to list iSCSI parameters. Specify one of the options listed in Connection Options for vCLI Host Management Commands in place of
<conn_options>
.
  • Run
    esxcli iscsi adapter firmware
    to list or upload the firmware for the iSCSI adapter.
    esxcli <conn_options> iscsi adapter firmware get --adapter=<adapter_name> esxcli <conn_options> iscsi adapter firmware set --file=<firmware_file_path>
    The system returns information about the vendor, model, description, and serial number of the HBA.
  • Run commands in the
    esxcli iscsi adapter target
    name space.
    • esxcli iscsi adapter target portal
      lists and sets authentication and portal parameters.
    • esxcli iscsi adapter target list
      lists LUN information.