Difference between revisions of "Supermicro IPMI"

From 6bit.ch wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
= ipmitool =
= ipmitool =
Cold reset:</br>
<code>ipmitool bmc reset cold</code></br>


== IPMI Settings ==
== IPMI Settings ==
Line 11: Line 14:
<code>ipmitool lan set 1 defgw ipaddr <gwipaddr></code><br>
<code>ipmitool lan set 1 defgw ipaddr <gwipaddr></code><br>
<code>ipmitool lan set 1 vlan id <off|vlanid></code><br>
<code>ipmitool lan set 1 vlan id <off|vlanid></code><br>
</br>
<code>ipmitool raw 0x30 0x70 0x0c 0</code> To get LAN mode</br>
<code>ipmitool raw 0x30 0x70 0x0c 1 0x00</code> To set LAN mode onboard/shared</br>
<code>ipmitool raw 0x30 0x70 0x0c 1 0x01</code> To set LAN mode dedicated</br>
<code>ipmitool raw 0x30 0x70 0x0c 1 0x02</code> To set LAN mode failover</br>


== Reset IPMI Password ==
== Reset IPMI Password ==
Line 22: Line 30:
</br>
</br>
Fan Setting in BMC must be set to Full.</br>
Fan Setting in BMC must be set to Full.</br>
== System Event Logs (SEL) ==
<code>ipmitool sel list</code> show events</br>
<code>ipmitool sel elist</code> show events with extended details</br>
<code>ipmitool sel info</code> show info</br>
<code>ipmitool sel time get</code> show current BMC time</br>
<code>ipmitool sel elist last 10</code> watch in real time</br>
<code>ipmitool sensor</code> show all sensor readings</br>

Latest revision as of 17:48, 4 December 2025

ipmitool

Cold reset:
ipmitool bmc reset cold

IPMI Settings

Show current configuration:
ipmitool lan print 1

Set IPMI address:\\ ipmitool lan set 1 ipsrc static
ipmitool lan set 1 ipaddr <IP>
ipmitool lan set 1 netmask <netmask>
ipmitool lan set 1 defgw ipaddr <gwipaddr>
ipmitool lan set 1 vlan id <off|vlanid>

ipmitool raw 0x30 0x70 0x0c 0 To get LAN mode
ipmitool raw 0x30 0x70 0x0c 1 0x00 To set LAN mode onboard/shared
ipmitool raw 0x30 0x70 0x0c 1 0x01 To set LAN mode dedicated
ipmitool raw 0x30 0x70 0x0c 1 0x02 To set LAN mode failover

Reset IPMI Password

ipmitool user list
ipmitool user set password <ID> <NEWPASSWD>

Fan Control

ipmitool raw 0x30 0x70 0x66 0x01 0x00 0x09 Set Fans 0x00 to 9%.
ipmitool raw 0x30 0x70 0x66 0x01 0x01 0x09 Set Fans 0x01 to 9%.

Fan Setting in BMC must be set to Full.

System Event Logs (SEL)

ipmitool sel list show events
ipmitool sel elist show events with extended details
ipmitool sel info show info

ipmitool sel time get show current BMC time
ipmitool sel elist last 10 watch in real time

ipmitool sensor show all sensor readings