| Linux |
[IPMItool]
ipmitool raw 0x06 0x01
ipmitool mc info
ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} raw 0x06 0x01
ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} mc info
[ipmiutil]
ipmiutil cmd 00 20 18 01
icmd 00 20 18 01
ipmiutil health
ihealth
ipmiutil cmd 00 20 18 01 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
icmd 00 20 18 01 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ipmiutil health -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ihealth -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
[FreeIPMI]
ipmi-raw 0x00 0x06 0x01
bmc-info
bmc-info --get-device-id
ipmi-raw -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} 0x00 0x06 0x01
bmc-info -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password}
bmc-info --get-device-id -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password}
| MS-DOS |
[ipmitool]
ipmitool 20 18 01
[ipmiutil]
ipmiutil cmd 00 20 18 01
icmd 00 20 18 01
For example
[IPMItool in Linux] Hint: hover over Place your mouse over the highlighted area in below
for Response Data description
$ ipmitool raw 0x06 0x01
$ ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} raw 0x06 0x01
20 Byte 2
Device ID
00h = unspecified
01 Byte 3
Device Revision
[3:0] Device Revision, binary encoded
01 Byte 4
Firmware Revision 1
[6:0] Major Firmware Revision, binary encoded
07 Byte 5
Firmware Revision 2
Minor Firmware Revision, BCD encoded
02 Byte 6
IPMI Version
51h indicates revision 1.5 functionality
02h for implementations that provide IPMI v2.0 capabilities per this specification
bf Byte 7
IPM Device Support
[7] Chassis Device (device functions as chassis device per ICMB spec.)
[6] Bridge (device responds to Bridge NetFn commands)
[5] IPMB Event Generator (device generates event messages [platform event request messages] onto the IPMB)
[4] IPMB Event Receiver (device accepts event messages [platform event request messages] from the IPMB)
[3] FRU Inventory Device
[2] SEL Device
[1] SDR Repository Device
[0] Sensor Device
17 96 00 Byte [8:10]
Manufacturer ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
69 02 Byte [11:12]
Product ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
56 ff 00 00 Byte (13:16)
Auxiliary Firmware Revision Information
This field is optional
$ ipmitool mc info
$ ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} mc info
Device ID : 32
Device Revision : 1
Firmware Revision : 1.07
IPMI Version : 2.0
Manufacturer ID : 9091
Manufacturer Name : Unknown (0x9617)
Product ID : 617 (0x0269)
Product Name : Unknown (0x0269)
Device Available : yes
Provides Device SDRs : no
Additional Device Support :
Sensor Device
SDR Repository Device
SEL Device
FRU Inventory Device
IPMB Event Receiver
IPMB Event Generator
Chassis Device
Aux Firmware Rev Info :
0x56
0xff
0x00
0x00
[ipmiutil in Linux]$ ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} raw 0x06 0x01
20 Byte 2
Device ID
00h = unspecified
01 Byte 3
Device Revision
[3:0] Device Revision, binary encoded
01 Byte 4
Firmware Revision 1
[6:0] Major Firmware Revision, binary encoded
07 Byte 5
Firmware Revision 2
Minor Firmware Revision, BCD encoded
02 Byte 6
IPMI Version
51h indicates revision 1.5 functionality
02h for implementations that provide IPMI v2.0 capabilities per this specification
bf Byte 7
IPM Device Support
[7] Chassis Device (device functions as chassis device per ICMB spec.)
[6] Bridge (device responds to Bridge NetFn commands)
[5] IPMB Event Generator (device generates event messages [platform event request messages] onto the IPMB)
[4] IPMB Event Receiver (device accepts event messages [platform event request messages] from the IPMB)
[3] FRU Inventory Device
[2] SEL Device
[1] SDR Repository Device
[0] Sensor Device
17 96 00 Byte [8:10]
Manufacturer ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
69 02 Byte [11:12]
Product ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
56 ff 00 00 Byte (13:16)
Auxiliary Firmware Revision Information
This field is optional
$ ipmitool mc info
$ ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} mc info
Device ID : 32
Device Revision : 1
Firmware Revision : 1.07
IPMI Version : 2.0
Manufacturer ID : 9091
Manufacturer Name : Unknown (0x9617)
Product ID : 617 (0x0269)
Product Name : Unknown (0x0269)
Device Available : yes
Provides Device SDRs : no
Additional Device Support :
Sensor Device
SDR Repository Device
SEL Device
FRU Inventory Device
IPMB Event Receiver
IPMB Event Generator
Chassis Device
Aux Firmware Rev Info :
0x56
0xff
0x00
0x00
$ ipmiutil cmd 00 20 18 01
$ icmd 00 20 18 01
$ ipmiutil cmd 00 20 18 01 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
$ icmd 00 20 18 01 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
respData[len=15]: 20 Byte 2
Device ID
00h = unspecified
01 Byte 3
Device Revision
[3:0] Device Revision, binary encoded
01 Byte 4
Firmware Revision 1
[6:0] Major Firmware Revision, binary encoded
07 Byte 5
Firmware Revision 2
Minor Firmware Revision, BCD encoded
02 Byte 6
IPMI Version
51h indicates revision 1.5 functionality
02h for implementations that provide IPMI v2.0 capabilities per this specification
bf Byte 7
IPM Device Support
[7] Chassis Device (device functions as chassis device per ICMB spec.)
[6] Bridge (device responds to Bridge NetFn commands)
[5] IPMB Event Generator (device generates event messages [platform event request messages] onto the IPMB)
[4] IPMB Event Receiver (device accepts event messages [platform event request messages] from the IPMB)
[3] FRU Inventory Device
[2] SEL Device
[1] SDR Repository Device
[0] Sensor Device
17 96 00 Byte [8:10]
Manufacturer ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
69 02 Byte [11:12]
Product ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
56 ff 00 00 Byte (13:16)
Auxiliary Firmware Revision Information
This field is optional
send_icmd ret = 0
ipmiutil cmd, completed successfully
$ ipmiutil health
$ ihealth
ipmiutil ver 3.08
ihealth ver 3.08
BMC manufacturer = 009617 ( ), product = 617 FE-617
BMC version = 1.07, IPMI v2.0
BIOS Version = BIOS617.106
IPMI driver type = 3 (open)
Power State = 00 (S0: working)
Selftest status = 0055 (OK)
Chassis Status = 41 01 40 00 (on, see below)
chassis_power = on
pwr_restore_policy = turn_on
last_power_event = ACfailed
chassis_intrusion = inactive
front_panel_lockout = inactive
drive_fault = false
cooling_fan_fault = false
Power On Hours = 2714 hours (113 days)
BMC LAN Channels = 1 8
Chan 1 AuthTypes = None MD2 MD5 Straight_Passwd OEM
ipmiutil health, completed successfully
$ ipmiutil health -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
$ ihealth -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ipmiutil ver 3.08
ihealth ver 3.08
BMC manufacturer = 009617 ( ), product = 1561
BMC version = 1.07, IPMI v2.0
IPMI driver type = 6 (lan)
Power State = 00 (S0: working)
Selftest status = 0055 (OK)
Chassis Status = 41 01 40 00 (on, see below)
chassis_power = on
pwr_restore_policy = turn_on
last_power_event = ACfailed
chassis_intrusion = inactive
front_panel_lockout = inactive
drive_fault = false
cooling_fan_fault = false
Power On Hours = 2849 hours (118 days)
BMC LAN Channels = 1 8
Chan 1 AuthTypes = None MD2 MD5 Straight_Passwd OEM
ipmiutil health, completed successfully
[FreeIPMI in Linux]
$ icmd 00 20 18 01
$ ipmiutil cmd 00 20 18 01 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
$ icmd 00 20 18 01 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
respData[len=15]: 20 Byte 2
Device ID
00h = unspecified
01 Byte 3
Device Revision
[3:0] Device Revision, binary encoded
01 Byte 4
Firmware Revision 1
[6:0] Major Firmware Revision, binary encoded
07 Byte 5
Firmware Revision 2
Minor Firmware Revision, BCD encoded
02 Byte 6
IPMI Version
51h indicates revision 1.5 functionality
02h for implementations that provide IPMI v2.0 capabilities per this specification
bf Byte 7
IPM Device Support
[7] Chassis Device (device functions as chassis device per ICMB spec.)
[6] Bridge (device responds to Bridge NetFn commands)
[5] IPMB Event Generator (device generates event messages [platform event request messages] onto the IPMB)
[4] IPMB Event Receiver (device accepts event messages [platform event request messages] from the IPMB)
[3] FRU Inventory Device
[2] SEL Device
[1] SDR Repository Device
[0] Sensor Device
17 96 00 Byte [8:10]
Manufacturer ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
69 02 Byte [11:12]
Product ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
56 ff 00 00 Byte (13:16)
Auxiliary Firmware Revision Information
This field is optional
send_icmd ret = 0
ipmiutil cmd, completed successfully
$ ipmiutil health
$ ihealth
ipmiutil ver 3.08
ihealth ver 3.08
BMC manufacturer = 009617 ( ), product = 617 FE-617
BMC version = 1.07, IPMI v2.0
BIOS Version = BIOS617.106
IPMI driver type = 3 (open)
Power State = 00 (S0: working)
Selftest status = 0055 (OK)
Chassis Status = 41 01 40 00 (on, see below)
chassis_power = on
pwr_restore_policy = turn_on
last_power_event = ACfailed
chassis_intrusion = inactive
front_panel_lockout = inactive
drive_fault = false
cooling_fan_fault = false
Power On Hours = 2714 hours (113 days)
BMC LAN Channels = 1 8
Chan 1 AuthTypes = None MD2 MD5 Straight_Passwd OEM
ipmiutil health, completed successfully
$ ipmiutil health -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
$ ihealth -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ipmiutil ver 3.08
ihealth ver 3.08
BMC manufacturer = 009617 ( ), product = 1561
BMC version = 1.07, IPMI v2.0
IPMI driver type = 6 (lan)
Power State = 00 (S0: working)
Selftest status = 0055 (OK)
Chassis Status = 41 01 40 00 (on, see below)
chassis_power = on
pwr_restore_policy = turn_on
last_power_event = ACfailed
chassis_intrusion = inactive
front_panel_lockout = inactive
drive_fault = false
cooling_fan_fault = false
Power On Hours = 2849 hours (118 days)
BMC LAN Channels = 1 8
Chan 1 AuthTypes = None MD2 MD5 Straight_Passwd OEM
ipmiutil health, completed successfully
$ ipmi-raw 0x00 0x06 0x01
$ ipmi-raw -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} 0x00 0x06 0x01
rcvd: 01 00 Byte 1
Completion Code
00h = Command Completed Normally
20 Byte 2
Device ID
00h = unspecified
01 Byte 3
Device Revision
[3:0] Device Revision, binary encoded
01 Byte 4
Firmware Revision 1
[6:0] Major Firmware Revision, binary encoded
07 Byte 5
Firmware Revision 2
Minor Firmware Revision, BCD encoded
02 Byte 6
IPMI Version
51h indicates revision 1.5 functionality
02h for implementations that provide IPMI v2.0 capabilities per this specification
bf Byte 7
IPM Device Support
[7] Chassis Device (device functions as chassis device per ICMB spec.)
[6] Bridge (device responds to Bridge NetFn commands)
[5] IPMB Event Generator (device generates event messages [platform event request messages] onto the IPMB)
[4] IPMB Event Receiver (device accepts event messages [platform event request messages] from the IPMB)
[3] FRU Inventory Device
[2] SEL Device
[1] SDR Repository Device
[0] Sensor Device
17 96 00 Byte [8:10]
Manufacturer ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
69 02 Byte [11:12]
Product ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
56 ff 00 00 Byte (13:16)
Auxiliary Firmware Revision Information
This field is optional
$ bmc-info --get-device-id
$ bmc-info --get-device-id -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password}
Device ID : 32
Device Revision : 1
Device SDRs : unsupported
Firmware Revision : 1.07
Device Available : yes (normal operation)
IPMI Version : 2.0
Sensor Device : supported
SDR Repository Device : supported
SEL Device : supported
FRU Inventory Device : supported
IPMB Event Receiver : supported
IPMB Event Generator : supported
Bridge : unsupported
Chassis Device : supported
Manufacturer ID : COMPUTERCHEESE INT'L CO., Ltd. (617)
Product ID : 617
Auxiliary Firmware Revision Information : 0000FF56h
[IPMItool under DOS]$ ipmi-raw -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} 0x00 0x06 0x01
rcvd: 01 00 Byte 1
Completion Code
00h = Command Completed Normally
20 Byte 2
Device ID
00h = unspecified
01 Byte 3
Device Revision
[3:0] Device Revision, binary encoded
01 Byte 4
Firmware Revision 1
[6:0] Major Firmware Revision, binary encoded
07 Byte 5
Firmware Revision 2
Minor Firmware Revision, BCD encoded
02 Byte 6
IPMI Version
51h indicates revision 1.5 functionality
02h for implementations that provide IPMI v2.0 capabilities per this specification
bf Byte 7
IPM Device Support
[7] Chassis Device (device functions as chassis device per ICMB spec.)
[6] Bridge (device responds to Bridge NetFn commands)
[5] IPMB Event Generator (device generates event messages [platform event request messages] onto the IPMB)
[4] IPMB Event Receiver (device accepts event messages [platform event request messages] from the IPMB)
[3] FRU Inventory Device
[2] SEL Device
[1] SDR Repository Device
[0] Sensor Device
17 96 00 Byte [8:10]
Manufacturer ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
69 02 Byte [11:12]
Product ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
56 ff 00 00 Byte (13:16)
Auxiliary Firmware Revision Information
This field is optional
$ bmc-info --get-device-id
$ bmc-info --get-device-id -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password}
Device ID : 32
Device Revision : 1
Device SDRs : unsupported
Firmware Revision : 1.07
Device Available : yes (normal operation)
IPMI Version : 2.0
Sensor Device : supported
SDR Repository Device : supported
SEL Device : supported
FRU Inventory Device : supported
IPMB Event Receiver : supported
IPMB Event Generator : supported
Bridge : unsupported
Chassis Device : supported
Manufacturer ID : COMPUTERCHEESE INT'L CO., Ltd. (617)
Product ID : 617
Auxiliary Firmware Revision Information : 0000FF56h
C:\> ipmitool 20 18 01
20 1C 01 00 Byte 1
Completion Code
00h = Command Completed Normally
20 Byte 2
Device ID
00h = unspecified
01 Byte 3
Device Revision
[3:0] Device Revision, binary encoded
01 Byte 4
Firmware Revision 1
[6:0] Major Firmware Revision, binary encoded
07 Byte 5
Firmware Revision 2
Minor Firmware Revision, BCD encoded
02 Byte 6
IPMI Version
51h indicates revision 1.5 functionality
02h for implementations that provide IPMI v2.0 capabilities per this specification
bf Byte 7
IPM Device Support
[7] Chassis Device (device functions as chassis device per ICMB spec.)
[6] Bridge (device responds to Bridge NetFn commands)
[5] IPMB Event Generator (device generates event messages [platform event request messages] onto the IPMB)
[4] IPMB Event Receiver (device accepts event messages [platform event request messages] from the IPMB)
[3] FRU Inventory Device
[2] SEL Device
[1] SDR Repository Device
[0] Sensor Device
17 96 00 Byte [8:10]
Manufacturer ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
69 02 Byte [11:12]
Product ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
56 ff 00 00 Byte (13:16)
Auxiliary Firmware Revision Information
This field is optional
20 1C 01 00 Byte 1
Completion Code
00h = Command Completed Normally
20 Byte 2
Device ID
00h = unspecified
01 Byte 3
Device Revision
[3:0] Device Revision, binary encoded
01 Byte 4
Firmware Revision 1
[6:0] Major Firmware Revision, binary encoded
07 Byte 5
Firmware Revision 2
Minor Firmware Revision, BCD encoded
02 Byte 6
IPMI Version
51h indicates revision 1.5 functionality
02h for implementations that provide IPMI v2.0 capabilities per this specification
bf Byte 7
IPM Device Support
[7] Chassis Device (device functions as chassis device per ICMB spec.)
[6] Bridge (device responds to Bridge NetFn commands)
[5] IPMB Event Generator (device generates event messages [platform event request messages] onto the IPMB)
[4] IPMB Event Receiver (device accepts event messages [platform event request messages] from the IPMB)
[3] FRU Inventory Device
[2] SEL Device
[1] SDR Repository Device
[0] Sensor Device
17 96 00 Byte [8:10]
Manufacturer ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
69 02 Byte [11:12]
Product ID, LS Byte first
000000h = unspecified
0FFFFFh = reserved
56 ff 00 00 Byte (13:16)
Auxiliary Firmware Revision Information
This field is optional
Cold Reset - NetFn = App (0x06h), CMD = 0x02h, Privilege Level = Admin, M/O = O
| Linux |
[IPMItool]
ipmitool raw 0x06 0x02
ipmitool mc reset cold
ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} raw 0x06 0x02
ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} mc reset cold
[ipmiutil]
ipmiutil cmd 00 20 18 02 -V 4
icmd 00 20 18 02 -V 4
ipmiutil reset -k
ireset -k
ipmiutil cmd 00 20 18 02 -V 4 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
icmd 00 20 18 02 -V 4 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ipmiutil reset -k -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ireset -k -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
[FreeIPMI]
ipmi-raw 0x00 0x06 0x02
bmc-device --cold-reset
ipmi-raw -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} 0x00 0x06 0x02
bmc-device --cold-reset -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password}
| MS-DOS |
[ipmitool]
ipmitool 20 18 02
[ipmiutil]
ipmiutil cmd 00 20 18 02 -V 4
icmd 00 20 18 02 -V 4
ipmiutil reset -k
ireset -k
For example
[IPMItool in Linux] Hint: hover over Place your mouse over the highlighted area in below
for Response Data description
$ ipmitool raw 0x06 0x02
$ ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} raw 0x06 0x02
$ ipmitool mc reset cold
$ ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} mc reset cold
Sent cold reset command to MC
[ipmiutil in Linux]
$ ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} raw 0x06 0x02
$ ipmitool mc reset cold
$ ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} mc reset cold
Sent cold reset command to MC
$ ipmiutil cmd 00 20 18 02 -V 4
$ icmd 00 20 18 02 -V 4
$ ipmiutil cmd 00 20 18 02 -V 4 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
$ icmd 00 20 18 02 -V 4 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
send_icmd ret = 0
ipmiutil cmd, completed successfully
$ ipmiutil reset -k
$ ireset -k
$ ipmiutil reset -k -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
$ ireset -k -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ipmiutil ver 3.08
ireset ver 3.08
-- BMC version 1.7, IPMI version 2.0
Power State = 00 (S0: working)
ireset: cold reset BMC ...
ireset: Cold_Reset to BMC ok
ipmiutil reset, completed successfully
[FreeIPMI in Linux]$ icmd 00 20 18 02 -V 4
$ ipmiutil cmd 00 20 18 02 -V 4 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
$ icmd 00 20 18 02 -V 4 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
send_icmd ret = 0
ipmiutil cmd, completed successfully
$ ipmiutil reset -k
$ ireset -k
$ ipmiutil reset -k -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
$ ireset -k -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ipmiutil ver 3.08
ireset ver 3.08
-- BMC version 1.7, IPMI version 2.0
Power State = 00 (S0: working)
ireset: cold reset BMC ...
ireset: Cold_Reset to BMC ok
ipmiutil reset, completed successfully
$ ipmi-raw 0x00 0x06 0x02
$ ipmi-raw -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} 0x00 0x06 0x02
rcvd: 02 00 Byte 1
Completion Code
00h = Command Completed Normally
$ bmc-device --cold-reset
$ bmc-device --cold-reset -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password}
[IPMItool under DOS]$ ipmi-raw -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} 0x00 0x06 0x02
rcvd: 02 00 Byte 1
Completion Code
00h = Command Completed Normally
$ bmc-device --cold-reset
$ bmc-device --cold-reset -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password}
C:>\ipmitool 20 18 02
20 1c 02 00 Byte 1
Completion Code
00h = Command Completed Normally
20 1c 02 00 Byte 1
Completion Code
00h = Command Completed Normally
Warm Reset - NetFn = App (0x06h), CMD = 0x03h, Privilege Level = Admin, M/O = O
| Linux |
[IPMItool]
ipmitool raw 0x06 0x03
ipmitool mc reset worm
ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} raw 0x06 0x03
ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} mc reset warm
[ipmiutil]
ipmiutil cmd 00 20 18 03 -V 4
icmd 00 20 18 03 -V 4
ipmiutil cmd 00 20 18 03 -V 4 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
icmd 00 20 18 03 -V 4 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
[FreeIPMI]
ipmi-raw 0x00 0x06 0x03
bmc-device --warm-reset
ipmi-raw -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} 0x00 0x06 0x03
bmc-device -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} --warm-reset
| MS-DOS |
[ipmitool]
ipmitool 20 18 03
[ipmiutil]
ipmiutil cmd 00 20 18 03 -V 4
icmd 00 20 18 03 -V 4
For example
[IPMItool in Linux] Hint: hover over Place your mouse over the highlighted area in below
for Response Data description
$ ipmitool raw 0x06 0x03
$ ipmitool mc reset warm
Sent warm reset command to MC
[ipmiutil in Linux]$ ipmitool mc reset warm
Sent warm reset command to MC
$ ipmiutil cmd 00 20 18 03 -V 4
$ icmd 00 20 18 03 -V 4
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
send_icmd ret = 0
ipmiutil cmd, completed successfully
[FreeIPMI in Linux]$ icmd 00 20 18 03 -V 4
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
send_icmd ret = 0
ipmiutil cmd, completed successfully
$ ipmi-raw 0x00 0x06 0x03
rcvd: 03 00 Byte 1
Completion Code
00h = Command Completed Normally
$ bmc-device --warm-reset
[IPMItool under DOS]rcvd: 03 00 Byte 1
Completion Code
00h = Command Completed Normally
$ bmc-device --warm-reset
C:>\ipmitool 20 18 03
20 1c 03 00 Byte 1
Completion Code
00h = Command Completed Normally
20 1c 03 00 Byte 1
Completion Code
00h = Command Completed Normally
Get Self Test Result - NetFn = App (0x06h), CMD = 0x04h, Privilege Level = User, M/O = M
| Linux |
[IPMItool]
ipmitool raw 0x06 0x04
ipmitool mc selftest
ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} raw 0x06 0x04
ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} mc selftest
[ipmiutil]
ipmiutil cmd 00 20 18 04
icmd 00 20 18 04
ipmiutil health
ihealth
ipmiutil cmd 00 20 18 04 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
icmd 00 20 18 04 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ipmiutil health -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ihealth -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
[FreeIPMI]
ipmi-raw 0x00 0x06 0x04
bmc-device --get-self-test-result
ipmi-raw -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} 0x00 0x06 0x04
bmc-device -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} --get-self-test-result
| MS-DOS |
[ipmitool]
ipmitool 20 18 04
[ipmiutil]
ipmiutil cmd 00 20 18 04
icmd 00 20 18 04
For example
[IPMItool in Linux] Hint: hover over Place your mouse over the highlighted area in below
for Response Data description
No error
$ ipmitool raw 0x06 0x04
55 Byte 2
55h = No error. All Self Tests Passed
56h = Self Test function not implemented in this controller
57h = Corrupted or inaccessible data or devices
58h = Fatal hardware error
FFh = reserved
all other = Device-specific ‘internal’ failure
00 Byte 3
For byte 2 = 55h, 56h, FFh: 00h
For byte 2 = 58h, all other: Device-specific
For byte 2 = 57h: self-test error bit field
bit[7] 1b = Cannot access SEL device
bit[6] 1b = Cannot access SDR Repository
bit[5] 1b = Cannot access BMC FRU device
bit[4] 1b = IPMB signal lines do not respond
bit[3] 1b = SDR Repository empty
bit[2] 1b = Internal Use Area of BMC FRU corrupted
bit[1] 1b = controller update 'boot block' firmware corrupted
bit[0] 1b = controller operational firmware corrupted
$ ipmitool mc selftest
Selftest: passed
Internal Use Area of BMC FRU corrupted55 Byte 2
55h = No error. All Self Tests Passed
56h = Self Test function not implemented in this controller
57h = Corrupted or inaccessible data or devices
58h = Fatal hardware error
FFh = reserved
all other = Device-specific ‘internal’ failure
00 Byte 3
For byte 2 = 55h, 56h, FFh: 00h
For byte 2 = 58h, all other: Device-specific
For byte 2 = 57h: self-test error bit field
bit[7] 1b = Cannot access SEL device
bit[6] 1b = Cannot access SDR Repository
bit[5] 1b = Cannot access BMC FRU device
bit[4] 1b = IPMB signal lines do not respond
bit[3] 1b = SDR Repository empty
bit[2] 1b = Internal Use Area of BMC FRU corrupted
bit[1] 1b = controller update 'boot block' firmware corrupted
bit[0] 1b = controller operational firmware corrupted
$ ipmitool mc selftest
Selftest: passed
$ ipmitool raw 0x06 0x04
57 Byte 2
55h = No error. All Self Tests Passed
56h = Self Test function not implemented in this controller
57h = Corrupted or inaccessible data or devices
58h = Fatal hardware error
FFh = reserved
all other = Device-specific ‘internal’ failure
04 Byte 3
For byte 2 = 55h, 56h, FFh: 00h
For byte 2 = 58h, all other: Device-specific
For byte 2 = 57h: self-test error bit field
bit[7] 1b = Cannot access SEL device
bit[6] 1b = Cannot access SDR Repository
bit[5] 1b = Cannot access BMC FRU device
bit[4] 1b = IPMB signal lines do not respond
bit[3] 1b = SDR Repository empty
bit[2] 1b = Internal Use Area of BMC FRU corrupted
bit[1] 1b = controller update 'boot block' firmware corrupted
bit[0] 1b = controller operational firmware corrupted
[ipmiutil in Linux]57 Byte 2
55h = No error. All Self Tests Passed
56h = Self Test function not implemented in this controller
57h = Corrupted or inaccessible data or devices
58h = Fatal hardware error
FFh = reserved
all other = Device-specific ‘internal’ failure
04 Byte 3
For byte 2 = 55h, 56h, FFh: 00h
For byte 2 = 58h, all other: Device-specific
For byte 2 = 57h: self-test error bit field
bit[7] 1b = Cannot access SEL device
bit[6] 1b = Cannot access SDR Repository
bit[5] 1b = Cannot access BMC FRU device
bit[4] 1b = IPMB signal lines do not respond
bit[3] 1b = SDR Repository empty
bit[2] 1b = Internal Use Area of BMC FRU corrupted
bit[1] 1b = controller update 'boot block' firmware corrupted
bit[0] 1b = controller operational firmware corrupted
$ ipmiutil cmd 00 20 18 04
$ icmd 00 20 18 04
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
respData[len=2]: 55 Byte 2
55h = No error. All Self Tests Passed
56h = Self Test function not implemented in this controller
57h = Corrupted or inaccessible data or devices
58h = Fatal hardware error
FFh = reserved
all other = Device-specific ‘internal’ failure
00 Byte 3
For byte 2 = 55h, 56h, FFh: 00h
For byte 2 = 58h, all other: Device-specific
For byte 2 = 57h: self-test error bit field
bit[7] 1b = Cannot access SEL device
bit[6] 1b = Cannot access SDR Repository
bit[5] 1b = Cannot access BMC FRU device
bit[4] 1b = IPMB signal lines do not respond
bit[3] 1b = SDR Repository empty
bit[2] 1b = Internal Use Area of BMC FRU corrupted
bit[1] 1b = controller update 'boot block' firmware corrupted
bit[0] 1b = controller operational firmware corrupted
send_icmd ret = 0
ipmiutil cmd, completed successfully
$ ihealth | grep Selftest
Selftest status = 00 Byte 3
For byte 2 = 55h, 56h, FFh: 00h
For byte 2 = 58h, all other: Device-specific
For byte 2 = 57h: self-test error bit field
bit[7] 1b = Cannot access SEL device
bit[6] 1b = Cannot access SDR Repository
bit[5] 1b = Cannot access BMC FRU device
bit[4] 1b = IPMB signal lines do not respond
bit[3] 1b = SDR Repository empty
bit[2] 1b = Internal Use Area of BMC FRU corrupted
bit[1] 1b = controller update 'boot block' firmware corrupted
bit[0] 1b = controller operational firmware corrupted
55 Byte 2
55h = No error. All Self Tests Passed
56h = Self Test function not implemented in this controller
57h = Corrupted or inaccessible data or devices
58h = Fatal hardware error
FFh = reserved
all other = Device-specific ‘internal’ failure
(OK)
[FreeIPMI in Linux]$ icmd 00 20 18 04
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
respData[len=2]: 55 Byte 2
55h = No error. All Self Tests Passed
56h = Self Test function not implemented in this controller
57h = Corrupted or inaccessible data or devices
58h = Fatal hardware error
FFh = reserved
all other = Device-specific ‘internal’ failure
00 Byte 3
For byte 2 = 55h, 56h, FFh: 00h
For byte 2 = 58h, all other: Device-specific
For byte 2 = 57h: self-test error bit field
bit[7] 1b = Cannot access SEL device
bit[6] 1b = Cannot access SDR Repository
bit[5] 1b = Cannot access BMC FRU device
bit[4] 1b = IPMB signal lines do not respond
bit[3] 1b = SDR Repository empty
bit[2] 1b = Internal Use Area of BMC FRU corrupted
bit[1] 1b = controller update 'boot block' firmware corrupted
bit[0] 1b = controller operational firmware corrupted
send_icmd ret = 0
ipmiutil cmd, completed successfully
$ ihealth | grep Selftest
Selftest status = 00 Byte 3
For byte 2 = 55h, 56h, FFh: 00h
For byte 2 = 58h, all other: Device-specific
For byte 2 = 57h: self-test error bit field
bit[7] 1b = Cannot access SEL device
bit[6] 1b = Cannot access SDR Repository
bit[5] 1b = Cannot access BMC FRU device
bit[4] 1b = IPMB signal lines do not respond
bit[3] 1b = SDR Repository empty
bit[2] 1b = Internal Use Area of BMC FRU corrupted
bit[1] 1b = controller update 'boot block' firmware corrupted
bit[0] 1b = controller operational firmware corrupted
55 Byte 2
55h = No error. All Self Tests Passed
56h = Self Test function not implemented in this controller
57h = Corrupted or inaccessible data or devices
58h = Fatal hardware error
FFh = reserved
all other = Device-specific ‘internal’ failure
(OK)
$ ipmi-raw 0x00 0x06 0x04
rcvd: 04 00 Byte 1
Completion Code
00h = Command Completed Normally
55 Byte 2
55h = No error. All Self Tests Passed
56h = Self Test function not implemented in this controller
57h = Corrupted or inaccessible data or devices
58h = Fatal hardware error
FFh = reserved
all other = Device-specific ‘internal’ failure
00 Byte 3
For byte 2 = 55h, 56h, FFh: 00h
For byte 2 = 58h, all other: Device-specific
For byte 2 = 57h: self-test error bit field
bit[7] 1b = Cannot access SEL device
bit[6] 1b = Cannot access SDR Repository
bit[5] 1b = Cannot access BMC FRU device
bit[4] 1b = IPMB signal lines do not respond
bit[3] 1b = SDR Repository empty
bit[2] 1b = Internal Use Area of BMC FRU corrupted
bit[1] 1b = controller update 'boot block' firmware corrupted
bit[0] 1b = controller operational firmware corrupted
$ bmc-device --get-self-test-result
Self Test Result : No Error
rcvd: 04 00 Byte 1
Completion Code
00h = Command Completed Normally
55 Byte 2
55h = No error. All Self Tests Passed
56h = Self Test function not implemented in this controller
57h = Corrupted or inaccessible data or devices
58h = Fatal hardware error
FFh = reserved
all other = Device-specific ‘internal’ failure
00 Byte 3
For byte 2 = 55h, 56h, FFh: 00h
For byte 2 = 58h, all other: Device-specific
For byte 2 = 57h: self-test error bit field
bit[7] 1b = Cannot access SEL device
bit[6] 1b = Cannot access SDR Repository
bit[5] 1b = Cannot access BMC FRU device
bit[4] 1b = IPMB signal lines do not respond
bit[3] 1b = SDR Repository empty
bit[2] 1b = Internal Use Area of BMC FRU corrupted
bit[1] 1b = controller update 'boot block' firmware corrupted
bit[0] 1b = controller operational firmware corrupted
$ bmc-device --get-self-test-result
Self Test Result : No Error
Manufacturing Test On - NetFn = App (0x06h), CMD = 0x05h, Privilege Level = Admin, M/O = O
| Linux |
[IPMItool]
ipmitool raw 0x06 0x05
ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} raw 0x06 0x05
[ipmiutil]
ipmiutil cmd 00 20 18 05
icmd 00 20 18 05
ipmiutil cmd 00 20 18 05 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
icmd 00 20 18 05 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
[FreeIPMI]
ipmi-raw 0x00 0x06 0x05
ipmi-raw -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} 0x00 0x06 0x05
| MS-DOS |
[ipmitool]
ipmitool 20 18 05
[ipmiutil]
ipmiutil cmd 00 20 18 05 -V 4
icmd 00 20 18 05 -V 4
For example
[IPMItool in Linux] Hint: hover over Place your mouse over the highlighted area in below
for Response Data description
$ ipmitool raw 0x06 0x05
[ipmiutil in Linux]
$ ipmiutil cmd 00 20 18 05
$ icmd 00 20 18 05
$ icmd 00 20 18 05 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
send_icmd ret = 0
ipmiutil cmd, completed successfully
[FreeIPMI in Linux]$ icmd 00 20 18 05
$ icmd 00 20 18 05 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
send_icmd ret = 0
ipmiutil cmd, completed successfully
$ ipmi-raw 0x00 0x06 0x05
$ ipmi-raw -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} 0x00 0x06 0x05
rcvd: 05 00 Byte 1
Completion Code
00h = Command Completed Normally
$ ipmi-raw -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} 0x00 0x06 0x05
rcvd: 05 00 Byte 1
Completion Code
00h = Command Completed Normally
Set ACPI Power State - NetFn = App (0x06h), CMD = 0x06h, Privilege Level = Admin, M/O = O
| Linux |
[IPMItool] Hint: hover over Place your mouse over the highlighted area in below
for Request Data description
ipmitool raw 0x06 0x06 D[1] Byte 1
ACPI System Power State to set
[7] - 1b = set system power state
0b = don’t change system power state
[6:0] - System Power State enumeration
00h set S0/G0
01h set S1
02h set S2
03h set S3
04h set S4
05h set S5/G2
06h set S4/S5
07h set G3
08h sleeping
09h G1 sleeping
0Ah set override
20h set Legacy On
21h set Legacy Off
2Ah set unknown
7Fh no change
D[2] Byte 2
ACPI Device Power State to set
[7] - 1b = set device power state
0b = don't change device power state
[6:0] - Device Power State enumeration
00h set D0
01h set D1
02h set D2
03h set D3
2Ah set unknown
7Fh no change
ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} raw 0x06 0x06 D[1] Byte 1
ACPI System Power State to set
[7] - 1b = set system power state
0b = don’t change system power state
[6:0] - System Power State enumeration
00h set S0/G0
01h set S1
02h set S2
03h set S3
04h set S4
05h set S5/G2
06h set S4/S5
07h set G3
08h sleeping
09h G1 sleeping
0Ah set override
20h set Legacy On
21h set Legacy Off
2Ah set unknown
7Fh no change
D[2] Byte 2
ACPI Device Power State to set
[7] - 1b = set device power state
0b = don't change device power state
[6:0] - Device Power State enumeration
00h set D0
01h set D1
02h set D2
03h set D3
2Ah set unknown
7Fh no change
[ipmiutil]
ipmiutil cmd 00 20 18 06 D[1] Byte 1
ACPI System Power State to set
[7] - 1b = set system power state
0b = don’t change system power state
[6:0] - System Power State enumeration
00h set S0/G0
01h set S1
02h set S2
03h set S3
04h set S4
05h set S5/G2
06h set S4/S5
07h set G3
08h sleeping
09h G1 sleeping
0Ah set override
20h set Legacy On
21h set Legacy Off
2Ah set unknown
7Fh no change
D[2] Byte 2
ACPI Device Power State to set
[7] - 1b = set device power state
0b = don't change device power state
[6:0] - Device Power State enumeration
00h set D0
01h set D1
02h set D2
03h set D3
2Ah set unknown
7Fh no change
icmd 00 20 18 06 D[1] Byte 1
ACPI System Power State to set
[7] - 1b = set system power state
0b = don’t change system power state
[6:0] - System Power State enumeration
00h set S0/G0
01h set S1
02h set S2
03h set S3
04h set S4
05h set S5/G2
06h set S4/S5
07h set G3
08h sleeping
09h G1 sleeping
0Ah set override
20h set Legacy On
21h set Legacy Off
2Ah set unknown
7Fh no change
D[2] Byte 2
ACPI Device Power State to set
[7] - 1b = set device power state
0b = don't change device power state
[6:0] - Device Power State enumeration
00h set D0
01h set D1
02h set D2
03h set D3
2Ah set unknown
7Fh no change
ipmiutil cmd 00 20 18 06 D[1] Byte 1
ACPI System Power State to set
[7] - 1b = set system power state
0b = don’t change system power state
[6:0] - System Power State enumeration
00h set S0/G0
01h set S1
02h set S2
03h set S3
04h set S4
05h set S5/G2
06h set S4/S5
07h set G3
08h sleeping
09h G1 sleeping
0Ah set override
20h set Legacy On
21h set Legacy Off
2Ah set unknown
7Fh no change
D[2] Byte 2
ACPI Device Power State to set
[7] - 1b = set device power state
0b = don't change device power state
[6:0] - Device Power State enumeration
00h set D0
01h set D1
02h set D2
03h set D3
2Ah set unknown
7Fh no change
-N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
icmd 00 20 18 06 D[1] Byte 1
ACPI System Power State to set
[7] - 1b = set system power state
0b = don’t change system power state
[6:0] - System Power State enumeration
00h set S0/G0
01h set S1
02h set S2
03h set S3
04h set S4
05h set S5/G2
06h set S4/S5
07h set G3
08h sleeping
09h G1 sleeping
0Ah set override
20h set Legacy On
21h set Legacy Off
2Ah set unknown
7Fh no change
D[2] Byte 2
ACPI Device Power State to set
[7] - 1b = set device power state
0b = don't change device power state
[6:0] - Device Power State enumeration
00h set D0
01h set D1
02h set D2
03h set D3
2Ah set unknown
7Fh no change
-N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
[FreeIPMI]
ipmi-raw 0x00 0x06 0x06 D[1] Byte 1
ACPI System Power State to set
[7] - 1b = set system power state
0b = don’t change system power state
[6:0] - System Power State enumeration
00h set S0/G0
01h set S1
02h set S2
03h set S3
04h set S4
05h set S5/G2
06h set S4/S5
07h set G3
08h sleeping
09h G1 sleeping
0Ah set override
20h set Legacy On
21h set Legacy Off
2Ah set unknown
7Fh no change
D[2] Byte 2
ACPI Device Power State to set
[7] - 1b = set device power state
0b = don't change device power state
[6:0] - Device Power State enumeration
00h set D0
01h set D1
02h set D2
03h set D3
2Ah set unknown
7Fh no change
bmc-device --set-acpi-power-state --set-acpi-system-power-state <SYSTEM_POWER_STATE> SYSTEM POWER STATE
ACPI System Power State to set
S0_G0, S1, S2, S3, S4, S5_G2, S4_S5, G3, SLEEPING, G1_SLEEPING, OVERRIDE, LEGACY_ON, LEGACY_OFF, UNKNOWN
bmc-device --set-acpi-power-state --set-acpi-device-power-state <DEVICE_POWER_STATE> DEVICE POWER STATE
ACPI Device Power State to set
D0, D1, D2, D3, UNKNOWN
| MS-DOS |
[ipmitool]
ipmitool 20 18 06 Data[1:2]
[ipmiutil]
ipmiutil cmd 00 20 18 06 Data[1:2] -V 4
icmd 00 20 18 06 Data[1:2] -V 4
For example
Set System Power State to S5/G2 and Device Power State to D0
[IPMItool in Linux] Hint: hover over Place your mouse over the highlighted area in below
for Request/Response Data description
$ ipmitool raw 0x06 0x06
0x85
Byte 1
ACPI System Power State to set
bit[7] - 1b = set system power state
bit[6:0] - System Power State enumeration
05h = set S5/G2
0x80 Byte 2
ACPI Device Power State to set
bit[7] - 1b = set system power state
bit[6:0] - Device Power State enumeration
0h = set D0
[ipmiutil in Linux]ACPI System Power State to set
bit[7] - 1b = set system power state
bit[6:0] - System Power State enumeration
05h = set S5/G2
0x80 Byte 2
ACPI Device Power State to set
bit[7] - 1b = set system power state
bit[6:0] - Device Power State enumeration
0h = set D0
$ ipmiutil cmd 00 20 18 06
85
Byte 1
ACPI System Power State to set
bit[7] - 1b = set system power state
bit[6:0] - System Power State enumeration
05h = set S5/G2
80 Byte 2
ACPI Device Power State to set
bit[7] - 1b = set system power state
bit[6:0] - Device Power State enumeration
0h = set D0
$ icmd 00 20 18 06 85 Byte 1
ACPI System Power State to set
bit[7] - 1b = set system power state
bit[6:0] - System Power State enumeration
05h = set S5/G2
80 Byte 2
ACPI Device Power State to set
bit[7] - 1b = set system power state
bit[6:0] - Device Power State enumeration
0h = set D0
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
send_icmd ret = 0
ipmiutil cmd, completed successfully
[FreeIPMI in Linux]ACPI System Power State to set
bit[7] - 1b = set system power state
bit[6:0] - System Power State enumeration
05h = set S5/G2
80 Byte 2
ACPI Device Power State to set
bit[7] - 1b = set system power state
bit[6:0] - Device Power State enumeration
0h = set D0
$ icmd 00 20 18 06 85 Byte 1
ACPI System Power State to set
bit[7] - 1b = set system power state
bit[6:0] - System Power State enumeration
05h = set S5/G2
80 Byte 2
ACPI Device Power State to set
bit[7] - 1b = set system power state
bit[6:0] - Device Power State enumeration
0h = set D0
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
send_icmd ret = 0
ipmiutil cmd, completed successfully
$ ipmi-raw 0x00 0x06 0x06
0x85
Byte 1
ACPI System Power State to set
bit[7] - 1b = set system power state
bit[6:0] - System Power State enumeration
05h = set S5/G2
0x80 Byte 2
ACPI Device Power State to set
bit[7] - 1b = set system power state
bit[6:0] - Device Power State enumeration
0h = set D0
rcvd: 06 00 Byte 1
Completion Code
00h = Command Completed Normally
$ bmc-device --set-acpi-power-state --set-acpi-system-power-state S5_G2
$ bmc-device --set-acpi-power-state --set-acpi-device-power-state D0
$ bmc-device --get-acpi-power-state
ACPI System Power State : S5/G2
ACPI Device Power State : D0
[IPMItool under DOS]
ACPI System Power State to set
bit[7] - 1b = set system power state
bit[6:0] - System Power State enumeration
05h = set S5/G2
0x80 Byte 2
ACPI Device Power State to set
bit[7] - 1b = set system power state
bit[6:0] - Device Power State enumeration
0h = set D0
rcvd: 06 00 Byte 1
Completion Code
00h = Command Completed Normally
$ bmc-device --set-acpi-power-state --set-acpi-system-power-state S5_G2
$ bmc-device --set-acpi-power-state --set-acpi-device-power-state D0
$ bmc-device --get-acpi-power-state
ACPI System Power State : S5/G2
ACPI Device Power State : D0
C:\> ipmitool 20 18 06
85
Byte 1
ACPI System Power State to set
bit[7] - 1b = set system power state
bit[6:0] - System Power State enumeration
05h = set S5/G2
80 Byte 2
ACPI Device Power State to set
bit[7] - 1b = set system power state
bit[6:0] - Device Power State enumeration
0h = set D0
1c 06 00 Byte 1
Completion Code
00h = Command Completed Normally
ACPI System Power State to set
bit[7] - 1b = set system power state
bit[6:0] - System Power State enumeration
05h = set S5/G2
80 Byte 2
ACPI Device Power State to set
bit[7] - 1b = set system power state
bit[6:0] - Device Power State enumeration
0h = set D0
1c 06 00 Byte 1
Completion Code
00h = Command Completed Normally
Get ACPI Power State - NetFn = App (0x06h), CMD = 0x07h, Privilege Level = User, M/O = O
| Linux |
[IPMItool]
ipmitool raw 0x06 0x07
ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} raw 0x06 0x07
[ipmiutil]
ipmiutil cmd 00 20 18 07
icmd 00 20 18 07
ipmiutil cmd 00 20 18 07 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
icmd 00 20 18 07 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
[FreeIPMI]
ipmi-raw 0x00 0x06 0x07
bmc-device --get-acpi-power-state
ipmi-raw -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} 0x00 0x06 0x07
bmc-device -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} --get-acpi-power-state
| MS-DOS |
[ipmitool]
ipmitool 20 18 07
[ipmiutil]
ipmiutil cmd 00 20 18 07
icmd 00 20 18 07
For example
[IPMItool in Linux] Hint: hover over Place your mouse over the highlighted area in below
for Response Data description
$ ipmitool raw 0x06 0x07
05 Byte 2
ACPI System Power State
[7] - reserved
[6:0] - System Power State enumeration
00h S0/G0
01h S1
02h S2
03h S3
04h S4
05h S5/G2
06h S4/S5
07h G3
08h sleeping
09h G1 sleeping
0Ah override
20h Legacy On
21h Legacy Off
2Ah unknown
00 Byte 3
ACPI Device Power State
[7] - reserved
[6:0] - Device Power State enumeration
00h D0
01h D1
02h D2
03h D3
2Ah unknown
[ipmiutil in Linux]05 Byte 2
ACPI System Power State
[7] - reserved
[6:0] - System Power State enumeration
00h S0/G0
01h S1
02h S2
03h S3
04h S4
05h S5/G2
06h S4/S5
07h G3
08h sleeping
09h G1 sleeping
0Ah override
20h Legacy On
21h Legacy Off
2Ah unknown
00 Byte 3
ACPI Device Power State
[7] - reserved
[6:0] - Device Power State enumeration
00h D0
01h D1
02h D2
03h D3
2Ah unknown
$ ipmiutil cmd 00 20 18 07
$ icmd 00 20 18 07
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
respData[len=2]: 05 Byte 2
ACPI System Power State
[7] - reserved
[6:0] - System Power State enumeration
00h S0/G0
01h S1
02h S2
03h S3
04h S4
05h S5/G2
06h S4/S5
07h G3
08h sleeping
09h G1 sleeping
0Ah override
20h Legacy On
21h Legacy Off
2Ah unknown
00 Byte 3
ACPI Device Power State
[7] - reserved
[6:0] - Device Power State enumeration
00h D0
01h D1
02h D2
03h D3
2Ah unknown
send_icmd ret = 0
ipmiutil cmd, completed successfully
[FreeIPMI in Linux]$ icmd 00 20 18 07
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
respData[len=2]: 05 Byte 2
ACPI System Power State
[7] - reserved
[6:0] - System Power State enumeration
00h S0/G0
01h S1
02h S2
03h S3
04h S4
05h S5/G2
06h S4/S5
07h G3
08h sleeping
09h G1 sleeping
0Ah override
20h Legacy On
21h Legacy Off
2Ah unknown
00 Byte 3
ACPI Device Power State
[7] - reserved
[6:0] - Device Power State enumeration
00h D0
01h D1
02h D2
03h D3
2Ah unknown
send_icmd ret = 0
ipmiutil cmd, completed successfully
$ ipmi-raw 0x00 0x06 0x07
rcvd: 07 00 Byte 1
Completion Code
00h = Command Completed Normally
05 Byte 2
ACPI System Power State
[7] - reserved
[6:0] - System Power State enumeration
00h S0/G0
01h S1
02h S2
03h S3
04h S4
05h S5/G2
06h S4/S5
07h G3
08h sleeping
09h G1 sleeping
0Ah override
20h Legacy On
21h Legacy Off
2Ah unknown
00 Byte 3
ACPI Device Power State
[7] - reserved
[6:0] - Device Power State enumeration
00h D0
01h D1
02h D2
03h D3
2Ah unknown
$ bmc-device --get-acpi-power-state
ACPI System Power State : S5/G2
ACPI Device Power State : D0
[IPMItool under DOS]rcvd: 07 00 Byte 1
Completion Code
00h = Command Completed Normally
05 Byte 2
ACPI System Power State
[7] - reserved
[6:0] - System Power State enumeration
00h S0/G0
01h S1
02h S2
03h S3
04h S4
05h S5/G2
06h S4/S5
07h G3
08h sleeping
09h G1 sleeping
0Ah override
20h Legacy On
21h Legacy Off
2Ah unknown
00 Byte 3
ACPI Device Power State
[7] - reserved
[6:0] - Device Power State enumeration
00h D0
01h D1
02h D2
03h D3
2Ah unknown
$ bmc-device --get-acpi-power-state
ACPI System Power State : S5/G2
ACPI Device Power State : D0
C:\> ipmitool 20 18 07
1c 07 00 Byte 1
Completion Code
00h = Command Completed Normally
05 Byte 2
ACPI System Power State
[7] - reserved
[6:0] - System Power State enumeration
00h S0/G0
01h S1
02h S2
03h S3
04h S4
05h S5/G2
06h S4/S5
07h G3
08h sleeping
09h G1 sleeping
0Ah override
20h Legacy On
21h Legacy Off
2Ah unknown
00 Byte 3
ACPI Device Power State
[7] - reserved
[6:0] - Device Power State enumeration
00h D0
01h D1
02h D2
03h D3
2Ah unknown
1c 07 00 Byte 1
Completion Code
00h = Command Completed Normally
05 Byte 2
ACPI System Power State
[7] - reserved
[6:0] - System Power State enumeration
00h S0/G0
01h S1
02h S2
03h S3
04h S4
05h S5/G2
06h S4/S5
07h G3
08h sleeping
09h G1 sleeping
0Ah override
20h Legacy On
21h Legacy Off
2Ah unknown
00 Byte 3
ACPI Device Power State
[7] - reserved
[6:0] - Device Power State enumeration
00h D0
01h D1
02h D2
03h D3
2Ah unknown
Get Device GUID - NetFn = App (0x06h), CMD = 0x08h, Privilege Level = User, M/O = O
| Linux |
[IPMItool]
ipmitool raw 0x06 0x08
ipmitool mc guid
ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} raw 0x06 0x08
ipmitool -H ${bmc_ip} -U ${bmc_user} -P ${bmc_password} mc guid
[ipmiutil]
ipmiutil cmd 00 20 18 08
icmd 00 20 18 08
ipmiutil cmd 00 20 18 08 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
icmd 00 20 18 08 -N ${bmc_ip} -U ${bmc_user} -P ${bmc_password}
[FreeIPMI]
ipmi-raw 0x00 0x06 0x08
bmc-info --get-device-guid
ipmi-raw -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} 0x00 0x06 0x08
bmc-info -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} --get-device-guid
| MS-DOS |
[ipmitool]
ipmitool 20 18 08
[ipmiutil]
ipmiutil cmd 00 20 18 08
icmd 00 20 18 08
For example
[IPMItool in Linux] Hint: hover over Place your mouse over the highlighted area in below
for Response Data description
$ ipmitool raw 0x06 0x08
d8 cb 8a f7 c6 b6 Byte [2:7]
GUID Byte[1:6]
node field
9f 03 Byte [8:9]
GUID Byte[7:8]
clock seq and reserved
00 10 Byte [10:11]
GUID Byte[9:10]
time high and version
de bf Byte [12:13]
GUID Byte[11:12]
time mid
08 e1 40 6c Byte [14:17]
GUID Byte[13:16]
time low
$ ipmitool mc guid
System GUID : f78acbd8-b6c6-039f-0010-debfae90406c
Timestamp : 08/10/2101 06:08:24
[ipmiutil in Linux]d8 cb 8a f7 c6 b6 Byte [2:7]
GUID Byte[1:6]
node field
9f 03 Byte [8:9]
GUID Byte[7:8]
clock seq and reserved
00 10 Byte [10:11]
GUID Byte[9:10]
time high and version
de bf Byte [12:13]
GUID Byte[11:12]
time mid
08 e1 40 6c Byte [14:17]
GUID Byte[13:16]
time low
$ ipmitool mc guid
System GUID : f78acbd8-b6c6-039f-0010-debfae90406c
Timestamp : 08/10/2101 06:08:24
$ ipmiutil cmd 00 20 18 08
$ icmd 00 20 18 08
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
respData[len=16]: d8 cb 8a f7 c6 b6 Byte [2:7]
GUID Byte[1:6]
node field
9f 03 Byte [8:9]
GUID Byte[7:8]
clock seq and reserved
00 10 Byte [10:11]
GUID Byte[9:10]
time high and version
de bf Byte [12:13]
GUID Byte[11:12]
time mid
08 e1 40 6c Byte [14:17]
GUID Byte[13:16]
time low
send_icmd ret = 0
ipmiutil cmd, completed successfully
[FreeIPMI in Linux]$ icmd 00 20 18 08
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
respData[len=16]: d8 cb 8a f7 c6 b6 Byte [2:7]
GUID Byte[1:6]
node field
9f 03 Byte [8:9]
GUID Byte[7:8]
clock seq and reserved
00 10 Byte [10:11]
GUID Byte[9:10]
time high and version
de bf Byte [12:13]
GUID Byte[11:12]
time mid
08 e1 40 6c Byte [14:17]
GUID Byte[13:16]
time low
send_icmd ret = 0
ipmiutil cmd, completed successfully
$ ipmi-raw 0x00 0x06 0x08
rcvd: 08 00 Byte 1
Completion Code
00h = Command Completed Normally
D8 CB 8A F7 C6 B6 Byte [2:7]
GUID Byte[1:6]
node field
9F 03 Byte [8:9]
GUID Byte[7:8]
clock seq and reserved
00 10 Byte [10:11]
GUID Byte[9:10]
time high and version
DE BF Byte [12:13]
GUID Byte[11:12]
time mid
08 E1 40 6C Byte [14:17]
GUID Byte[13:16]
time low
$ bmc-info -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} --get-device-guid
6c40e108-bfde-1000-039f-b6c6f78acbd8
rcvd: 08 00 Byte 1
Completion Code
00h = Command Completed Normally
D8 CB 8A F7 C6 B6 Byte [2:7]
GUID Byte[1:6]
node field
9F 03 Byte [8:9]
GUID Byte[7:8]
clock seq and reserved
00 10 Byte [10:11]
GUID Byte[9:10]
time high and version
DE BF Byte [12:13]
GUID Byte[11:12]
time mid
08 E1 40 6C Byte [14:17]
GUID Byte[13:16]
time low
$ bmc-info -h ${bmc_ip} -u ${bmc_user} -p ${bmc_password} --get-device-guid
6c40e108-bfde-1000-039f-b6c6f78acbd8
Reference
[1] "Intelligent Platform Management Interface Specification Second Generation v2.0 Document Revision 1.1"
https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/ipmi-second-gen-interface-spec-v2-rev1-1.pdf
[2] "IPMItool" http://sourceforge.net/projects/ipmitool/
[3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm
[4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/
[5] "FreeIPMI Documentation" http://www.gnu.org/software/freeipmi/index.html
Last Updated: May 10, 2018
No comments:
Post a Comment