HP C7000 – How to Change an ILO IP address through the OA CLI

Sometimes you don;t have access to an ILO IP, for example because you bought it refurbished or it moved from another data center.

First method:
A) Log on to the OA CLI through Putty (or similar)

B) Connect to the blade nr you wish to change the IP address of (e.g. Blade 10):

connect server 10

C) Change to the directory where the settings are:

cd /map1

D) Type the following, which resets all ILO settings (this works like a major refresh and is useful anyway, as sometimes ILO is stubborn)

reset

E) Go the C7000 GUI
Go to Enclosure Informaton -> Enclosure Settings -> Enclosure Bay IP Addressing -> IPv4
Set the IP address of the bay through the GUI options and press ‘Apply’.

Alternative method if the above does not work:

A) Log on to the OA CLI through Putty (or similar)

B) Connect to the blade nr you wish to change the IP address of (e.g. Blade 10):

connect server 10

C) Do this, and change the IP address to what you need:

set /map1/enetport1/lanendpt1/ipendpt1 IPv4Address=10.10.10.100

if you also need to change the subnetmask (to e.g. 255.255.255.0) do this instead:

set /map1/enetport1/lanendpt1/ipendpt1 IPv4Address=10.10.10.100 SubnetMask=255.255.255.0