ipmitool Cheatsheet and Configuring DRAC from ipmitool


1) List of helpful ipmitool commands:

  • Check BMC Firmware Revision:
#ipmitool –I open bmc info | grep –A3 “Firmware Revision”
  • Check SEL log:
#ipmitool sel
  • List SEL log:
#ipmitool sel list
  • Check which node you are in [For Dell Cloud edge]:
#ipmitool raw 0x34 0x11
  • Reset BMC/DRAC to default:
#ipmitool  mc reset cold


2) Configure DRAC from ipmitool

  • Set BMC/DRAC static IP
#ipmitool lan set 1 ipsrc static
  • Set BMC/DRAC IP Address
#ipmitool lan set 1 ipaddr <ip add of bmc>
  • Set BMC/DRAC Subnet Mask
#ipmitool lan set 1 netmask <netmask addr>
  • Set BMC/DRAC Default Gateway
#ipmitool lan set 1 defgw ipaddr <ip add>
  • Change the NIC settings to dedicated
#ipmitool raw 0x30 0x24 2
  • Change the NIC settings to shared
#ipmitool raw 0x30 0x24 0
  • Check the NIC settings
#ipmitool raw 0x30 0x25

[Output of 00 means shared and 02 means dedicated]

  • Restart the BMC/DRAC
#ipmitool mc reset warm


  1. Hello, Thank you.
    What is the diffrence between warm and cold mc reset?
    If i change the BMC gateway, Do i have to reset the BMC?

    • Hi,
      The BMC suppose to reboot when you do a warm reset and the cold one clears the configuration. But with many Dell servers the warm and cold serves the same purpose. Just to be in safe side I will recommend to use warm reset. It is not necessary to reset the BMC after changing the gateway but if you don’t see the change in ipmitool lan print output then try resetting.

Leave a Reply

Your email address will not be published. Required fields are marked *