How to reset or configure iLO password via ESXi shell

Please follow below steps:

a. Login into the ESXi shell via putty.

b. Go to the directory /opt/hp/tools/

c. Run the command  #./hponcfg -w ilo.xml (Where ilo.xml is the file where ”-w’ switch write the configuration of ilo)

d. Edit the file ilo.xml using vi editor and fill the highlighted entry with requisites details (i.e network configuration, user id & password)

e. Run the below command to flush the modified ilo.xml file back to ilo memory.

#./hponcfg -f ilo.xml

f. Ilo will restart and after some time it’s done.