Skip to main content

Set host port

The set hostPort command changes the properties for a host port.

Supported Arrays

This command applies to an individual DE2000H, DE4000H, DE4000F, DE6000H, or DE6000F storage array.

Roles

To execute this command on an storage array, you must have the Storage Admin role.

Context

Important
This command does not work in an iSCSI environment, where the host ports are considered initiators.

Syntax

set hostPort [<var id="GUID-CE6E0608-B3A9-405B-A87B-F76DADA6E276__V1110897" className="keyword varname">portLabel</var>] userLabel=<var id="GUID-CE6E0608-B3A9-405B-A87B-F76DADA6E276__V1110899" className="keyword varname">newPortLabel</var>
[host=<var id="GUID-CE6E0608-B3A9-405B-A87B-F76DADA6E276__V1110105" className="keyword varname">hostName</var>]

Parameters

ParameterDescription
hostPort The name of the host port for which you want to change the host type, or for which you want to create a new name. Enclose the host port name in square brackets ([ ]). If the host port name has special characters or numbers, enclose the host port name in double quotation marks (" ") inside square brackets.
userLabel The new name that you want to give to the host port. Enclose the new name of the host port in double quotation marks (" ").
host The name of the host for which you are defining an HBA host port. Enclose the host name in double quotation marks (" ").

Notes

You can use any combination of alphanumeric characters, hyphens, and underscores for the user label. User labels can have a maximum of 30 characters.