ipmitool tricks

Set static IP address

ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr 192.168.10.100
ipmitool lan set 1 netmask 255.255.255.0
ipmitool lan set 1 defgw ipaddr 192.168.10.1

Set IP to use DHCP

ipmitool lan set 1 ipsrc dhcp

Change system state

ipmitool -H <ip> -U <user> chassis power <status|on|off|cycle|reset>

Reset ADMIN user password

ipmitool -I open user set password 2 ADMIN

Modify boot device for next reboot

ipmitool chassis bootdev pxe 
ipmitool chassis bootdev cdrom 
ipmitool chassis bootdev bios

Display sensor output

ipmitool sdr list 
ipmitool sdr type list 
ipmitool sdr type Temperature 
ipmitool sdr type Fan 
ipmitool sdr type ‘Power Supply’