HP 8/24 Brocade Fabric OS Command Reference Manual v6.2.0 (53-1001186-01, Apri - Page 425
on any command to display the help text for the action and operand
View all HP 8/24 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 425 highlights
iscsiCfg 2 --commit all [-f] [-h] Commits the iSCSI configuration database to nonvolatile memory. Any modifications made to the database are not saved until an explicit --commit all is issued. If multiple switches in the fabric have uncommitted changes, this operation is rejected. The -f option needs to be used in this case to force the commit operation, in which case uncommitted changes on other switches are erased. -h Use -h on any command to display the help text for the action and operand combination. Examples To create a CHAP entry: switch:admin> iscsicfg --create auth -u user1 -s abcdefg123 The operation completed successfully. To modify a CHAP entry associated with an existing user: switch:admin> iscsicfg --modify auth -u user1 -s newsecret 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: 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. Fabric OS Command Reference 397 53-1001186-01