HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
ProLiant Servers (ML,DL,SL)
Showing results for 
Search instead for 
Did you mean: 

Send several SSH 'set' command to ILO without rebooting

Occasional Visitor

Send several SSH 'set' command to ILO without rebooting


We are currently planning migration of several console VLANs in our Datacenter. As a result ILO network settings will change.

We would like to automate as much as possible, we would like to update ILO IP address, subnet mask and gateway using SSH commands (we would like to avoid going through server OS).

The solution would then be to execute those 2 commands:

set /map1/enetport1/lanendpt1/ipendpt1 IPv4Address=%newIP% SubnetMask=%newMask%

set /map1/gateway1 AccesInfo=%newGtw%

 The problem is that ILO will reset automatically after executing each command, applying directly the new settings. This will cause it to be unreachable after executing the first command.

Is there any way to execute those 2 commands in one row, or to avoid automatic ILO reboot after first 'set' command?

 Thank you!


Re: Send several SSH 'set' command to ILO without rebooting


Here's a thread on stackoverflow on the same topic:


that draws a blank with the "ssh" method. Have you considered the RIBCL/HTTPS method instead (it's mentioned at the very end of that web page)? This is what I do for changes like these.

Jimmy Vance

Re: Send several SSH 'set' command to ILO without rebooting

Use RIBCL commands to send the changes to the iLO's 

Take a look at the file calle Mod_Network_Settings.xml, the download includes the perl script. 

 HP Lights-Out XML PERL Scripting Sample for Linux

HP Lights-Out XML Scripting Sample for Windows






No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!