The last time we discussed on how to access the HP iLO. But we need CLI commands for us to be able to further troubleshoot our hardware. Just like we did for Sun / Oracle ALOM – here are the commands that one can use for HP iLO.
DMTF SMASH CLP Commands: help : Used to get context sensitive help. show : Used to show values of a property or contents of a collection target. create : Used to create new user account in the name space of the MAP. Example: create /map1/accounts1 username=<lname1> password=<pwd12345> name= <dname1> group=<admin,config,oemhp_vm,oemhp_rc,oemhp_power> delete : Used to delete user account in the name space of the MAP. Example: delete /map1/accounts1/<lname1> load : Used to move a binary image from an URL to the MAP. The URL is limited to 80 characters Example : load -source http://192.168.1.1/images/fw/iLO2_130.bin reset : Used to cause 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 2. 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 The URL is limited to 80 characters Example : oemhp_loadSSHKey -source http://UserName:[email protected]/images/SSHkey1.ppk HP CLI Commands: POWER : Control server power. UID : Control Unit-ID light. NMI : Generate an NMI. VM : Virtual media commands. VSP : Invoke virtual serial port. TEXTCONS : Invoke Remote Text Console on supported platforms.