Brocade Communications Systems 8 Command Reference Manual page 486

Fabric os command reference manual supporting fabric
Hide thumbs Also See for 8:
Table of Contents

Advertisement

2
iscsiCfg
To bind user CHAP to a target:
To unbind user CHAP from a target:
To clear the target database:
To create iSCSI targets with all available FC targets:
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:
454
switch:admin> iscsicfg --addusername tgt-t iqn.2005-10.com.brocade.tgt1 -u user1
The operation completed successfully.
switch:admin> iscsicfg --deleteusername tgt -t iqn.2005-10.com.brocade.tgt1 -u user1
The operation completed successfully.
switch:admin> iscsicfg --clear tgt
The operation completed successfully.
switch:admin> iscsicfg --easycreate tgt
This will create iSCSI targets for ALL FC targets.
This could be a long-running operation. Continue [N]: Y
Index FC WWN
iSCSI Name
[Output truncated]
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
22:00:00:04:cf:20:5d:33
Target: iqn.2222-23.com.brocade:50:06:0e:80:00:43:80:a2
Number of LUN Maps: 5
FC WWN
50:06:0e:80:00:43:80:a2
50:06:0e:80:00:43:80:a2
50:06:0e:80:00:43:80:a2
50:06:0e:80:00:43:80:a2
50:06:0e:80:00:43:80:a2
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.
Status
Virtual LUN(s)
Physical LUN(s)
0
0
Virtual LUN(s)
Physical LUN(s)
0
0x0000000000000000
1
0x0001000000000000
2
0x0002000000000000
3
0x0009000000000000
4
0x003e000000000000
Fabric OS Command Reference
53-1001764-02

Advertisement

Table of Contents
loading

Table of Contents