Configuration Mode Commands : Core iSCSI commands : storage iscsi portal host target add
  
storage iscsi portal host target add
Adds an iSCSI target configuration to the specified portal.
Syntax
[failover-peer] storage iscsi portal host <hostname> target add name <name> [port <port-number>] [snapshot-host <hostname>]
Parameters
failover-peer
Performs the command on the failover peer of the current appliance. If the failover peer is unavailable, the changed configuration is automatically applied when the appliance returns to service.
You can run failover-peer commands only on a Core appliance in ActiveSolo failover state.
<hostname>
Hostname of the iSCSI portal to which the target is to be added.
name <name>
Specifies the name of the target.
port <port-number>
Specifies a port number the iSCSI target is listening on. The default is 3260.
snapshot-host <hostname>
Specifies the IP address for the storage snapshot.
Example
Core_01 (config) # storage iscsi portal host 10.2.3.4 target add name iqn.2003-10.com.hoosgau:432716056 port 3260
 
Core_02 (config) # failover-peer storage iscsi portal host 10.2.3.4 target add name iqn.2003-10.com.hoosgau:432716056 port 3260
Product
Core