首页/系统/服务器硬件与 RAID 速查/IPMI 通道编号与活动通道确认
带外管理72 条

IPMI 通道编号与活动通道确认

一台 BMC 有多个 IPMI 通道(LAN、串口、共享口):先用 channel info 枚举再对正确通道执行 lan print/set,通道编号因机型而异。

枚举与读取

枚举与读取
ipmitool -I lanplus -H 10.0.0.10 -U admin -f /root/.ipmi_pass channel info
ipmitool -I lanplus -H 10.0.0.10 -U admin -f /root/.ipmi_pass channel info 1
ipmitool -I lanplus -H 10.0.0.10 -U admin -f /root/.ipmi_pass channel getciphers ipmi 1
ipmitool -I lanplus -H 10.0.0.10 -U admin -f /root/.ipmi_pass lan print 8
典型布局LAN 通道常见 1/3/8,机型相关
识别方法channel info 看 medium type 与 protocol
getciphers查看该通道允许的认证与加密套件
错误现象对非 LAN 通道执行 lan print 会报错
换机型后先跑 channel info 再改网络,避免照搬旧文档的通道号。

易错点

  • 照搬文档通道号:换代机型编号变化,配置不生效
  • 对错误通道改网络:反复调试找不到问题

数据来源与参考

  • ipmitool 手册(channel)
  • IPMI v2.0 规范(通道模型)
​‌‌​​‌​​​‌‌​‌‌‌‌​‌‌​​​‌‌​‌‌‌​​‌‌​​‌​‌‌‌​​‌‌‌​​​‌​‌‌​‌​​‌​‌‌‌​​​‌​‌‌​‌​​‌​‌‌​​​‌‌​‌‌‌​‌​​​‌‌​‌‌‌‌​​‌​‌‌‌​​‌‌​​​‌‌​‌‌​‌‌‌‌​‌‌​‌‌​‌