Emulex OneCommand Manager Application User Manual (P006979-01A Version 5.2, August 2011)

The OneCommand Manager User Manual Page 198
SetAuthConfig
Supported by: Windows, Solaris and Linux
Syntax:
hbacmd SetAuthConfig <WWPN1> <WWPN2> <PasswordType> <Password> <Parameter>
<Value>
Description: This command sets the authentication configuration for the adapter.
Parameters:
WWPN1 - Adapter’s WWPN
WWPN2 - Must be "ff:ff:ff:ff:ff:ff:ff:ff" for a switch or the actual WWPN for a target
PasswordType -
1 = ASCII
2 = Hex (binary)
3 = Password not yet defined
Password - Current password value
Parameter -
Mode
Timeout
Bi-directional
Hash-priority
DH-priority
Re-authentication
Re-authentication-interval
Value - Parameter-specific value:
Mode = <disabled, enabled, passive>
Timeout = time in seconds
Bi-directional = <disabled, enabled>
Hash-priority = <md5, sha1> (md5 = first md5, then sha1; sha1 = first sha1, then md5)
DH-priority = <1,2,3,4,5>, any combination up to 5 digits
Re-authentication = <disabled, enabled>
Re-authentication-interval = < 0, 10 - 3600>
SetPassword
Supported by: Windows, Solaris and Linux
Syntax:
hbacmd SetPassword <WWPN1> <WWPN2> <Flag> <Cpt> <Cpw> <Npt> <Npw>
Description: This command sets the password for the adapter.
Parameters:
WWPN1 - Adapter’s WWPN
WWPN2 - Must be "ff:ff:ff:ff:ff:ff:ff:ff" for switch, or the actual WWPN for target
Flag -
1 = Local (password used by adapter when adapter authenticates to the switch)
2 = Remote (password used by adapter when switch authenticates to the adapter)