- Load modules
modprobe ipmi_devintf
modprobe ipmi_si- List of helpful ipmitool commands
Check BMC Firmware Revision
ipmitool -I open bmc info | grep -A3 "Firmware Revision"Check SEL log
ipmitool selList SEL log
ipmitool sel listCheck which node you are in [For Dell Cloud edge]
ipmitool raw 0x34 0x11Reset BMC/DRAC to default
ipmitool mc reset coldNote: this will also fix No more sessions are available for this type of connection! error while trying to connect to DRAC
- Configure DRAC from ipmitool
Set BMC/DRAC static IP
ipmitool lan set 1 ipsrc staticSet BMC/DRAC IP Address
ipmitool lan set 1 ipaddrSet BMC/DRAC Subnet Mask
ipmitool lan set 1 netmaskSet BMC/DRAC Default Gateway
ipmitool lan set 1 defgw ipaddrSet BMC/DRAC dhcp IP
ipmitool lan set 1 ipsrc dhcpDisplay BMC/DRAC network settings
ipmitool lan print 1Change the NIC settings to dedicated
ipmitool raw 0x30 0x24 2Change the NIC settings to shared
ipmitool raw 0x30 0x24 0Check the NIC settings
ipmitool raw 0x30 0x25Restart the BMC/DRAC
ipmitool mc reset warmExample:
ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr 10.10.17.37
ipmitool lan set 1 netmask 255.255.240.0
ipmitool lan set 1 defgw ipaddr 10.10.16.1
ipmitool lan set 1 ipsrc dhcp
watch -n1 ipmitool lan print 1
Very helpful! Do you have any idea whether there is a reference of all raw commands supported by iDRAC?
Specifically, I’m looking for the ipmitool equivalent of “racadm set iDRAC.IPBlocking.RangeEnable 0”.