6.0

VMware, Inc. 21
Command-Line Management in vSphere 5 and vSphere 6 for Service Console Users
esxcfg-swiscsi and esxcfg-hwiscsi
TheESX4.xserviceconsoleincludestwocommandsforiSCSImanagement.
Theesxcfg-swiscsicommandmanagessoftwa reiSCSI.EquivalentESXCLIcommandsareavailablein
vSphere5.
Theesxcfg-hwiscsicommandmanagedhardwareiSCSI.
--remove-sp <sp> | network ip ipsec sp remove
--sa-dst <destination> network ip ipsec sa add --sadestination
network ip ipsec sa remove --sadestination
--sa-src <IP> | network ip ipsec sa add --sasource
network ip ipsec sa remove --sasource
--sa-name <name> | network ip ipsec sa add --saname
network ip ipsec sa remove --saname
--sp-dst <destination> | network ip ipsec sp add --spdestination
--spi <spi> | network ip ipsec sa add --saspi
network ip ipsec sa remove --saspi
--sp-src <source> | network ip ipsec sp add --spsource
--spmode <mode> | network ip ipsec sp add --spmode
--src-port <port> | network ip ipsec sp add --sourceport
--ulproto [any | tcp | udp | icmp6] network ip ipsec sp add --sourceport
--upperlayerprotocol
Table 13. esxcfg-swiscsi Replacement Commands
esxcfg-swiscsi Option ESXCLI Command Description
-e --enable iscsi software set --enabled=true EnableSoftwareiSCSIonthesystem,if
disabled.
-D --disable iscsi software set
--enabled=false
DisableSoftwareiSCSIonthesystem,if
enabled.
-q --query iscsi software get CheckifSoftwareiSCSIisenabledor
disabledonthesystem.
-s --scan iscsi adapter discovery rediscover
-A <adapter_name>
storage core adapter rescan [-A
<adapter_name> | -all]
Scanthesystemfordisksavailablethrough
SoftwareiSCSIinterface.Callthetwo
commandsinorder.
-k --kill Notsupported
-r --restore Notsupported
Table 12. esxcfg-ipsec Replacement Commands
vicfg-ipsec Option esxcli Command or Option