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

Fabric OS Command Reference Manual 315
53-1000436-01
iscsiCfg
2
The operation completed successfully.
To display the authentication database
switch:admin> iscsicfg --show auth
Number of records found: 1
Name Status
user1 Defined
To delete a CHAP entry:
switch:admin> iscsicfg --delete auth -u user1
The operation completed successfully.
To create a target entry:
switch:admin> iscsicfg --create tgt -t iqn.2005-10.com.brocade.tgt1
The operation completed successfully.
To modify the authentication method for a target:
switch:admin> iscsicfg --modify tgt -t iqn.2005-10.com.brocade.tgt1 -a CHAP
The operation completed successfully.
To display the target database:
switch:admin> iscsicfg --show tgt
Number of records found: 2
Name: iqn.2005-10.com.brocade.tgt1
State/Status: Offline/Defined
Name: iqn.2222-23.com.brocade:21:00:00:20:37:df:83:fc
State/Status: Online/Committed
To delete a target entry:
switch:admin> iscsicfg --delete tgt -t iqn.2005-10.com.brocade.tgt1
The operation completed successfully.
To clear the target database:
switch:admin> iscsicfg --clear tgt
The operation completed successfully.
To create iSCSI targets with all available FC targets:
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
Status
1 21:00:00:20:37:df:8e:e3 iqn.2002
12.com.brocade:21:00:00:20:37:df:8e:e3 Operation Succeeded