HP MSA 2040 CLI Reference Guide
166
set host-port-mode
set host-wwn-name (Deprecated)
Use set host-name.
set iscsi-host (Deprecated)
Use set host-name.
Description Changes host-interface characteristics for host ports in an MSA 2040 SAN controller module. For
both controller modules, all ports can be set to FC, all ports can be set to iSCSI, or the first two ports
in each controller module can be set to FC and the second two ports can be set to iSCSI.
This command will immediately restart the controllers and log event 236. After the controllers have
restarted, you can use the set host-parameters command to configure the individual ports.
Syntax
set host-port-mode
[FC|iSCSI|FC-and-iSCSI]
[noprompt]
Parameters FC|iSCSI|FC-and-iSCSI
Sets the port mode for each controller.
• FC: Sets all ports to FC.
• iSCSI: Sets all ports to iSCSI.
• FC-and-iSCSI: Sets the first two ports to FC and the second two ports to iSCSI.
noprompt
Optional in console format; required for XML API format. Suppresses the confirmation prompt, which
warns that both controllers will be restarted. Specifying this parameter allows the command to
proceed without user interaction.
Example For both controllers, set all ports to use iSCSI protocol:
# set host-port-mode iSCSI
This command will change host port configuration, stop I/O, and restart both
controllers. Do you want to continue? (y/n) y
Info: System host port mode set.
Success: Command completed successfully. (2013-05-21 08:55:45)
For both controllers, set the first two ports to use FC protocol and the second two ports to use iSCSI
protocol:
# set host-port-mode FC-and-iSCSI
This command will change host port configuration, stop I/O, and restart both
controllers. Do you want to continue? (y/n) y
Info: System host port mode set.
Success: Command completed successfully. (2013-05-21 08:55:45)
See also • set host-parameters
• show host-parameters
• show ports