Table of ContentsLibraryView in Frames

Defining an authentication method for an initiator

You can define a list of initiators and their authentication methods, as well as a default authentication method that applies to initiators that are not on this list.

Considerations

You can generate a random password, or you can specify the password you want to use.

Steps

  1. To generate a random password, enter the following command: iscsi security generate

    The storage system generates a 128-bit random password.

  2. For each initiator, enter the following command: iscsi security add -i initiator -s {chap | none | deny} -p inpassword -n inname [-o outpassword -m outname]

    initiator is the initiator name in the iSCSI nodename format.

    The -s option takes one of three values:
    • chap —Authenticate using a CHAP user name and password.
    • none —The initiator can access the storage system without authentication.
    • deny —The initiator cannot access the storage system.

    inpassword is the inbound password for CHAP authentication. The storage system uses the inbound password to authenticate the initiator.

    inname is a user name for inbound CHAP authentication. The storage system uses the inbound user name to authenticate the initiator.

    outpassword is a password for outbound CHAP authentication. The storage system uses this password for authentication by the initiator.

    outname is a user name for outbound CHAP authentication. The storage system uses this user name for authentication by the initiator.

    Note: If you generated a random password, you can use this string for either inpassword or outpassword. If you enter a string, the storage system interprets an ASCII string as an ASCII value and a hexadecimal string, such as 0x1345, as a binary value.