6.0

Table Of Contents
VMware, Inc. 65
Chapter 5 Managing iSCSI Storage
vicfg-iscsi Command Syntax
vicfg-iscsisupportsacomprehensivesetofoptions,listedinTable 54.
Table 5-4. Options for vicfg-iscsi
Option Suboptions Description
-A --authentication
-c <level>
-m <auth_method> -b
-v <ma_username>
-x <ma_password>
[-i <stor_ip_addr|stor_hostname> [:<portnum>] [-n <iscsi_name>]]
<adapter_name>
--level <level>
--method <auth_method> --mutual
--mchap_username
<ma_username>
--mchap_password <ma_password>
[
--
ip
<stor_ip_addr|stor_hostname> [:<portnum>]
[--name <iscsi_name>]] <adapter_name>
Enablesmutualauthentication.
Youmustenableauthentication
beforeyoucanenablemutual
authentication.
-A --authentication
-c <level>
-m <auth_method>
-u <auth_u_name>
-w <a_password>
[-i <stor_ip_addr|stor_hostname> [:<portnum>] [-n <iscsi_name>]]
<adapter_name>
--level <level>
--method <auth_method>
--chap_password
<auth_u_name>
--chap_username <chap_password>
[
--
ip
<stor_ip_addr|stor_hostname> [:<portnum>]
[--name <iscsi_name>]] <adapter_name>
Enablesauthenticationusingthe
specifiedoptions.
-A --authentication
-l <adapter_name>
--list <adapter_name>
Listssupportedauthentication
methods.
-D --discovery
-a -i <stor_ip_addr|stor_hostname[:<portnum>] <adapter_name>
--add --ip <stor_ip_addr|stor_hostname> [:<portnum>]
<adapter_name>
Addsadynamicdiscovery
address.
-D --discovery
-l <adapter_name>
--list <adapter_name>
Listsdynamicdiscovery
addresses.
-D --discovery
-r -i <stor_ip_addr|stor_hostname>[:<portnum>] <adapter_name>
--remove --ip <stor_ip_addr|stor_hostname> [:<portnum>]
<adapter_name>
Removesadynamicdiscovery
address.
-H
-l [<adapter_name>]
--list [<adapter_name>]
ListsalliSCSIadaptersora
specifiedadapter.
-L --lun
-l <adapter_name>
--list <adapter_name>
ListsLUNinformation.