Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

316 Fabric OS Command Reference Manual
53-1000436-01
iscsiCfg
2
2 21:00:00:20:37:df:83:fc
iqn.2002-12.com.brocade:21:00:00:20:37:df:83:fc Operation Succeeded
To add a LUN map:
switch:admin> iscsicfg --add lun -t iqn.2005-10.com.brocade.tgt1 -w
22:00:00:04:cf:20:5d:33 -l 0:0
The operation completed successfully.
switch:admin> iscsicfg --add lun -t iqn.2005-12.com.brocade.tgt2 -w
22:00:00:04:cf:75:5b:9a -l 2-5:5-8
The operation completed successfully.
To display LUN maps:
switch:admin> iscsicfg --show lun
Number of records found: 2
Target: iqn.2005-10.com.brocade.tgt1
Number of LUN Maps: 1
FC WWN Virtual LUN(s) Physical LUN(s)
22:00:00:04:cf:20:5d:33 0 0
Target: iqn.2222-23.com.brocade:50:06:0e:80:00:43:80:a2
Number of LUN Maps: 5
FC WWN Virtual LUN(s) Physical LUN(s)
50:06:0e:80:00:43:80:a2 0 0x0000000000000000
50:06:0e:80:00:43:80:a2 1 0x0001000000000000
50:06:0e:80:00:43:80:a2 2 0x0002000000000000
50:06:0e:80:00:43:80:a2 3 0x0009000000000000
50:06:0e:80:00:43:80:a2 4 0x003e000000000000
To create a DD entry with a specified name and members:
switch:admin> iscsicfg --create dd -d mynewdd -m iqn.2222
23.mytest1,iqn.234358.newtest1
The operation completed successfully.
To add a new member to an existing DD:
switch:admin> iscsicfg --add dd -d mynewdd -m iqn.2222-23.mytest3
The operation completed successfully.
To display the DD database:
switch:admin> iscsicfg --show dd
Number of records found: 1
Name: mynewdd
Status: Defined
Num. Members: 3
iqn.2222-23.mytest1
iqn.2343-58.newtest1
iqn.2222-23.mytest3
To create a DD set entry: