Brocade Fabric OS Administrator's Guide Supporting Fabric OS v6.3.0 (53-1001336-02, November 2009)

274 Fabric OS Administrator’s Guide
53-1001336-02
iSCSI virtual target configuration
12
Type Date Auth User defined
+--++------++----------++-----------------------+
iqn.2002-12.com.brocade:10:00:00:05:1e:aa:bb:cc
Every iSCSI initiator and iSCSI VT on the same IP network and SAN must have a unique IQN.
The default for the
type.date.naming authority: prefix portion may be changed using the
iscsiSwCfg
--modifygw -t tgtname command. Your organization may suggest or require a
specific format for the prefix portion of the IQN. The user defined portion may take any form.
The following is an example.
switch:admin> iscsicfg --create tgt -t iqn.2002-12.com.brocade:example-disk001
The operation completed successfully.
3. Enter the iscsiCfg --show tgt command with the -t IQN and -v options to verify the iSCSI VTs.
The following is an example.
switch:admin> iscsicfg --show tgt -t iqn.2002-12.com.brocade:example-disk001
-v
Number of records found: 1
Name: iqn.2002-10.com.brocade.example:disk001
State/Status: Offline/Defined
Auth. Method: None
4. Enter the fcLunQuery command to display a list of connected FC targets and show the LUN
configurations.
The following is an 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