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

The OneCommand Manager User Manual Page 231
Auth -
0 = None
1= One-Way CHAP
2 = Mutual CHAP (default: 0)
TgtCHAPName - Target CHAP name enclosed in quotes (string length: 1-256)
TgtSecret - Target Secret enclosed in quotes (string length: 12-16)
InitCHAPName - Initiator CHAP name enclosed in quotes (string length: 1-256)
InitSecret - Initiator Secret enclosed in quotes (string length: 12-16)
SetNetworkConfiguration
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd [h=host_IP[:port] | hostname[:port]] SetNetworkConfiguration
<MAC_Address> <VLAN_ENABLED=<0|1> [<VLAN_ID=<0-4096>> <Priority=<0-7>>]
<DHCP=<0|1>> [<IP_Address> <Subnet_Mask> [Gateway]]
Description: This command sets the TCP/IP configuration on a specified port. The required fields for
this command depend upon the values set for DHCP <DHCP> and VLAN Enabled <VLAN_ENABLED>.
Parameters:
MAC_Address - MAC address of the CNA port
VLAN_ENABLED - 0 = Disabled, 1 = Enabled
VLAN_ID - VLAN ID of the interface (value: 0-4095)
Priority - VLAN priority of the interface (value: 0-7)
DHCP -
0 = Disabled
1 = Enabled
IP_Address - New IP address (for example: 10.192.1.1)
Subnet_Mask - Subnet Mask (for example: 255.255.255.0)
Gateway - Gateway (for example: 10.192.1.1)
Note: If you set Auth to 1, you must also specify the TgtCHAPName and TgtSecret. If
you set Auth is set to a value of 2, you must also specify the TgtCHAPName,
TgtSecret, InitCHAPName, and InitSecret.
Note: VLAN_ID and Priority are required only if VLAN_ENABLED is enabled;
otherwise, these values should be omitted.
Note: IP_Address and Subnet_Mask are required only if DHCP is disabled; otherwise
these values should be omitted.