HP iLO4 Command Line Interface (CLI) Guide and Cheatsheet With Examples - GoLinuxHub
HP iLO4 Command Line Interface (CLI) Guide and Cheatsheet With Examples - GoLinuxHub
HOME CONTENT LINUX BASICS LINUX VMWARE DATABASE INTERVIEW QUESTIONS QUIZ PROGRAMMING SOLARIS
CONTACT ME
3 13 48 57
Home / cheatsheet / HP / ilo / HP iLO4 command line interface (CLI) guide and cheatsheet with examples
ENTER THE TEXT TO SEARCH..
HP iLO4 command line interface (CLI) guide and cheatsheet with Search
examples
Sign Up for Email Updates
In my last ar cle I had shared the steps to set up SNTP server on the iLO so that your blade is always in sync
with your NTP server and it always reflects correct date and me as during troubleshoo ng with incorrect
date and me it becomes impossible to analyse the problem.
Here you can find HPE Virtual Connect based commands and cheat sheet with examples to configure a
shared uplink set. Take appetising shots
with Scene Optimiser
LEARN MORE
Enter your email...
With below ar cle I will share some of the important commands which can be used to configure and Sign up
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 1/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
manage HPE based integrated Lights Out Manager (iLO4)
Assuming your iLO is only configured via OA and it doesnot has any other ac ve user account then you will
not be able to do a direct ssh to your iLO
CONNECT US ON SOCIAL PLATFORM
Login to your Onboard Administrator using any CLI based ssh client
Once connected execute below command 735 Subscribe us on Google Plus
</>hpiLO->
YOU MIGHT ALSO LIKE
/map1/accounts1
Targets
Administrator
HPadmin
emergency
Properties
Verbs
cd version exit show create delete set
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 2/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 11:06:25 2018
Firmware Commands
To view the firmware of the iLO
To check the firmware of your iLO4 use the below command
</>hpiLO-> show /map1/firmware1
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 11:07:42 2018
/map1/firmware1
Targets
Properties
version=2.55
date=Aug 16 2017
name=iLO 4
Verbs
cd version exit show load
Network Configuration
IMPORTANT NOTE: A er modifying network related configura on the iLO will RESET to ac vate the new
changes
/map1/enetport1/lanendpt1/ipendpt1
Targets
Properties
IPv4Address=10.10.10.100
SubnetMask=255.255.255.0
AddressOrigin=Static
Verbs
cd version exit show set
To assign management IP to the blade iLO page
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 3/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:10:49 2018
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:14:39 2018
Similarly you can also configure DNS server if you have any
NOTE: You can set upto 3 dnsserver for the blade
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:18:03 2018
Ad
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:19:04 2018
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 4/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
/map1/dhcpendpt1
Targets
Properties
EnabledState=no
OtherTypeDescription=DHCP
Verbs
cd version exit show set
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:19:48 2018
Configure SNMP
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:22:21 2018
/map1/snmp1
Targets
Properties
accessinfo1=0
readcom1=""
trapcom1=""
accessinfo2=0
readcom2=""
trapcom2=""
accessinfo3=0
readcom3=""
trapcom3=""
oemhp_iloalert=yes
oemhp_agentalert=yes
oemhp_snmppassthru=no
oemhp_agentlessenable=yes
oemhp_systemlocation=""
Sharjah Intl Ai… Sharjah Intl Ai… Queen Alia Int…
FROM £15 FROM £17 FROM £10
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 5/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
Sharjah...
Sharja…
Sharjah...
FROM £15
FROM £15
Sharja…
VIEW NOW
VIEW NOW
Lisbon...
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:26:30 2018
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:28:11 2018
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:28:44 2018
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:29:01 2018
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:29:06 2018
/map1/snmp1
Targets
Properties
accessinfo1=1.2.3.4
readcom1=""
trapcom1=""
accessinfo2=0
readcom2=""
trapcom2=""
accessinfo3=0
readcom3=""
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 6/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
trapcom3=""
oemhp_iloalert=yes
oemhp_agentalert=yes
oemhp_snmppassthru=no
oemhp_agentlessenable=yes
oemhp systemlocation="Bangalore"
IMPORTANT NOTE: The iLO will reset a er execu ng this command hence the connec on the iLO will be lost,
reconnect to the iLO4 in a couple of minutes
Sharjah I… Sharjah I…
FROM £10 VIEW NOW FROM £12 VIEW NOW
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 11:08:33 2018
Re-connect to the iLO once it is UP again a er ac va ng the changes
BlrSiteA1-01-01> CONNECT SERVER 02
</>hpiLO->
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 7/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:13:38 2018
/map1/enetport1
Properties
SystemName=server1
Verbs
cd version exit show set
Syntax
show /system1/oemhp_power1 <variable>
set /system1/oemhp_power1 <variable=value>
For example to view the power reading value from last 24h
</>hpiLO-> show /system1/oemhp_power1 oemhp_AvgPower
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 8/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 11:18:50 2018
/system1/oemhp_power1
Properties
oemhp_AvgPower=82 Watts
Verbs
cd version exit show set
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 11:53:16 2018
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 12:05:52 2018
/system1/bootconfig1
Targets
bootsource1
bootsource2
bootsource3
bootsource4
bootsource5
Properties
oemhp_bootmode=Legacy
oemhp_secureboot=Not Available
oemhp_pendingbootmode=Legacy
Verbs
cd version exit show set
You can view the individual bootsource to understand the media mapped to the respec ve bootsource
The boot source targets and matching boot source values do not change. The values for bootsource are:
• bootsource1: BootFmCd
• bootsource2: BootFmFloppy
• bootsource3: BootFmDrive
• bootsource4: BootFmUSBKey
• bootsource5: BootFmNetwork
status=0
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 9/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
status_tag=COMMAND COMPLETED
Fri Feb 23 12:24:03 2018
/system1/bootconfig1/bootsource1
Targets
Properties
bootorder=2
bootdevice=BootFmCd
Verbs
cd version exit show set
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 12:19:59 2018
/system1/bootconfig1
Targets
bootsource1
bootsource2
bootsource3
bootsource4
bootsource5
Properties
oemhp_bootmode=Legacy
oemhp_secureboot=Not Available
oemhp_pendingbootmode=Legacy
Verbs
cd version exit show set
/system1/bootconfig1/bootsource1
Targets
Properties
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 12:22:25 2018
bootsource2=BootFmDisk bootorder=1
bootsource1=BootFmCd bootorder=2
bootsource3=BootFmUSBKey bootorder=3
bootsource4=BootFmNetwork1 bootorder=4
bootsource5=BootFmNetwork2 bootorder=5
LED commands
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 10/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
To show the LED status
</>hpiLO-> show /system1/led1
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 12:25:56 2018
/system1/led1
Targets
Properties
enabledstate=disabled
Verbs
cd version exit show start stop
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 12:26:51 2018
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 12:31:25 2018
/map1/oemhp_vm1/cddr1
Targets
Properties
oemhp_image=None
oemhp_connect=No
oemhp_boot=No_Boot
oemhp_wp=No
vm_applet=No
Verbs
cd version exit show set
Sharjah Intl Airp… Sharjah Intl Airp… Trabzon Airport
FROM £15 FROM £17 FROM £17
FROM £15
Sharjah Intl Airp… Queen Alia Intl… Sabiha Gokcen…
FROM £12 VIEW
FROMNOW
£10 FROM £12
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 11/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
• username:password —Op onal field
• hostname —Mandatory field
• port —Op onal field
• filename —Mandatory field
</>hpiLO-> cd /map1/oemhp_vm1/cddr1
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 12:36:14 2018
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 12:39:07 2018
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 12:39:28 2018
/map1/oemhp_vm1/cddr1
Targets
Properties
oemhp_image=http://10.43.22.100/bp-server-sum-2017-10-v2.iso
oemhp_connect=Yes
oemhp_boot=Always
oemhp_wp=Yes
vm_applet=No
Verbs
cd version exit show set
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 12:39:58 2018
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 12:54:33 2018
Blade commands
To view the blade details and blade slot in the rack
Here we know now that the connected blade is on bay 2 and the enclosure IP Address is 192.168.1.10
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 12/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:33:51 2018
/map1/blade1
Targets
rack
Properties
bay_number=2
auto_power=on
ip_address=192.168.1.10
mac_address=94:18:82:72:25:4b
sys_health=OK
Verbs
cd version exit show set
CPU Commands
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:36:21 2018
/system1/cpu1
Targets
Properties
name=Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
status=OK
number_cores=8
active_cores=8
threads=16
speed=2600MHz
memory_technology=64-bit Capable
cachememory1=512KB
cachememory2=2048KB
cachememory3=20480KB
Verbs
cd version exit show
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 13/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:36:24 2018
/system1/cpu2
Targets
Properties
name=Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz
status=OK
number_cores=8
active_cores=8
threads=16
speed=2600MHz
memory_technology=64-bit Capable
cachememory1=512KB
cachememory2=2048KB
cachememory3=20480KB
Verbs
cd version exit show
References:
iLO4 Scrip ng and Command Line Guide
PREVIOUS NEXT
How to configure Shared Uplink Set Network How to make bootable Pendrive (USB) to
in HP Flex Virtual Connect using CLI install Windows, Linux, VMware from an ISO
commands with example (cheatsheet)
RELATED POSTS:
how to set date and time in ilo3 / how to reset ilo4 password how to configure shared uplink set
ilo4 using sntp and ribcl... remotely using onboard network in hp flex virtua...
administra...
No Comments:
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 14/15
5/22/2019 HP iLO4 command line interface (CLI) guide and cheatsheet with examples - GoLinuxHub
Publish Preview
If I look back it looks like it was just yesterday 10 practical examples to use USERADD command i
Part 2: Openstack TripleO Architecture and Step By when I started as a fresher in my first company as linux
Step Guide for installation of undercloud and …
a total noob (which still I am BTW) and now I am
here trying to run a tutorial site, I am not sure How to extend/resize Logical Volume and Volume
Part 1: Openstack TripleO Architecture and Step By
how good this is but at least I feel I learn Group in Linux
Step Guide for installation of undercloud and …
something new every time I open my blog to write
How to check memory usage of an individual a new post. This honestly was sort of a notebook How to preserve Symbolic links with tar command in
process or application/program in Linux for me later turned into a tutorial blog. Unix/Linux
How to enable or disable transparent (THP) and There is nothing much about me to write here so
How to create user without useradd command in
explicit (nr_hugepages) hugepage and check the … cheers!! Linux
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html 15/15