Brocade Fabric OS Command Reference Manual (53-1000240-01, November 2006)

Fabric OS Command Reference Manual 2-303
Publication Number: 53-1000240-01
iscsiCfg
2
Note: Enter commands in lowercase only; mixed case is for readability.
To add a LUN map:
To display LUN maps:
To create a DD entry with a specified name and members:
To add a new member to an existing DD:
To display the DD database:
To create a DD set entry:
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.
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
switch:admin> iscsicfg --create dd -d mynewdd -m iqn.2222
23.mytest1,iqn.234358.newtest1
The operation completed successfully.
switch:admin> iscsicfg --add dd -d mynewdd -m iqn.2222-23.mytest3
The operation completed successfully.
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
switch:admin> iscsicfg --create ddset -n myddset -d mynewdd
The operation completed successfully.