ipmitool 指令筆記

重開 bmc :

# ipmitool bmc reset cold

設定動態取得 ip :

# ipmitool lan set 1 ipsrc dhcp

設定 ipmi 網路 :

# ipmitool lan set 1 ipsrc static
# ipmitool lan set 1 ipaddr 192.168.0.xxx
# ipmitool lan set 1 netmask 255.255.255.0
# ipmitool lan set 1 defgw ipaddr 192.168.0.1
# ipmitool lan set 1 access on
# ipmitool lan print 1

取得產品序號 :

# ipmitool fru
or
# ipmitool fru | grep "Product Serial"

如果只要看某特定產品,在 print 後面加入產品 id 例如 0, 1, 10 …ete :

# ipmitool fru print 0

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.