beautypg.com

Dell POWEREDGE M1000E User Manual

Page 485

background image

Fabric OS Command Reference

453

53-1001764-02

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: 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.