esxcli iscsi Commands

Command Description Options Help
iscsi adapter auth chap get Get the iSCSI CHAP authentication for the iSCSI Host Bus Adapter.
--adapter | -A
The iSCSI adapter name.
--direction | -d
The iSCSI CHAP authentication direction ( [uni, mutual])
--help | -h
Show the help message.
iscsi adapter auth chap set Set the iSCSI CHAP authentication for the iSCSI Host Bus Adapter.
--adapter | -A
The iSCSI adapter name.
--authname | -N
The iSCSI CHAP authentication name
--default | -D
Resetting iSCSI CHAP authenthication setting to default.
--direction | -d
The iSCSI CHAP authentication direction ( [uni, mutual])
--help | -h
Show the help message.
--level | -l
The iSCSI CHAP authentication level ( [prohibited, discouraged, preferred, required])
--secret | -S
The iSCSI CHAP authentication secret
iscsi adapter capabilities get List the iSCSI details for the iSCSI Host Bus Adapter.
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
iscsi adapter discovery rediscover Do the iSCSI Discovery for the iSCSI Host Bus Adapter.
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
iscsi adapter discovery sendtarget add Add a sendtarget address
--adapter | -A
The iSCSI adapter name.
--address | -a
The iSCSI sendtarget address: <ip/dns[:port]>
--help | -h
Show the help message.
iscsi adapter discovery sendtarget auth chap get Get iSCSI CHAP authentication on a sendtarget address
--adapter | -A
The iSCSI adapter name.
--address | -a
The iSCSI sendtarget address: <ip/dns[:port]>
--direction | -d
The iSCSI authentication direction ( [uni, mutual])
--help | -h
Show the help message.
iscsi adapter discovery sendtarget auth chap set Set iSCSI CHAP authentication on a sendtarget address
--adapter | -A
The iSCSI adapter name.
--address | -a
The iSCSI sendtarget address: <ip/dns[:port]>
--authname | -N
The iSCSI authentication name
--default | -D
Resetting iSCSI authentication setting to default.
--direction | -d
The iSCSI authentication direction ( [uni, mutual])
--help | -h
Show the help message.
--inherit | -I
Inheriting iSCSI authentication setting from parent.
--level | -l
The iSCSI authentication level ( [prohibited, discouraged, preferred, required])
--secret | -S
The iSCSI authentication secret
iscsi adapter discovery sendtarget list List sendtarget addresses
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
iscsi adapter discovery sendtarget param get Get iSCSI parameter on a sendtarget address
--adapter | -A
The iSCSI adapter name.
--address | -a
The iSCSI sendtarget address: <ip/dns[:port]>
--help | -h
Show the help message.
iscsi adapter discovery sendtarget param set Set the iSCSI parameter for the iSCSI Sendtarget.
--adapter | -A
The iSCSI adapter name.
--address | -a
The iSCSI sendtarget address: <ip/dns[:port]>
--default | -D
Resetting iSCSI parameter setting to default.
--help | -h
Show the help message.
--inherit | -I
Inheriting iSCSI parameter setting from parent.
--key | -k
The iSCSI parameter key
--value | -v
The iSCSI parameter value
iscsi adapter discovery sendtarget remove Remove a sendtarget address
--adapter | -A
The iSCSI adapter name.
--address | -a
The iSCSI sendtarget address: <ip/dns[:port]>
--help | -h
Show the help message.
iscsi adapter discovery statictarget add Add a static target address
--adapter | -A
The iSCSI adapter name.
--address | -a
The iSCSI target address: <ip/dns[:port]>
--help | -h
Show the help message.
--name | -n
The iSCSI target name.
iscsi adapter discovery statictarget list List static target addresses
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
iscsi adapter discovery statictarget remove Remove a static target
--adapter | -A
The iSCSI adapter name.
--address | -a
The iSCSI target address: <ip/dns[:port]>
--help | -h
Show the help message.
--name | -n
The iSCSI target name.
iscsi adapter discovery status get Get the iSCSI adapter discovery status for the iSCSI Host Bus Adapter.
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
iscsi adapter firmware get Validate the iSCSI firmware for the iSCSI Host Bus Adapter.
--adapter | -A
The iSCSI adapter name.
--file | -f
Path to the firmware file to retrieve information from.
--help | -h
Show the help message.
iscsi adapter firmware set Upload the iSCSI firmware for the iSCSI Host Bus Adapter.
--adapter | -A
The iSCSI adapter name.
--file | -f
Path to the firmware file to download.
--help | -h
Show the help message.
iscsi adapter get List the iSCSI information for the iSCSI Host Bus Adapter.
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
iscsi adapter list List all the iSCSI Host Bus Adapters on the system.
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
iscsi adapter param get Get the iSCSI parameters for the iSCSI Host Bus Adapter.
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
iscsi adapter param set Set the iSCSI parameter for the iSCSI Host Bus Adapter.
--adapter | -A
The iSCSI adapter name.
--default | -D
Resetting iSCSI parameter setting to default.
--help | -h
Show the help message.
--key | -k
The iSCSI initiator parameter key.
--value | -v
The iSCSI initiator parameter value.
iscsi adapter set Set the iSCSI name and alias for the iSCSI Host Bus Adapter.
--adapter | -A
The iSCSI adapter name.
--alias | -a
The iSCSI initiator alias.
--help | -h
Show the help message.
--name | -n
The iSCSI initiator name.
iscsi adapter target list List iSCSI targets.
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
--name | -n
The iSCSI target name.
iscsi adapter target portal auth chap get Get iSCSI CHAP authentication on a target
--adapter | -A
The iSCSI adapter name.
--address | -a
The iSCSI target address: <ip/dns[:port]>
--direction | -d
The iSCSI authentication direction ( [uni, mutual])
--help | -h
Show the help message.
--method | -m
The iSCSI authentication method ( [chap])
--name | -n
The iSCSI target name: <iqn/eui>
iscsi adapter target portal auth chap set Set the iSCSI CHAP authentication for the iSCSI Target.
--adapter | -A
The iSCSI adapter name.
--address | -a
The iSCSI target address: <ip/dns[:port]>
--authname | -N
The iSCSI authentication name
--default | -D
Resetting iSCSI authentication setting to default.
--direction | -d
The iSCSI authentication direction ( [uni, mutual])
--help | -h
Show the help message.
--inherit | -I
Inheriting iSCSI authentication setting from parent.
--level | -l
The iSCSI authentication level ( [prohibited, discouraged, preferred, required])
--name | -n
The iSCSI target name: <iqn/eui>
--secret | -S
The iSCSI authentication password
iscsi adapter target portal list List iSCSI target portals.
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
--name | -n
The iSCSI target name.
iscsi adapter target portal param get Get iSCSI parameter on a target
--adapter | -A
The iSCSI adapter name.
--address | -a
The iSCSI target address: <ip/dns[:port]>
--help | -h
Show the help message.
--name | -n
The iSCSI target name: <iqn/eui>
iscsi adapter target portal param set Set the iSCSI parameter for the iSCSI Target.
--adapter | -A
The iSCSI adapter name.
--address | -a
The iSCSI target address: <ip/dns[:port]>
--default | -D
Resetting iSCSI parameter setting to default.
--help | -h
Show the help message.
--inherit | -I
Inheriting iSCSI parameter setting from parent.
--key | -k
The iSCSI parameter key
--name | -n
The iSCSI target name: <iqn/eui>
--value | -v
The iSCSI parameter value
iscsi ibftboot get Get iSCSI IBFT Boot details.
--help | -h
Show the help message.
iscsi ibftboot import Import iSCSI target configuration from iBFT to ESX iSCSI initiators. The boot target recorded in iBFT is added to all the eligible 'dependent' iSCSI adapters.
--help | -h
Show the help message.
iscsi logicalnetworkportal list List Logical Network Portals for iSCSI Adapter
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
iscsi networkportal add Add a network portal for iSCSI adapter
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
--nic | -n
The iSCSI network portal (bound vmknic)
iscsi networkportal ipconfig get Get iSCSI network portal ip configuration
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
--nic | -n
The iSCSI network portal (vmknic)
iscsi networkportal ipconfig set Set iSCSI network portal IP configuration
--adapter | -A
The iSCSI adapter name.
--dns1 | -1
The iSCSI network portal primary DNS address
--dns2 | -2
The iSCSI network portal secondary DNS address
--gateway | -g
The iSCSI network portal gateway address
--help | -h
Show the help message.
--ip | -i
The iSCSI network portal IP address
--nic | -n
The iSCSI network portal (vmknic)
--subnet | -s
The iSCSI network portal subnet mask
iscsi networkportal list List Network Portal for iSCSI Adapter
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
iscsi networkportal remove Remove a network portal for iSCSI adapter
--adapter | -A
The iSCSI adapter name.
--force | -f
The force flag (force removal of iSCSI vmknic when sessions are active using it)
--help | -h
Show the help message.
--nic | -n
The iSCSI network portal (bound vmknic)
iscsi physicalnetworkportal list List Physical Network Portal for iSCSI Adapter
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
iscsi physicalnetworkportal param get Get network parameters on a Physical Network Portal (vmnic)
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
--nic | -n
The physical network portal name: <vmnic>
iscsi physicalnetworkportal param set Set network parameter on a Physical Network Portal
--adapter | -A
The iSCSI adapter name.
--enabled | -e
Enable or disable a Physical Network Portal option
--help | -h
Show the help message.
--nic | -n
The physical network portal name: <vmnic>
--option | -o
The network parameter option
iscsi plugin list List IMA plugins.
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
--plugin | -p
The IMA plugin file name.
iscsi session add Login sessions on current iSCSI configuration.
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
--isid | -s
The isid of a session to duplicate for login.
--name | -n
The iSCSI target name.
iscsi session connection list List iSCSI connections.
--adapter | -A
The iSCSI adapter name.
--cid | -c
The iSCSI connection identifier(CID).
--help | -h
Show the help message.
--isid | -s
The iSCSI session identifier(ISID).
--name | -n
The iSCSI target name.
iscsi session list List iSCSI Sessions.
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
--isid | -s
The iSCSI session identifier.
--name | -n
The iSCSI target name.
iscsi session remove Logout sessions on current iSCSI configuration.
--adapter | -A
The iSCSI adapter name.
--help | -h
Show the help message.
--isid | -s
The isid of a session to duplicate for login.
--name | -n
The name of the target to login to.
iscsi software get Software iSCSI information.
--help | -h
Show the help message.
iscsi software set Enable or disable software iSCSI.
--enabled | -e
Enable or disable the module.
--help | -h
Show the help message.