服务器型号/华三4900G2 ipmi版本1.03
ipmitool raw 0x32 0x66 #恢复HDM默认值
ipmitool raw 0x0c 0x01 0x08 0x04 0x02 >/dev/null #设置网卡dhcp
ipmitool raw 0x36 0x09 0x20 0x14 0x00 0x006 0x00 0x00 0x05 0x05 0x00 0x00 0x00 0x00 #关闭密码复杂度检查
ipmitool raw 0x32 0x71 0x00 0x00 0x00 >/dev/null #关闭HDM共享网络接口
ipmitool chassis bootparam set bootflag force_bios #强制下次启动进入BIOS(必须通过chassis power reset 重启生效)
修改DNS注册,并设置eth1开启”注册HDM功能“,类型为“主机名”的命令如下:

ipmitool -I lanplus -H hostname -U username -P password raw 0x32 0x6c 0x02 0x00 0x00 0x21 0x00

ipmitool -I lanplus -H hostname -U username -P password raw 0x32 0x6c 0x07 Blockselect #重启DNS服务后生效