Skip to main content

Define a security policy method for an initiator

Contributors netapp-aherbin netapp-thomi netapp-ahibbard

You can define a list of initiators and their authentication methods. You can also modify the default authentication method that applies to initiators that do not have a user-defined authentication method.

About this task

You can generate unique passwords using security policy algorithms in the product or you can manually specify the passwords that you want to use.

Note

Not all initiators support hexadecimal CHAP secret passwords.

Steps
  1. Use the vserver iscsi security create command to create a security policy method for an initiator.

    vserver iscsi security create -vserver vs2 -initiator iqn.1991-05.com.microsoft:host1 -auth-type CHAP -user-name bob1 -outbound-user-name bob2

  2. Follow the screen commands to add the passwords.

    Creates a security policy method for initiator iqn.1991-05.com.microsoft:host1 with inbound and outbound CHAP user names and passwords.