HP StorageWorks Fabric OS 6.1.1 administrator guide (5697-0235, December 2009)

Fabric OS 6.1.x administrator guide 269
For example:
switch:admin> fclunquery
Target Index: 1
Target Node WWN: 20:00:00:04:cf:e7:74:cf
Target Port WWN: 21:00:00:04:cf:e7:74:cf
Target Pid: 120d6
Number of LUNs returned by query: 1
LUN ID: 0x00
Target Index: 2
Target Node WWN: 20:00:00:04:cf:e7:73:7e
Target Port WWN: 21:00:00:04:cf:e7:73:7e
Target Pid: 120d9
Number of LUNs returned by query: 1
LUN ID: 0x00
Target Index: 3
Target Node WWN: 2f:ff:00:06:2b:0d:12:99
Target Port WWN: 2f:ff:00:06:2b:0d:12:99
Target Pid: 12300
Number of LUNs returned by query: 16
LUN ID: 0x00
LUN ID: 0x01
LUN ID: 0x02
LUN ID: 0x03
LUN ID: 0x04
LUN ID: 0x05
LUN ID: 0x06
LUN ID: 0x07
LUN ID: 0x08
LUN ID: 0x09
LUN ID: 0x0a
LUN ID: 0x0b
LUN ID: 0x0c
LUN ID: 0x0d
LUN ID: 0x0e
LUN ID: 0x0f
5. Issue the iscsiCfg --add lun command with –t <IQN>, –w <port WWN>, and –l <n:n>
options to add an FC device to an existing iSCSI VT, where:
-t specifies the unique IQN name for the iSCSI VT in the format:
iqn.2002-12.com.brocade:<user_defined_name>.
-w specifies the port WWN of the physical FC target.
-l maps the physical FC LUNs to virtual iSCSI LUNs and is specified as a pair:
LUNs:physical LUNs
For example.
switch:admin> iscsicfg --add lun -t iqn.2002-12.com.brocade:example-disk001 \
-w 21:00:00:04:cf:e7:73:7e -l 0:0
The operation completed successfully.