chhostport

The chhostport command modifies an open systems host port.

Read syntax diagramSkip visual syntax diagram chhostport  -dev   storage_image_ID  -host   shost_name  -quiet  WWPN " - "

Parameters

-dev storage_image_ID
(Optional) The storage image ID, which consists of manufacturer, machine type, and serial number. The storage image ID is required if you do not specify a fully qualified host port. It is also required if you did not set the devid variable in your profile or through the setenv command, and the HMC is aware of more than one storage image. Using the -dev parameter temporarily overrides any defined value for devid for the current command.
-host host_name
(Required) The name of the host to which the host port is reassigned. If you specify a host name with a space, you must add double quotation marks around the host name.
-quiet
(Optional) Turns off the confirmation prompt for this command.
WWPN | -
(Required) The worldwide port name (WWPN) of the SCSI host port on the host system that is connected to the storage system, either directly or through a switch.

If you use the dash (-), the specified value is read from standard input. You cannot use the dash (-) while you are in the DS CLI interactive command mode.

Example: Modifying an open systems host port

dscli> chhostport -host host_2 12341234000A000F  
Output
Aug 11 02:23:49 PST 2018 DS CLI Version: 5.0.0.0 DS:IBM.2107-75FA120
Host Port 12341234000A000F successfully modified.