HP iLO commands

hpiLO-> oemhp_ping 192.168.0.91

status=0
status_tag=COMMAND COMPLETED
The ping was successful.

hpiLO-> show /map1/snmp1

status=0
status_tag=COMMAND COMPLETED

/map1/snmp1
Targets
Properties
accessinfo1=0
accessinfo2=0
accessinfo3=0
oemhp_iloalert=yes
oemhp_agentalert=yes
oemhp_snmppassthru=yes
oemhp_imagenturl=BA-UAG-001
oemhp_imdatalevel=enabled
Verbs
cd version exit show set

hpiLO-> help

status=0
status_tag=COMMAND COMPLETED

DMTF SMASH CLP Commands:

help : Used to get context sensitive help.
show : Used to display values of a property or contents of a collection target.
create : Used to create new instances in the name space of the MAP.
Example: create /map1/accounts1 username= password= name=
group=

delete : Used to destroy instances in the name space of the MAP.
Example: delete /map1/accounts1/

load : Used to move a binary image from an URL to the MAP.
Example : load -source http://192.168.1.1/images/fw/iLO3_130.bin

reset : Causes a target to cycle from enabled to disabled and back to enabled.

set : Used to set a property or set of properties to a specific value.
start : Used to cause a target to change state to a higher run level.
stop : Used to cause a target to change state to a lower run level.
cd : Used to set the current default target.
Example: cd targetname

exit : Used to terminate the CLP session.
version : Used to query the version of the CLP implementation or other CLP elements.

oemhp_ping : Used to determine if an IP address is reachable from this iLO 3.
Example : oemhp_ping 192.168.1.1 , where 192.168.1.1 is the IP address that you wish to ping

oemhp_loadSSHKey : Used to authorize a SSH Key File from an URL
Example : oemhp_loadSSHKey -source http://UserName:password@192.168.1.1/images/SSHkey1.pub

HP CLI Commands:

POWER : Control server power.
UID : Control Unit-ID light.
NMI : Generate an NMI.
VM : Virtual media commands.
LANGUAGE : Command to set or get default language
VSP : Invoke virtual serial port.
TEXTCONS : Invoke Remote Text Console.

hpiLO-> cd /map1/snmp1

status=0
status_tag=COMMAND COMPLETED

/map1/snmp1

hpiLO-> show

status=0
status_tag=COMMAND COMPLETED

/map1/snmp1
Targets
Properties
accessinfo1=192.168.0.91
accessinfo2=0
accessinfo3=0
oemhp_iloalert=yes
oemhp_agentalert=yes
oemhp_snmppassthru=yes
oemhp_imagenturl=BA-UAG-001
oemhp_imdatalevel=enabled
Verbs
cd version exit show set

hpiLO-> set oemhp_imdatalevel=Enabled

status=0
status_tag=COMMAND COMPLETED
SNMP settings modified.

Source:https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c02774508

IPMI configuration
https://wiki.chipp.ch/twiki/bin/view/CmsTier3/HPProLiantDL380G7ILO3

Jan D.
Jan D.

"The only real security that a man will have in this world is a reserve of knowledge, experience, and ability."

Articles: 673

Leave a Reply

Vaše e-mailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *