ipmitool lan print 1 打印ipmi地址
ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr 192.168.10.1
ipmitool lan set 1 netmast 255.255.255.0
ipmitool lan set 1 defgw ipaddr 192.168.10.254
ipmitool user list 1 显示用户
ipmitool user set password 2 (因为通过上面的命令看到要设置的这个用户userid 是2) password
如果配置后未生效,可以:
ipmitool mc reset cold (重启bmc使配置生效)