ipmitool 基本使用
# account
ipmitool user list
ipmitool user set password 2 password@123
# network
# show network
ipmitool lan print
# set to static and show network
ipmitool lan set 1 ipsrc static && ipmitool lan set 1 ipaddr 192.168.24.6 && ipmitool lan set 1 netmask 255.255.252.0 && ipmitool lan set 1 defgw ipaddr 192.168.27.254 && ipmitool lan print