The sdcli utility provides command-line support for managing connections to iSCSI targets.
More information
The iscsi_target disconnect command
The iscsi_target disconnect command disconnects the specified iSCSI initiator from the specified iSCSI target on all portals.
The iscsi_target list command
The iscsi_target list command displays a list of all iSCSI targets. For each target, the command displays all portals through which the target is available or to which the target is connected.