Fabric OS 6.2 administrator guide 317
-l
<n:n>
Maps the physical FC LUNs to virtual iSCSI LUNs and is specified as a pair:
LUNs:physical LUNs
The following is an 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.
6.
Enter the
iscsiCfg
--
show lun
command with
–t
<IQN>
options to verify that the LUN has been
added to the iSCSI VT, where -t is the IQN that identifies the iSCSI VT.
The following is an example.
switch:admin>
iscsicfg --show lun -t
iqn.2002-12.com.brocade:example-disk001
Number of targets found: 1
Target: iqn.2006-10.com.example:disk001
Number of LUN Maps: 1
FC WWN Virtual LUN(s) Physical LUN(s)
21:00:00:04:cf:e7:73:7e 0 0
Mapping LUNs on a specific port to an iSCSI VT
1.
Connect to the switch and log in.
2.
Enter the
iscsiCfg
--
add lun
command with
–t
<IQN>
,
–w
<port_WWN>
,
and –l
<n:n>
options to add LUNs attached to a specific port device to an iSCSI VT
where:
-t
<IQN>
Specifies the unique IQN name for the iSCSI VT in the format:
iqn.2002-12.com.brocade
:<user_defined_name>
.
-w
<port_WWN>
Specifies the port WWN of the physical FC target
-l
<n:n>
Maps the physical FC LUNs to virtual iSCSI LUNs and is specified as a pair:
LUNs:physical LUNs
The following example maps two LUNs attached to port 2f:ff:00:06:2b:0d:12:99 to an iSCSI VT
named iqn.2002-12.com.brocade:example-disk001.
switch:admin>
iscsicfg --add lun -t
iqn.2002-12.com.brocade:example-disk001 \
-w 2f:ff:00:06:2b:0d:12:99 -l 1-2:0-1
The operation completed successfully.
switch:admin>
iscsicfg --show
lun -t
iqn.2002-12.com.brocade:example-disk001
Number of targets found: 1
Target:
iqn.2002-12.com.brocade:example-disk001
Number of LUN Maps: 2
FC WWN Virtual LUN(s) Physical LUN(s)
21:00:00:04:cf:e7:73:7e 0 0
2f:ff:00:06:2b:0d:12:99 1-2 0-1
Summary of Contents for A7533A - Brocade 4Gb SAN Switch Base
Page 1: ...HP StorageWorks Fabric OS 6 2 administrator guide Part number 5697 0016 Edition May 2009 ...
Page 24: ...24 ...
Page 99: ...Fabric OS 6 2 administrator guide 99 ...
Page 100: ...100 Managing user accounts ...
Page 118: ...116 Configuring standard security features ...
Page 164: ...162 Configuring advanced security features ...
Page 234: ...232 Installing and maintaining firmware ...
Page 268: ...266 Administering advanced zoning ...
Page 284: ...282 Configuring Enterprise class platforms ...
Page 292: ...290 Routing traffic ...
Page 294: ...292 Interoperability for merged SANs ...
Page 302: ...300 Configuring the Distributed Management Server ...
Page 334: ...332 iSCSI gateway service ...
Page 340: ...338 Administering NPIV ...
Page 407: ...Fabric OS 6 2 administrator guide 405 ...
Page 408: ...406 Using the FC FC routing service ...
Page 438: ...434 Administering extended fabrics ...
Page 460: ...456 Administering ISL trunking ...
Page 516: ...512 FICON fabrics ...
Page 526: ...522 Configuring and monitoring FICON Extension Services ...
Page 540: ...536 Configuring the PID format ...
Page 544: ...540 Understanding legacy password behavior ...
Page 546: ...542 Mixed fabric configurations for non merge SANs ...
Page 550: ...546 Migrating from an MP Router to a 400 MP Router ...
Page 558: ...554 Inband Management ...
Page 572: ...568 ...