This document is intended to provide a set of IPMI commands for quick reference.
Note: If the ipmitool is on the BMC then set the interface as "-I dbus" and if the ipmitool is outside the BMC (i.e on the network) then set the interface as "-I lanplus".
ipmitool lan set <channel> ipsrc static
ipmitool lan set <channel> ipaddr <x.x.x.x>
ipmitool lan set <channel> netmask <x.x.x.x>
ipmitool lan set <channel> defgw ipaddr <x.x.x.x>
ipmitool lan set <channel> vlan id <id>
ipmitool lan set <channel> vlan id off
NOTE: The user can group multiple set operations since the IPMI daemon waits for 10 seconds after each set operation before applying the configuration.