Users Guide

Table Of Contents
3–QCS CLI Commands
Add Target
Doc No. TD-000971 Rev. 1
January 29, 2021 Page 34 Copyright © 2021 Marvell
Add Target
Manually configures a target and optionally persists that target. This command is
only available in the context of a host.
Syntax addtarget
{-t <TargetName>}
{-i <TargetPortalAddress>}
{-n <TargetPortalSocket>}
[-f <ifaceName>]
Keywords -t
Adds the specified target to the list of static targets.
-i
Specifies the IP address of the target portal.
-n
Specifies the socket number of the target portal.
-f
Specifies the iSCSI interface (iface) file name to which the static target will be
added. This option applies only to Linux hosts.
Examples The following example shows the addtarget command:
./QCScli "addtarget -t
iqn.2001-05.com.equallogic:0-8a0906-07f4b7e04-8496c0a767e54930 -i
192.168.100.10 -n 3260"
C Status DevType Name
- ------------ ------- ----------------------------------------------------
0 disconnected iSCSI.T
iqn.2001-05.com.equallogic:0-8a0906-07f4b7e04-8496c0a767e54930