Difference between revisions of "ESXi - 6.7 iscsi"
Jump to navigation
Jump to search
Line 60: | Line 60: | ||
'''NAME''' | '''NAME''' | ||
-A|--adapter=<str> The iSCSI adapter name. (required) | -A|--adapter=<str> The iSCSI adapter name. (required) | ||
==== sendtarget ==== | |||
* '''list''' | |||
: List sendtarget addresses | |||
:* <code>esxcli iscsi adapter discovery sendtarget list</code> | |||
* '''add''' | |||
: Add a sendtarget address | |||
:* <code>esxcli iscsi adapter discovery sendtarget add</code> | |||
* '''remove''' | |||
: Remove a sendtarget address | |||
:* <code>esxcli iscsi adapter discovery sendtarget remove</code> | |||
===== auth ===== | |||
====== chap ====== | |||
* '''get''' | |||
: Get iSCSI CHAP authentication on a sendtarget address | |||
:* <code>esxcli iscsi adapter discovery sendtarget auth chap get</code> | |||
* '''set''' | |||
: Set iSCSI CHAP authentication on a sendtarget address | |||
:* <code>esxcli iscsi adapter discovery sendtarget auth chap set</code> | |||
===== param ===== | |||
* '''get''' | |||
: Get iSCSI parameter on a sendtarget address | |||
:* <code>esxcli iscsi adapter discovery sendtarget param get</code> | |||
* '''set''' | |||
: Set the iSCSI parameter for the iSCSI Sendtarget. | |||
:* <code>esxcli iscsi adapter discovery sendtarget param set</code> | |||
==== statictarget ==== | |||
* '''list''' | |||
: List static target addresses | |||
:* <code>esxcli iscsi adapter discovery statictarget list</code> | |||
* '''add''' | |||
: Add a static target address | |||
:* <code>esxcli iscsi adapter discovery statictarget add</code> | |||
* '''remove''' | |||
: Remove a static target | |||
:* <code>esxcli iscsi adapter discovery statictarget remove</code> | |||
==== status ==== | |||
* '''get''' | |||
: Get the iSCSI adapter discovery status for the iSCSI Host Bus Adapter. | |||
:* <code>esxcli iscsi adapter discovery status get</code> | |||
== ibftboot == | == ibftboot == |
Revision as of 13:44, 9 February 2022
iscsi
VMware Internet Small Computer Systems Interface (iSCSI) commands.
adapter
- list
- List all the iSCSI Host Bus Adapters on the system.
esxcli iscsi adapter list
- get
- List the iSCSI information for the iSCSI Host Bus Adapter.
esxcli iscsi adapter get NAME
- set
- Set the iSCSI name and alias for the iSCSI Host Bus Adapter.
esxcli iscsi adapter set CMD_OPTIONS
- Set the iSCSI name and alias for the iSCSI Host Bus Adapter.
- List the iSCSI information for the iSCSI Host Bus Adapter.
NAME -A|--adapter=<str> The iSCSI adapter name. (required) CMD_OPTIONS -A|--adapter=<str> The iSCSI adapter name. (required) -a|--alias=<str> The iSCSI initiator alias. -n|--name=<str> The iSCSI initiator name. -s|--skip-if-session-active Do not change initiator name if a session is active on the adapter.
auth
chap
- get
- Get the iSCSI CHAP authentication for the iSCSI Host Bus Adapter.
esxcli iscsi adapter auth chap get CMD_OPTIONS
CMD_OPTIONS -A|--adapter=<str> The iSCSI adapter name. (required) -d|--direction=<str> The iSCSI CHAP authentication direction. Options are: [uni, mutual]
- set
- Set the iSCSI CHAP authentication for the iSCSI Host Bus Adapter.
esxcli iscsi adapter auth chap set CMD_OPTIONS
CMD_OPTIONS -A|--adapter=<str> The iSCSI adapter name. (required) -N|--authname=<str> The iSCSI CHAP authentication name -D|--default Resetting iSCSI CHAP authenthication setting to default. -d|--direction=<str> The iSCSI CHAP authentication direction. Options are: [uni, mutual] -l|--level=<str> The iSCSI CHAP authentication level. Options are: [prohibited, discouraged, preferred, required] -S|--secret=<str> The iSCSI CHAP authentication secret. The recommended length is at least 12 bytes. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt.
capabilities
- get
- List the iSCSI details for the iSCSI Host Bus Adapter.
esxcli iscsi adapter capabilities get NAME
NAME -A|--adapter=<str> The iSCSI adapter name. (required)
discovery
- rediscover
- Do the iSCSI Discovery for the iSCSI Host Bus Adapter.
esxcli iscsi adapter discovery rediscover NAME
NAME -A|--adapter=<str> The iSCSI adapter name. (required)
sendtarget
- list
- List sendtarget addresses
esxcli iscsi adapter discovery sendtarget list
- add
- Add a sendtarget address
esxcli iscsi adapter discovery sendtarget add
- remove
- Remove a sendtarget address
esxcli iscsi adapter discovery sendtarget remove
auth
chap
- get
- Get iSCSI CHAP authentication on a sendtarget address
esxcli iscsi adapter discovery sendtarget auth chap get
- set
- Set iSCSI CHAP authentication on a sendtarget address
esxcli iscsi adapter discovery sendtarget auth chap set
param
- get
- Get iSCSI parameter on a sendtarget address
esxcli iscsi adapter discovery sendtarget param get
- set
- Set the iSCSI parameter for the iSCSI Sendtarget.
esxcli iscsi adapter discovery sendtarget param set
statictarget
- list
- List static target addresses
esxcli iscsi adapter discovery statictarget list
- add
- Add a static target address
esxcli iscsi adapter discovery statictarget add
- remove
- Remove a static target
esxcli iscsi adapter discovery statictarget remove
status
- get
- Get the iSCSI adapter discovery status for the iSCSI Host Bus Adapter.
esxcli iscsi adapter discovery status get