IPMICFG
IPMICFG is an In-band utility for configuring IPMI devices. It is a command line tool providing standard IPMI and Supermicro® proprietary OEM commands for BMC/FRU configuration. This CLI-based utility can be executed on UEFI, DOS, Windows, and Linux OS and does not require any additional software installation.
IPMICFG Key Features:
Set up IPMI IP Address
Set up IPMI Configuration
Configure IPMI User Management
Configure IPMI FRU
Manage System Event Log (SEL)
Manage IPMI by node management (NM) protocol
- 官方说明地址:
https://www.supermicro.org.cn/en/solutions/management-software/ipmi-utilities - 官方软件下载地址
https://www.supermicro.org.cn/en/support/resources/downloadcenter/smsdownload?category=IPMI
查看
查看ip地址
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>IPMICFG-Win.exe -m
IP=192.168.1.xx
MAC=xx:94:EF:F7:37:8F
查看固件版本
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>IPMICFG-Win.exe -ver
Firmware Version: 30.95.00
查看fru
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>IPMICFG-Win.exe -fru list
Chassis Type (CT) = Rack Mount Chassis(17h)
Chassis Part Number (CP) = N/A
Chassis Serial Number (CS) = N/A
Board Mfg. Date/Time(BDT) = 2018/11/04 08:10:00 (4A 53 B7)
Board Manufacturer (BM) = Nettrix
Board Product Name (BPN) = 60P16-US
Board Serial Number (BS) = xxx
Board Part Number (BP) = 24001880
Product Manufacturer (PM) = Nettrix
Product Name (PN) = R420 G30
Product Part/Model Number (PPM) = xxx
Product Version (PV) = Purley
Product Serial Number (PS) = xxx
Product Asset Tag (PAT) =
查看信息简介
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>IPMICFG-Win.exe -summary
Summary
-------------------------------------------
IPv4 Address : 192.168.1.6
BMC MAC Address : 08:94:EF:F7:36:5D
Firmware Revision : 30.95.00
查看sel信息
- 开机启动
- 网线掉了
查看主板传感器状态
详细信息
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>IPMICFG-Win.exe -sdr
Status | (#)Sensor | Reading | Low Limit | High Limit |
------ | --------- | ------- | --------- | ---------- |
OK | (1) +VCORE0 | 1.80 V | 1.10 V | 2.60 V |
| (2) +VCORE1 | N/A | 1.10 V | 2.60 V |
OK | (3) +VDDQ_ABC_CPU0 | 1.21 V | 0.90 V | 1.50 V |
OK | (4) +VDDQ_DEF_CPU0 | 1.22 V | 0.90 V | 1.50 V |
| (5) +VDDQ_ABC_CPU1 | N/A | 0.90 V | 1.50 V |
| (6) +VDDQ_DEF_CPU1 | N/A | 0.90 V | 1.50 V |
OK | (7) +1.05V_PCH | 1.05 V | 0.79 V | 1.31 V |
OK | (8) +12V | 12.00 V | 9.00 V | 15.00 V |
OK | (9) +5V | 5.00 V | 3.80 V | 6.30 V |
OK | (10) +3.3V | 3.30 V | 2.50 V | 4.10 V |
OK | (11) +VBAT | 3.10 V | 2.20 V | 3.70 V |
OK | (12) PCH_Temp | 57C/135F | -4C/25F | 81C/178F |
OK | (13) PCH_Amb_Temp | 43C/109F | -4C/25F | 68C/154F |
OK | (14) Inlet_Temp | 30C/86F | -4C/25F | 57C/135F |
OK | (15) Outlet_Temp | 38C/100F | -4C/25F | 68C/154F |
OK | (16) PCIe_Amb_Temp | 28C/82F | -4C/25F | 68C/154F |
OK | (17) CPU0_VR_Temp | 37C/99F | -4C/25F | 92C/198F |
OK | (18) CPU1_VR_Temp | 27C/81F | -4C/25F | 92C/198F |
Fail | (19) CPU0_Tmarging | 45C/113F | -50C/-57F | -61C/-77F |
| (20) CPU1_Tmarging | 0C/32F | -50C/-57F | -61C/-77F |
OK | (21) Sys_Total_Power | 114 Watts | N/A | 1404 Watts |
| (22) PWR_State | S0 / G0 working |
| (23) PWR_Button | N/A |
| (24) System_Restart | N/A |
| (25) WatchDog2 | N/A |
| (26) SEL_FULL | N/A |
OK | (27) CPU0_Temp | 42C/108F | -4C/25F | 96C/205F |
| (28) CPU1_Temp | 0C/32F | -4C/25F | 96C/205F |
OK | (29) CPU0_Status | Processor presence detected |
| (30) CPU1_Status | N/A |
OK | (31) CPU_Power | 36 Watts | N/A | 506 Watts |
| (32) CPU_Cups | N/A | N/A | N/A |
| (33) CPU_CATERR | N/A |
OK | (34) CPU0_A0_Temp | 36C/97F | -4C/25F | 82C/180F |
| (35) CPU0_A1_Temp | 0C/32F | -4C/25F | 82C/180F |
OK | (36) CPU0_B0_Temp | 36C/97F | -4C/25F | 82C/180F |
OK | (37) CPU0_C0_Temp | 36C/97F | -4C/25F | 82C/180F |
OK | (38) CPU0_D0_Temp | 33C/91F | -4C/25F | 82C/180F |
| (39) CPU0_D1_Temp | 0C/32F | -4C/25F | 82C/180F |
| (40) CPU0_E0_Temp | 0C/32F | -4C/25F | 82C/180F |
| (41) CPU0_F0_Temp | 0C/32F | -4C/25F | 82C/180F |
| (42) CPU1_A0_Temp | 0C/32F | -4C/25F | 82C/180F |
| (43) CPU1_A1_Temp | 0C/32F | -4C/25F | 82C/180F |
| (44) CPU1_B0_Temp | 0C/32F | -4C/25F | 82C/180F |
| (45) CPU1_C0_Temp | 0C/32F | -4C/25F | 82C/180F |
| (46) CPU1_D0_Temp | 0C/32F | -4C/25F | 82C/180F |
| (47) CPU1_D1_Temp | 0C/32F | -4C/25F | 82C/180F |
| (48) CPU1_E0_Temp | 0C/32F | -4C/25F | 82C/180F |
| (49) CPU1_F0_Temp | 0C/32F | -4C/25F | 82C/180F |
OK | (50) CPU0_A0_Status | Presence detected |
| (51) CPU0_A1_Status | N/A |
OK | (52) CPU0_B0_Status | Presence detected |
OK | (53) CPU0_C0_Status | Presence detected |
OK | (54) CPU0_D0_Status | Presence detected |
| (55) CPU0_D1_Status | N/A |
| (56) CPU0_E0_Status | N/A |
| (57) CPU0_F0_Status | N/A |
| (58) CPU1_A0_Status | N/A |
| (59) CPU1_A1_Status | N/A |
| (60) CPU1_B0_Status | N/A |
| (61) CPU1_C0_Status | N/A |
| (62) CPU1_D0_Status | N/A |
| (63) CPU1_D1_Status | N/A |
| (64) CPU1_E0_Status | N/A |
| (65) CPU1_F0_Status | N/A |
OK | (66) Memory_Power | 6 Watts | N/A | 508 Watts |
| (67) MEM_Cups | N/A | N/A | N/A |
OK | (83) PSU1_Status | Presence detected |
OK | (93) PSU2_Status | Presence detected |
| (94) Raid1_Temp | 0C/32F | -4C/25F | 97C/207F |
OK | (95) Raid2_Temp | 58C/136F | -4C/25F | 97C/207F |
| (160) PCIeSSDTemp1 | 0C/32F | -4C/25F | 70C/158F |
| (161) PCIeSSDTemp2 | 0C/32F | -4C/25F | 70C/158F |
| (162) PCIeSSDTemp3 | 0C/32F | -4C/25F | 70C/158F |
| (163) PCIeSSDTemp4 | 0C/32F | -4C/25F | 70C/158F |
| (164) PCIeSSDTemp5 | 0C/32F | -4C/25F | 70C/158F |
| (165) PCIeSSDTemp6 | 0C/32F | -4C/25F | 70C/158F |
| (166) PCIeSSDTemp7 | 0C/32F | -4C/25F | 70C/158F |
| (167) PCIeSSDTemp8 | 0C/32F | -4C/25F | 70C/158F |
| (168) PCIe_NIC_Temp | 0C/32F | -4C/25F | 106C/223F |
| (169) PCH_LAN1_Link | N/A |
| (170) PCH_LAN2_Link | N/A |
| (171) PCH_LAN3_Link | N/A |
| (172) PCH_LAN4_Link | Cable or Interconnect is connected |
OK | (183) FAN1_Speed | 3400 RPM | 700 RPM | 21000 RPM |
OK | (184) FAN2_Speed | 3500 RPM | 700 RPM | 21000 RPM |
OK | (185) FAN3_Speed | 3500 RPM | 700 RPM | 21000 RPM |
| (186) FAN1_Present | N/A | N/A | N/A |
| (187) FAN2_Present | N/A | N/A | N/A |
| (188) FAN3_Present | N/A | N/A | N/A |
OK | (327) HDD0_Status | Drive Presence |
OK | (328) HDD1_Status | Drive Presence |
OK | (329) HDD2_Status | Drive Presence |
OK | (330) HDD3_Status | Drive Presence |
OK | (583) PSU1_Vin | 220.00 V | 86.00 V | 270.00 V |
OK | (584) PSU1_Iin | 0.20 Amps | N/A | 11.00 Amps |
OK | (585) PSU1_Pin | 54 Watts | N/A | 702 Watts |
OK | (586) PSU1_Vout | 12.00 V | 11.40 V | 12.80 V |
OK | (587) PSU1_Iout | 3.00 Amps | N/A | 50.00 Amps |
OK | (588) PSU1_Pout | 48 Watts | N/A | 630 Watts |
OK | (589) PSU1_Hs_Temp | 38C/100F | -4C/25F | 92C/198F |
OK | (590) PSU1_Amb_Temp | 30C/86F | -4C/25F | 64C/147F |
OK | (591) PSU1_FanSpeed | 4500 RPM | 900 RPM | 20000 RPM |
OK | (592) PSU2_Vin | 220.00 V | 86.00 V | 270.00 V |
OK | (593) PSU2_Iin | 0.30 Amps | N/A | 11.00 Amps |
OK | (594) PSU2_Pin | 60 Watts | N/A | 702 Watts |
OK | (595) PSU2_Vout | 12.00 V | 11.40 V | 12.80 V |
OK | (596) PSU2_Iout | 3.00 Amps | N/A | 50.00 Amps |
OK | (597) PSU2_Pout | 45 Watts | N/A | 630 Watts |
OK | (598) PSU2_Hs_Temp | 39C/102F | -4C/25F | 92C/198F |
OK | (599) PSU2_Amb_Temp | 30C/86F | -4C/25F | 64C/147F |
OK | (600) PSU2_FanSpeed | 4300 RPM | 900 RPM | 20000 RPM |
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>
BMC状态检查
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>IPMICFG-Win.exe -selftest
Selftest: Passed.
检查用户
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>IPMICFG-Win.exe -user list
Maximum number of Users : 31
Count of currently enabled Users : 3
User ID | User Name | Privilege Level | Enable
------- | --------- | --------------- | ------
2 | Admin | Administrator | Yes
3 | admin | No Access | Yes
4 | admin2 | No Access | Yes
-user list Lists user privileges.
-user help Shows a user privilege code.
-user add <user id> <name> Adds a user.
<password> <privilege>
-user del <user id> Deletes users.
-user level <user id> Updates user privileges.
<privilege>
-user setpwd <user id> Updates a user password.
<password>
# 查看用户列表
ipmicfg -user list
ipmicfg -user add 5 test5 Test@123. 4 // 4是Administrator
ipmicfg -user del 5
ipmicfg -user level 5 4
ipmicfg -user setpwd 5 Test@123.
设置用户权限
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>IPMICFG-Win.exe -user level 3 Administrator
Privilege level error.
Administrator : 4
Operator : 3
User : 2
Callback : 1
No Access : 15
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>IPMICFG-Win.exe -user level 3 4
Done.
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>IPMICFG-Win.exe -user list
Maximum number of Users : 31
Count of currently enabled Users : 3
User ID | User Name | Privilege Level | Enable
------- | --------- | --------------- | ------
2 | Admin | Administrator | Yes
3 | admin | Administrator | Yes
4 | admin2 | No Access | Yes
配置
添加用户
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>IPMICFG-Win.exe -user add 5 admin admin 4
配置ip地址
# 关闭dhcp,配置IP地址、掩码、免费ARP等
IPMICFG-Win.exe -dhcp off
IPMICFG-Win.exe -m 192.168.1.6
IPMICFG-Win.exe -k 255.255.255.0
IPMICFG-Win.exe -garp on
IPMICFG-Win.exe -g // 网关
# 检查配置是否正确
IPMICFG-Win.exe -dhcp
IPMICFG-Win.exe -m
IPMICFG-Win.exe -k
配置共享网卡(NCSI功能)
暂时未实验,以下是华为知识库的一个参考。
https://support.huawei.com/enterprise/zh/knowledge/EKB1000071154
重启BMC
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>IPMICFG-Win.exe -r -d
BMC cold reset successfully completed!
Please wait a few minutes for the BMC to restart.
........................................................................................................................
Done.
详细使用帮助
详细信息
D:\360安全浏览器下载\IPMICFG_1.35.1_build.230912\IPMICFG_1.35.1_build.230912\Windows\64bit>IPMICFG-Win.exe -help
IPMICFG Version 1.35.1 (Build 230912)
Copyright(c) 2023 Super Micro Computer, Inc.
Usage: IPMICFG params (Example: IPMICFG -m 192.168.1.123)
-help Display a list of commands
-m Shows IPv4 address and MAC.
-m <ip> Sets IPv4 address (format: ###.###.###.###).
-a <mac> Sets MAC (format: ##:##:##:##:##:##).
-k Shows Subnet Mask.
-k <mask> Sets Subnet Mask (format: ###.###.###.###).
-dhcp Gets the DHCP status.
-dhcp on Enables the DHCP.
-dhcp off Disables the DHCP.
-g Shows a Gateway IP.
-g <gateway> Sets a Gateway IP (format: ###.###.###.###).
-garp on Enables the Gratuitous ARP.
-garp off Disables the Gratuitous ARP.
-r Performs a BMC cold reset.
Detects if a BMC reset was successfully performed
on the IPMI device, use -d after -r.
-fd <option> Resets to the factory defaults without preserving
configurations.
option: 1 | Preserves User configurations
option: 2 | Restores to factory default and
default password
option: 3 | Sets user defaults to ADMIN/ADMIN
-fdl Resets IPMI to the factory default. (Clean LAN).
-fde Resets IPMI to the factory default. (Clean FRU &
LAN).
-d Detects if a BMC reset was successfully performed
on the IPMI device.
Note that this option can be only used after -r,
-fd, -fdl or -fde
-ver Gets firmware revision.
-vlan Gets VLAN status.
-vlan on [VLAN tag] Enables the VLAN and sets the VLAN tag.
If VLAN tag is not given, it uses the previously
saved value.
-vlan off Disables the VLAN.
-selftest Checks and reports the basic health status of the
BMC.
-raw Sends a RAW IPMI request and prints a response.
Format: NetFn/LUN Cmd [Data1 ... DataN]
-fru info Shows information of the FRU inventory area.
-fru list Shows all FRU values.
-fru cthelp Shows chassis type code.
-fru help Shows help of FRU Write.
-fru <field> Shows FRU field value.
-fru <field> <value> Writes FRU.
-fru backup <file> Backs up FRU to a file <Binary format>.
-fru restore <file> Restores FRU from a file <Binary format>.
-fru tbackup <file> Backs up FRU to a file <Text format>.
-fru trestore <file> Restores FRU from a file <Text format>.
-fru ver <v1> <v2> Gets/Sets the FRU version. (<v1> and <v2> are
BCD-format)
-fru dmi <$1> ... <$14> Inputs 14 parameters and writes to FRU
Chassis/Board/Product fields.
Please use the "-fru dmi" command to view the
parameters.
-sel info Shows SEL information.
-sel list [option] Shows SEL records.
-y <n years> | Filter event logs within n years
-m <n months> | Filter event logs within n months
-d <n days> | Filter event logs within n days
-sel del Deletes all SEL records.
-sel raw Shows SEL raw data.
-sdr [full] Shows SDR records and readings.
-sdr del <sdr id> Deletes the SDR record.
-sdr ver <v1> <v2> Gets/Sets the SDR version. (<v1> and <v2> are
BCD-format)
-nm nmsdr Displays NM SDR.
-nm seltime Gets SEL time.
-nm deviceid Gets the ID of the ME device.
-nm reset Reboots ME.
-nm reset2default Forces ME to reset to default settings.
-nm updatemode Forces ME to enter the update mode.
-nm selftest Gets self-test results.
-nm listimagesinfo Lists ME information of images.
-nm oemgetpower OEM Power command for ME.
-nm oemgettemp OEM Temp. command for ME.
-nm pstate Gets the maximum allowed CPU P-State.
-nm tstate Gets the maximum allowed CPU T-State.
-nm cpumemtemp Gets CPU/memory temperature.
-nm hostcpudata Gets the host CPU data.
-fan Gets the fan mode.
-fan <mode> Sets the fan mode.
-pminfo [full] Displays PMBus health information of power supply.
-psfruinfo Displays FRU health information of power supply.
-psbbpinfo Displays status of the backup battery.
-autodischarge <module> Sets auto discharge by days.
<day>
-discharge <module> Manually discharges a battery.
-user list Lists user privileges.
-user help Shows a user privilege code.
-user add <user id> <name> Adds a user.
<password> <privilege>
-user del <user id> Deletes users.
-user level <user id> Updates user privileges.
<privilege>
-user setpwd <user id> Updates a user password.
<password>
-conf download <file> Downloads IPMI configuration to a binary file.
-conf upload <file> Uploads IPMI configuration from a binary file.
<option> option: -p | Bypass warning message
-conf tdownload <file> Downloads IPMI configuration to a text file.
-conf tupload <file> Uploads IPMI configuration from a text file.
<option> option: -p | Bypass warning message
-clrint Clears chassis intrusion.
-reset <index> Resets system and forces to boot from the selected
device.
-soft <index> Initiates a soft-shutdown for OS and forces system
to boot from the selected device.
-ipv6 mode Shows the IPv6 mode.
-ipv6 mode <mode> Sets the IPv6 mode.
-ipv6 autoconfig Shows IPv6 auto configuration.
-ipv6 autoconfig on Enables IPv6 auto configuration.
-ipv6 autoconfig off Disables IPv6 auto configuration.
-ipv6 list Lists IPv6 static and dynamic addresses.
-ipv6 duid Shows IPv6 DUID.
-ipv6 dns [ip] Gets/Sets IPv6 DNS server.
-ipv6 add <id> <ip> Adds IPv6 static address.
<prefix>
-ipv6 remove <id> Removes IPv6 static address.
-ipv6 route Displays IPv6 static route status.
-ipv6 route on Enables IPv6 static route.
-ipv6 route off Disables IPv6 static route.
-ipv6 route list Lists IPv6 static router information.
-ipv6 route <id> <prefix Sets IPv6 static router information.
value> <prefix length>
<ip>
-ipv6 route clear <id> Clears IPv6 static router information.
-nvme list Displays the existing NVME SSD list.
-nvme info Displays NVME SSD information.
-nvme rescan Rescans all devices by in-band.
-nvme insert <aoc> <group> Inserts SSD by out-of-band.
<slot>
-nvme locate <HDD name> Locates SSD. (in-band)
-nvme locate <aoc> <group> Locates SSD. (out-of-band)
<slot>
-nvme stoplocate <HDD Stops locateing SSD. (in-band)
name>
-nvme stoplocate <aoc> Stops locateing SSD. (out-of-band)
<group> <slot>
-nvme remove <HDD name> Removes NVME device. (in-band)
[option1] [option2] option1: 0 | Do eject after remove (Default)
option1: 1 | Do not eject after remove
option2:-p | Bypass warning message
-nvme remove <aoc> <group> Removes NVME device. (out-of-band)
<slot> [option] option: -p | Bypass warning message
-nvme smartdata [HDD name] NVME S.M.A.R.T data.
-tas info Gets TAS information.
-tas pause Pauses a TAS service.
-tas resume Resumes a TAS service.
-tas refresh Triggers TAS to recollect data.
-tas clear Clears collected TAS data in BMC.
-tas period <sec> Sets the time length of a TAS update <limit 1 to 60
sec>.
-tp info Gets MCU information.
-tp info <type> Gets information of MCU type. (type: 1 - 3)
-tp nodeid Gets a node ID.
-tp systemname [value] Gets/Sets a system name.
-tp systempn [value] Gets/Sets a system P/N.
-tp systemsn [value] Gets/Sets a system S/N.
-tp chassispn [value] Gets/Sets a chassis P/N.
-tp chassissn [value] Gets/Sets a chassis S/N.
-tp backplanepn [value] Gets/Sets a backplane P/N.
-tp backplanesn [value] Gets/Sets a backplane S/N.
-tp nodepn [value] Gets/Sets node P/N.
-tp nodesn [value] Gets/Sets node S/N.
-summary Displays FW and BIOS information.
-hostname [value] Gets/Sets a host name.
-dcmi cap Lists information of DCMI capabilities.
-dcmi power Gets the DCMI power readings.
-dcmi ctl [value] Gets/Sets the DCMI management controller ID string.
-mel list [option] Shows BMC maintenance event log.
-y <n years> | Filter event logs within n years
-m <n months> | Filter event logs within n months
-d <n days> | Filter event logs within n days
-mel download <file> Downloads a BMC maintenance event log to a file.
-mel clear Clears a BMC maintenance event log.
-addrptl [option] Gets/Sets IP address protocol.
option: 1 | IPv4
option: 2 | IPv6
option: 3 | Dual
-lockdown Checks the system's lockdown mode.
-lani [option] Gets/Sets LAN interface.
-linkstatus Shows network link status.