How to configure iLO from command line

hponcfg /w ilo.xml
dumps iLO configuration into ilo.xml file
hponcfg reset
resets iLO
hponcfg /f ilo.xml
writes new configuration back to the iLO



Reconfigure iLo network settings using HPONCFG

(1) Run: hponcfg /w ilo.xml (this dumps iLO configuration into ilo.xml file)
BE CAREFUL, will reset to factory defaults * (2) Run: hponcfg reset (resets iLO) *
(3) edit newly created ilo.xml to the values that you want to use
(3) Run: hponcfg /f ilo.xml (this writes new configuration back to the iLO)

I recently found myself in a situation where I had rebuilt and shipped a server to a remote office but forgotten to configure the iLo settings. Normally this wouldn’t be to big an issue – except A) The IP address and default gateway were pointing to a subnet which no longer existed and B) The HP System Management Homepage wasn’t connecting to the agents correctly.

Fortunately the HPONCFG utility came to my rescue. This little tool is installed as part of the ProLiant Support Pack and can be used to make config changes to iLo without the need to reboot. Default install directory = C:\Program Files\HP\hponcfg.

To write the current iLo configuration simply open a cmd prompt and execute the following command:

C:\Program Files\HP\hponcfg>hponcfg /w iLoConfig.xml

To change settings you need to create an xml file containing the parameters you want to change, formatted using the RIBCL language. RIBCL allows you to write XML scripts to configure and manage iLO config settings.

To modify the network settings I created the following script:

<LOGIN USER_LOGIN=”user” PASSWORD=”password”>
<IP_ADDRESS VALUE = “x.x.x.x”/>
<SUBNET_MASK VALUE = “x.x.x.x”/>
<PRIM_DNS_SERVER value = “x.x.x.x”/>

NOTE: The USER_LOGIN and PASSWORD tags are required, and must contain data, although any data is accepted.

And then run the script like so:

C:\Program Files\HP\hponcfg>hponcfg /f your_script_name.xml



2 Comments to “How to configure iLO from command line”

  1. This link saved me today. Thank you for taking the time to post it.

  2. Pretty! This has been an extremely wonderful
    article. Thank you for providing these details.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: