1. Identify the Virtual Adapter name (for example vmhbaX) assigned to the SW Initiator.

# esxcli iscsi adapter list

 

使用命令行查看iSCSI SW Initiator配置及网络_iscsi

2. Identify the vmknic (also known as the vmkernel port) connected to the Virtual Adapter identified in Step 1.

# esxcli iscsi logicalnetworkportal list

 

使用命令行查看iSCSI SW Initiator配置及网络_iscsi_02

3. Identify the Port Group name to which the vmkernel ports are attached

# esxcfg-vmknic –l

 

使用命令行查看iSCSI SW Initiator配置及网络_iscsi_03

4. Find the name of the Virtual Switch

# esxcli network vswitch standard portgroup list

 

使用命令行查看iSCSI SW Initiator配置及网络_iscsi_04

5. Find out the uplinks

# esxcfg-vswitch  -l

 

使用命令行查看iSCSI SW Initiator配置及网络_iscsi_05

前面1-4个命令可用以下命令代替:

# esxcli iscsi networkportal list

logical network final diagram

 

使用命令行查看iSCSI SW Initiator配置及网络_iscsi_06