6.5

Table Of Contents
The system returns information about the vendor, model, description, and serial number of the HBA.
n
Run vicfg-iscsi -T | --target to list target information.
vicfg-iscsi <conn_options> -T -l <adapter_name>
vicfg-iscsi <conn_options> --target --list <adapter_name>
The system returns information about targets for the specied adapter, including the iSCSI name, in
IQN or EUI format, and alias. See “Discovery Target Names,” on page 71.
n
Run vicfg-iscsi -L|--lun to list LUN information.
vicfg-iscsi <conn_options> -L -l <adapter_name>
vicfg-iscsi <conn_options> --lun --list <adapter_name>
The command returns the operating system device name, bus number, target ID, LUN ID, and LUN
size for the LUN.
n
Run vicfg-iscsi -L with -t to list only LUNs on a specied target.
vicfg-iscsi <conn_options> -L -l -t <target_ID> <adapter_name>
vicfg-iscsi <conn_options> --lun --list --target_id <target_id> <adapter_name>
The system returns the LUNs on the specied target and the corresponding device name, device
number, LUN ID, and LUN size.
n
Run vicfg-iscsi -p|--pnp to list physical network portal information for independent hardware iSCSI
devices. You can also use this option with --mtu.
vicfg-iscsi <conn_options> -p -l <adapter_name>
vicfg-iscsi <conn_options> --pnp --list <adapter_name>
The system returns information about the MAC address, MTU, and current transfer rate.
n
Run vicfg-iscsi -I -l to list information about the iSCSI initiator. ESXi systems use a software-based
iSCSI initiator in the VMkernel to connect to storage. The command returns the iSCSI name, alias name,
and alias seable bit for the initiator.
vicfg-iscsi <conn_options> -I -l vmhba42
n
Run vicfg-iscsi -p -M to set the MTU for the adapter. You must specify the size and adapter name.
vicfg-iscsi <conn_options> -p -M <mtu_size> <adapter_name>
vicfg-iscsi <conn_options> --pnp --mtu <mtu-size> <adapter_name>
Listing and Setting iSCSI Parameters
You can list and set iSCSI parameters for software iSCSI and for dependent hardware iSCSI by using
ESXCLI or vicfg-iscsi.
Listing and Setting iSCSI Parameters with ESXCLI
You can list and set iSCSI parameters for software iSCSI and for dependent hardware iSCSI by using
ESXCLI.
You can retrieve and set iSCSI parameters by running one of the following commands.
vSphere Command-Line Interface Concepts and Examples
90 VMware, Inc.