HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual
iSCSI Port Settings
The InForm OS CLI controliscsiport command is described in detail the HP 3PAR InForm
OS Command Line Interface Reference and the CLI Help Pages. Use the controliscsiport
command to perform the following tasks:
• To set the IP address and netmask of the iSCSI port, use the addr sub-command followed by
the IP address and netmask, then the port location in node:slot:port (N:S:P) format.
To set the IP address and netmask of the iSCSI port, issue the controliscsiport addr
<IP_address> <netmask> <node:slot:port> command.
• To set the gateway address of the iSCSI port, use the gw sub-command followed by the gateway
address, then the port location in node:slot:port (N:S:P) format.
Issue thecontroliscsiport gw <gw_address> <node:slot:port> command.
• To set the TCP port number for the iSNS server, use the isnsport sub-command followed
by the iSNS server port number, then the port location in node:slot:portt (N:S:P)
format.
To set the TCP port number for the iSNS server, issue thecontroliscsiport isnsport
<isns_port> <node:slot:port> command.
NOTE: Other options are available for the controliscsiport command, including options
setting the primary and secondary iSNS server IP addresses, setting the Maximum Transmission
Unit (MTU) size for the iSCSI port, and using the Dynamic Host Configuration Protocol (DHCP).
These options are described in detail the HP 3PAR InForm OS Command Line Interface Reference
and the CLI Help Pages.
Port Target, Initiator, and Peer Modes
The system controller node ports operate in different modes. Depending on the type of port, the
port may operate in target, initiator, or peer mode.
Fibre Channel ports use the following firmware mode settings:
• Target mode for ports that connect to hosts and receive commands from those hosts.
• Initiator mode for ports that connect to the system physical disks and send commands to those
disks.
• Initiator mode for Remote Copy over FC (RCFC).
iSCSI ports use the following firmware mode settings:
• Target mode for ports that connect to hosts and receive commands from those hosts.
Gigabit Ethernet ports use the following firmware mode setting:
• Peer mode for Ethernet ports, used for Remote Copy over IP (RCIP).
Use the InForm OS CLI showport command to display the current mode for all ports. Use the
controlport command to change the mode of an FC port. These commands are described in
detail the HP 3PAR InForm OS Command Line Interface Reference and the CLI Help Pages.
CAUTION: Ports in the same Fibre Channel adapter should be set to the same mode.
• For dual-port LSI cards, both ports must use the same mode.
• For quad-port LSI cards, each port pair (ports 1&2 and 3&4) must use the same mode.
• For QLogic cards, it is strongly recommended that all ports in a card be set to the same mode.
Port Target, Initiator, and Peer Modes 69