If you have SSH to iLO and do not want the web UI, the shell is SMASH CLP (/map1, oemhp_*). This is the iLO 2/3/4 dialect, not Redfish.

Connect

1
ssh Administrator@<ilo-ip>

Old firmware often needs a legacy cipher:

1
ssh -c aes256-cbc Administrator@<ilo-ip>

Accounts

Create a user with the usual admin groups (network changes reset iLO; accounts persist):

1
create /map1/accounts1 username=ops password='<password>' group=admin,config,oemhp_vm,oemhp_rc,oemhp_power

Change the Administrator password on first boot (Administrator / hpinvent is the HP default):

1
set /map1/accounts1/Administrator password='<new-password>'

Network (iLO reboots)

1
2
3
set map1/dhcpendpt1 EnabledState=no
set map1/enetport1/lanendpt1/ipendpt1 IPv4Address=192.168.1.213 SubnetMask=255.255.255.0
set map1/enetport1 SystemName=merlin

After each network set, wait for iLO to come back and SSH to the new address.

Mount an HTTP ISO and boot once

The ISO must be HTTP-reachable from iLO, not from your laptop.

1
2
3
set /map1/oemhp_vm1/cddr1 oemhp_image=http://10.254.0.50/ssp2017.iso
set /map1/oemhp_vm1/cddr1 oemhp_boot=Once
show /map1/oemhp_vm1/cddr1

Power

1
2
3
4
show /system1
start /system1
stop /system1
reset /system1

Ping from iLO

Useful to see whether iLO can reach the management network:

1
oemhp_ping /map1 10.1.1.50

Manual

HP’s CLP tree: iLO scripting and command line.

See also: upgrade firmware over SSH, read the license key.