Believe it or not this is very tough to find out the exact syntax in the HPE documentation.
Since it is a simple process, I have outlined it below:
1. Connect to the SAN controller via Putty
2. Run this command: set host-port-mode [FC | iSCSI | FC-and-iSCSI]
- 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
That's all there is to it.