Define a security policy method for an initiator
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.
You can generate unique passwords using security policy algorithms in the product or you can manually specify the passwords that you want to use.
Not all initiators support hexadecimal CHAP secret passwords.
vserver iscsi security createcommand 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
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.