Sharjah... Sharja Sharjah... : View Now View Now

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

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...

</>hpiLO-> set /map1/snmp1 accessinfo1=1.2.3.4

status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:26:30 2018

SNMP settings modified.

Set the system loca on


</>hpiLO-> set /map1/snmp1/ oemhp_systemlocation="Bangalore"

status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:28:11 2018

SNMP settings modified.

Set system point of contact


</>hpiLO-> set /map1/snmp1/ oemhp_systemcontact="Deepak Prasad"

status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:28:44 2018

SNMP settings modified.

Set the role of the engineer


</>hpiLO-> set /map1/snmp1/ oemhp_systemrole="Engineer"

status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:29:01 2018

SNMP settings modified.

Finally view the modified changes


</>hpiLO-> show /map1/snmp1/

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"

Assign Name to the blade

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… Los Ang…


FROM £15 VIEW NOW FROM £12 VIEW NOW

Sharjah I… Sharjah I…
FROM £10 VIEW NOW FROM £12 VIEW NOW

</>hpiLO-> set /map1/enetport1 SystemName=server1

status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 11:08:33 2018

Network settings change applied.

Settings change applied, iLO 4 will now be reset.


Logged Out: It may take several minutes before you can log back in.

CLI session stopped

Connec on terminated by server.


Re-connect to the iLO once it is UP again a er ac va ng the changes
BlrSiteA1-01-01> CONNECT SERVER 02

Connecting to bay 2 ...


User:OAtmp-HPadmin-5A2FB954 logged-in to server1.BlrSiteA(10.10.10.100 / FE80::7210:6FFF:FEC0:152

iLO 4 Advanced for BladeSystem 2.55 at Aug 16 2017


Server Name: server1
Server Power: On

</>hpiLO->

Validate your changes

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

</>hpiLO-> show /map1/enetport1/ SystemName

status=0
status_tag=COMMAND COMPLETED
Fri Feb 23 13:13:38 2018

/map1/enetport1
Properties
SystemName=server1
Verbs
cd version exit show set

Set and show power related values


Below table can be used to understand the meaning of different power values

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

You might also like