rmhostconnect

The rmhostconnect command removes a SCSI host port connection from a storage image.

Read syntax diagramSkip visual syntax diagram
>>-rmhostconnect--+-------------------------+--+---------+------>
                  '- -dev--storage_image_ID-'  '- -quiet-'   

>--+-host_connection_ID-+--------------------------------------><
   '-" - "--------------'   

Parameters

-dev storage_image_ID
(Optional) Specifies the storage image ID, which consists of the manufacturer, type, and serial number. This parameter is required if you do not specify a fully qualified ID for all host connections.
-quiet
(Optional) Turns off the confirmation prompt.
host_connection_ID | -
(Required) Specifies the host connect ID, which is a unique identifier that uses any number from 0 - FFFE within the scope of a storage image. This parameter accepts a fully qualified ID (includes manufacture.type-serial number/hostconnectID) or a shortened version if the -dev parameter is specified.
Example of a fully qualified host connection ID: IBM.1750-68FA120/2
If you specify the dash (-), this parameter information is automatically supplied.
Attention: Use caution when you work with connection IDs to ensure that you have specified the connection that you want to delete. For instance, if you intend to delete connection ID 0005 and type 000, the system deletes connection ID 0. Or, if you want to delete connection ID 0020 and type 002, the system deletes connection ID 2. The system does not consider the leading zeros, and 000 is interpreted as connection ID 0 and 002 is interpreted as connection ID 2.

Example (1750)

Invoking the rmhostconnect command
dscli>rmhostconnect -dev IBM.1750-68FA120 1
The resulting output
Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0 DS: IBM.1750-68FA120

Are you sure you want to delete Host Connection IBM.1750-68FA120/1? y/n Y
Host Connection IBM.1750-68FA120/1 successfully deleted.
Related tasks
Removing fixed block or count key data storage
Related reference
setioport
lsioport
showioport
mkhostconnect
chhostconnect
managehostconnect
lshostconnect
showhostconnect
lshosttype
lsportprof
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.