Ipmicfg: Difference between revisions

From Omnia
Jump to navigation Jump to search
Line 86: Line 86:
  BMC cold reset successfully completed!
  BMC cold reset successfully completed!


== IPMI BMC Firmware Version ==
>ipmicfg -ver
Firmware Version: 01.01.04
== FRU List ==
== FRU List ==


Get FRU details: (Field Replaceable Unit)
<pre>
<pre>
> IPMICFG-Win.exe -fru list
> IPMICFG-Win.exe -fru list
Line 102: Line 109:
Product Asset Tag (PAT)        =
Product Asset Tag (PAT)        =
</pre>
</pre>
Get FRU Detail:
> ipmicfg -fru BM
Supermicro
Set FRU detail:
> ipmicfg -fru BPN X13SAE-F
Board Product Name (BPN)        = X13SAE-F


== Users ==
== Users ==

Revision as of 07:04, 13 August 2024

Supermicro ipmicfg

https://www.supermicro.com/en/support/resources/downloadcenter/smsdownload?category=IPMI

choco

choco install ipmicfg

Get IPMI Configuration

Show IPv4 Address and MAC

-m    # Shows IPv4 address and MAC.

Get BMC IP and MAC

>IPMICFG-Win.exe -m
IP=0.0.0.0
MAC=3C:EC:EF:36:0C:A5

Get BMC and Host MACs

# -summary                   Displays FW and BIOS information.
>IPMICFG-Win.exe -summary
Summary
-------------------------------------------
IPv4 Address           : 0.0.0.0
BMC MAC Address        : 3C:EC:EF:36:0C:XX
Firmware Revision      : 01.02.01
Firmware Build Time    : 03/08/2024
BIOS Version           : 3.1
BIOS Build Time        : 12/25/2023
System LAN1 MAC Address: 3C:EC:EF:C5:23:XX
System LAN2 MAC Address: 3C:EC:EF:C4:53:XX

IPMI Link Status

# -linkstatus                Shows network link status.
>IPMICFG-Win.exe -linkstatus
General
-------
Hostname               :
MAC Address            : 3C:EC:EF:36:0C:XX
VLAN                   : OFF
VLAN ID                : N/A
LAN Interface          : Dedicate
RMCP Port              : 623
Active Interface       : Dedicate

Dedicated
---------
Link                   : Auto Negotiation
Status                 : Disconnected
Speed                  : Unknown
Duplex                 : Unknown

Link Options

# -lani [option]             Gets/Sets LAN interface.
>IPMICFG-Win.exe -lani
Current LAN interface is [ Dedicated ]

Supported parameter for setting:
0: Dedicated

Reset BMC Cold

ipmicfg-win.exe -r
-r                         Performs a BMC cold reset.
                           Detects if a BMC reset was successfully performed
                            on the IPMI device, use -d after -r.


BMC cold reset successfully completed!

IPMI BMC Firmware Version

>ipmicfg -ver
Firmware Version: 01.01.04


FRU List

Get FRU details: (Field Replaceable Unit)

> IPMICFG-Win.exe -fru list
Board Mfg. Date/Time(BDT)       = 2022/11/21 20:03:00 (D3 CF D7)
Board Manufacturer (BM)         = Supermicro
Board Product Name (BPN)        =
Board Serial Number (BS)        = UM22BS023XXX
Board Part Number (BP)          =
Product Manufacturer (PM)       =
Product Name (PN)               =
Product Part/Model Number (PPM) =
Product Version (PV)            =
Product Serial Number (PS)      =
Product Asset Tag (PAT)         =

Get FRU Detail:

> ipmicfg -fru BM
Supermicro

Set FRU detail:

> ipmicfg -fru BPN X13SAE-F
Board Product Name (BPN)        = X13SAE-F

Users

>IPMICFG-Win.exe -user list
Maximum number of Users          : 16
Count of currently enabled Users : 1
User ID | User Name        | Privilege Level | Enable
------- | ---------        | --------------- | ------
      2 | admin            | Administrator   | Yes

help:

 -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>

SDR Stats

>IPMICFG-Win.exe -sdr
Status | (#)Sensor                |      Reading | Low Limit | High Limit |
------ | ---------                |      ------- | --------- | ---------- |
    OK | (4) CPU Temp             |     74C/165F |    5C/41F |  100C/212F |
    OK | (71) PCH Temp            |     50C/122F |    5C/41F |   90C/194F |
    OK | (138) System Temp        |      29C/84F |    5C/41F |   85C/185F |
    OK | (205) Peripheral Temp    |      30C/86F |    5C/41F |   85C/185F |
    OK | (272) VRM_VCORE Temp     |      32C/90F |    5C/41F |  100C/212F |
    OK | (339) VRMVIN_AUX Temp    |      29C/84F |    5C/41F |  100C/212F |
    OK | (406) DIMMAB Temp        |      31C/88F |    5C/41F |   85C/185F |
       | (473) M2SSD1 Temp        |          N/A |       N/A |        N/A |
       | (540) M2SSD2 Temp        |          N/A |       N/A |        N/A |
       | (607) M2SSD3 Temp        |          N/A |       N/A |        N/A |
    OK | (674) CPU_FAN1           |     2380 RPM |   420 RPM |  35560 RPM |
       | (741) CPU_FAN2           |          N/A |       N/A |        N/A |
    OK | (808) SYS_FAN1           |      980 RPM |   420 RPM |  35560 RPM |
    OK | (875) SYS_FAN2           |      840 RPM |   420 RPM |  35560 RPM |
    OK | (942) SYS_FAN3           |      840 RPM |   420 RPM |  35560 RPM |
    OK | (1009) 12V               |     12.299 V |  10.283 V |   13.307 V |
    OK | (1076) 5VCC              |      5.083 V |   4.281 V |    5.505 V |
    OK | (1143) 3.3VCC            |      3.358 V |   2.841 V |    3.663 V |
    OK | (1210) VBAT              |             Battery presence detected |
    OK | (1277) VDD_5_DUAL        |      5.019 V |   4.261 V |    5.524 V |
    OK | (1344) VDD_33_DUAL       |      3.332 V |   2.839 V |    3.661 V |
    OK | (1411) 1.8V PCH          |      1.814 V |   1.645 V |    1.970 V |
    OK | (1478) PVNN PCH          |      0.842 V |   0.675 V |    0.998 V |
    OK | (1545) 1.05V PCH         |      1.050 V |   0.893 V |    1.226 V |
    OK | (1612) 2.5V BMC          |      2.536 V |   2.348 V |    2.653 V |
    OK | (1679) 1.8V BMC          |      1.812 V |   1.643 V |    1.955 V |
    OK | (1746) 1.2V BMC          |      1.210 V |   1.043 V |    1.367 V |
    OK | (1813) 1.0V BMC          |      1.016 V |   0.840 V |    1.163 V |
    OK | (1880) VDimmAB           |      1.124 V |   0.947 V |    1.280 V |
    OK | (1947) P_VCCIN_AUX_CPU   |      1.807 V |   1.640 V |    1.964 V |
    OK | (2014) 1.05V CPU         |      1.039 V |   0.882 V |    1.206 V |
    OK | (2081) Chassis Intru     |                                    OK |
 -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)

SEL Logs

>IPMICFG-Win.exe -sel list
--------------------------------------------------------------------
Event:1 Time:2022-01-04 10:10:32 Severity:Warning SensorType:AC Power On
| Msg = [PWR-0020] First AC Power on - Assertion
--------------------------------------------------------------------
Event:2 Time:2022-01-04 10:10:32 Severity:Warning SensorType:AC Power On
| Msg = [PWR-0020] First AC Power on - Assertion
--------------------------------------------------------------------
Event:3 Time:2024-07-01 18:04:47 Severity:OK SensorType:System NIC
| Msg = [LAN-0005] Dedicated LAN Link Up - Assertion
--------------------------------------------------------------------
Event:4 Time:2024-03-08 01:58:21 Severity:OK SensorType:System NIC
| Msg = [LAN-0005] Dedicated LAN Link Up - Assertion
--------------------------------------------------------------------
Event:5 Time:2024-03-08 02:01:05 Severity:Warning SensorType:System NIC
| Msg = [LAN-0006] Dedicated LAN Link Down - Assertion
--------------------------------------------------------------------
Event:6 Time:2024-03-08 01:58:46 Severity:Warning SensorType:AC Power On
| Msg = [PWR-0020] First AC Power on - Assertion
--------------------------------------------------------------------
Event:7 Time:2024-03-08 01:58:21 Severity:OK SensorType:System NIC
| Msg = [LAN-0005] Dedicated LAN Link Up - Assertion
--------------------------------------------------------------------
Event:8 Time:2024-07-10 10:53:54 Severity:Warning SensorType:AC Power On
| Msg = [PWR-0020] First AC Power on - Assertion
--------------------------------------------------------------------
Event:9 Time:2024-07-10 10:54:42 Severity:OK SensorType:Base OS Boot / Installation Status
| Msg = [SYS-0056] C: Boot Completed - Assertion
--------------------------------------------------------------------
Event:10 Time:2024-07-10 10:56:08 Severity:Warning SensorType:OS Stop / Shutdown
| Msg = [SYS-0069] OS graceful shutdown - Assertion
--------------------------------------------------------------------
Event:11 Time:2024-07-10 10:57:08 Severity:OK SensorType:Base OS Boot / Installation Status
| Msg = [SYS-0056] C: Boot Completed - Assertion
--------------------------------------------------------------------
Event:12 Time:2024-07-16 10:59:58 Severity:Critical SensorType:Temperature
| Msg = [IPMI-1009] CPU Temp, Upper Critical - going high - Assertion
--------------------------------------------------------------------
Event:13 Time:2024-07-16 10:59:58 Severity:OK SensorType:Temperature
| Msg = [IPMI-1009] CPU Temp, Upper Critical - going high - Deassertion
--------------------------------------------------------------------
Event:14 Time:2024-07-16 11:00:23 Severity:Critical SensorType:Temperature
| Msg = [IPMI-1009] CPU Temp, Upper Critical - going high - Assertion
--------------------------------------------------------------------
Event:15 Time:2024-07-16 11:00:24 Severity:OK SensorType:Temperature
| Msg = [IPMI-1009] CPU Temp, Upper Critical - going high - Deassertion
--------------------------------------------------------------------
Event:16 Time:2024-07-16 11:00:24 Severity:Critical SensorType:Temperature
| Msg = [IPMI-1009] CPU Temp, Upper Critical - going high - Assertion
--------------------------------------------------------------------
Event:17 Time:2024-07-16 11:00:25 Severity:OK SensorType:Temperature
| Msg = [IPMI-1009] CPU Temp, Upper Critical - going high - Deassertion
--------------------------------------------------------------------
Event:18 Time:2024-07-16 11:00:26 Severity:Critical SensorType:Temperature
| Msg = [IPMI-1009] CPU Temp, Upper Critical - going high - Assertion
--------------------------------------------------------------------
Event:19 Time:2024-07-16 11:00:27 Severity:OK SensorType:Temperature
| Msg = [IPMI-1009] CPU Temp, Upper Critical - going high - Deassertion
--------------------------------------------------------------------
Event:430 Time:2024-07-31 10:21:54 Severity:Warning SensorType:OS Stop / Shutdown
| Msg = [SYS-0069] OS graceful shutdown - Assertion
--------------------------------------------------------------------
Event:431 Time:2024-07-31 10:22:57 Severity:OK SensorType:Base OS Boot / Installation Status
| Msg = [SYS-0056] C: Boot Completed - Assertion
--------------------------------------------------------------------
Event:432 Time:2024-07-31 10:39:13 Severity:Warning SensorType:OS Stop / Shutdown
| Msg = [SYS-0069] OS graceful shutdown - Assertion
--------------------------------------------------------------------
Event:433 Time:2024-07-31 10:40:13 Severity:OK SensorType:Base OS Boot / Installation Status
| Msg = [SYS-0056] C: Boot Completed - Assertion
--------------------------------------------------------------------

Help Options

IPMICFG-Win.exe -help
IPMICFG Version 1.35.2 (Build 240627)
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 [0|1]           Clears a BMC maintenance event log. (without/with
                             log, default is 0)
 -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.

keywords