HP Integrated Lights-Out 2 Management Processor Scripting and Command Line Resource Guide
<PRIM_DNS_SERVER VALUE="172.25.163.199"/>
<SEC_DNS_SERVER VALUE="0.0.0.0"/>
<TER_DNS_SERVER VALUE="0.0.0.0"/>
<PRIM_WINS_SERVER VALUE="172.25.163.199"/>
<SEC_WINS_SERVER VALUE="0.0.0.0"/>
<STATIC_ROUTE_1 DEST="0.0.0.0"
GATEWAY="0.0.0.0"/>
<STATIC_ROUTE_2 DEST="0.0.0.0"
GATEWAY="0.0.0.0"/>
<STATIC_ROUTE_3 DEST="0.0.0.0"
GATEWAY="0.0.0.0"/>
</GET_NETWORK_SETTINGS>
A possible unsuccessful request is:
<RESPONSE
STATUS = "0x0001"
MSG = "Error Message"/>
MOD_NETWORK_SETTINGS
MOD_NETWORK_SETTINGS is used to modify network settings. For this command to parse
correctly, the command must appear within a RIB_INFO command block, and RIB_INFO MODE
must be set to write. The user must have the configure iLO 2 privilege to execute this command.
The iLO 2 scripting firmware does not attempt to decipher if the network modifications are
appropriate for the network environment. When modifying network settings, be aware of the
network commands provided to the management processor. In some cases, the management
processor ignores commands and no error is returned. For example, when a script includes the
command to enable DHCP and a command to modify the IP address, the IP address is ignored.
Changing the network settings to values that are not correct for the network environment might
cause a loss of connectivity to iLO 2.
The iLO 2 management processor reboots to apply the changes after the script has successfully
completed. If connectivity to iLO 2 is lost, use RBSU to reconfigure the network settings to values
that are compatible with the network environment.
Example:
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<RIB_INFO MODE="write">
<MOD_NETWORK_SETTINGS>
<ENABLE_NIC value="Yes"/>
<REG_DDNS_SERVER value="Yes"/>
<PING_GATEWAY value="No"/>
<DHCP_DOMAIN_NAME value="Yes"/>
<SPEED_AUTOSELECT value="YES"/>
<NIC_SPEED value="100"/>
<FULL_DUPLEX value="Yes"/>
<DHCP_ENABLE value="No"/>
<IP_ADDRESS value="172.20.60.152"/>
<SUBNET_MASK value="255.255.255.0"/>
<GATEWAY_IP_ADDRESS value="172.20.60.1"/>
<DNS_NAME value="demoilo"/>
<DOMAIN_NAME value="internal.com"/>
<DHCP_GATEWAY value="Yes"/>
86 Using RIBCL










