6.0

Table Of Contents
vSphere Command-Line Interface Concepts and Examples
86 VMware, Inc.
RemovesessionsfromthecurrentsoftwareiSCSIordependenthardwareiSCSIconfigurationwithtarget
andsessionID.
esxcli <conn_options> iscsi session remove --name=<iqn.xxxx> --isid=<session id>
--adapter=<iscsi_adapter>
iqn.xxxxisthetargetIQN,whichyoucandeterminebylistingallsessions.session_idisthesession’s
iSCSIID.
Forexample:
esxcli --config /host-config-file iscsi session remove --name=iqn.xxx
--session='00:02:3d:01:00:01' --adapter=vmhba36