HP StorageWorks 2/16V Brocade Fabric OS Command Reference Manual (53-1000240-0 - Page 336
To delete a target entry, To clear the target database
View all HP StorageWorks 2/16V manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 336 highlights
2 Note: Enter commands in lowercase only; mixed case is for readability. iscsiCfg 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: State/Status: iqn.2005-10.com.brocade.tgt1 Offline/Defined Name: State/Status: iqn.2222-23.com.brocade:21:00:00:20:37:df:83:fc 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 2 21:00:00:20:37:df:83:fc iqn.2002-12.com.brocade:21:00:00:20:37:df:83:fc Operation Succeeded 2-302 Fabric OS Command Reference Manual Publication Number: 53-1000240-01