is it possible to obtain idrac version trough ipmitool? if yes than how to do that
Assistant
User
And how to get information about idrac generation using ipmitool is it possible ?
Assistant
User
how to send ipmitool raw 0x30 0x59 on channel 2
Assistant
To send a raw IPMI command on a specific channel using ipmitool, you use the -c or -C option for specifying the channel, but in fact ipmitool uses -c for cipher suite and -C for channel, so the option to specify channel is -C <channel number>.
So, to send the raw command 0x30 0x59 on channel 2, the command syntax would be:
bash
ipmitool -C 2 raw 0x30 0x59
Explanation:
-C 2 tells ipmitool to use channel 2.
raw 0x30 0x59 sends the raw OEM command to NetFn 0x30, command 0x59.
A few notes:
Default channel for IPMI commands is typically channel 1 or 0. Specifying the wrong channel may cause command failure.
Yes, it is possible to obtain some information about the iDRAC version using ipmitool, but there's a nuance: ipmitool interacts primarily with the Baseboard Management Controller (BMC) via IPMI, and iDRAC is Dell's implementation of a BMC with additional proprietary features.
Is it possible to get iDRAC version info via ipmitool?
Directly querying the iDRAC firmware version using ipmitool is not straightforward, because iDRAC firmware info is often exposed via OEM-specific commands.
However, you can get some useful details like firmware versions, but the command depends on Dell's OEM IPMI extensions.
How to get iDRAC firmware version via ipmitool?
Try this approach:
Check the BMC firmware version, which often corresponds to iDRAC version or at least the BMC firmware:
bash
ipmitool mc info
Output will show something like:
code
Device ID : 32
Device Revision : 1
Firmware Revision : 1.45
IPMI Version : 2.0
Manufacturer ID : 674
Manufacturer Name : Dell Inc.
Product ID : 11
Device Available : yes
Provides Device SDRs : yes
The Firmware Revision here is usually the BMC firmware version, which is closely related to iDRAC version.
Try Dell OEM commands to extract more detailed iDRAC info:
Dell BMCs support OEM commands under NetFn 0x30 (OEM NetFn). You can query the firmware version via OEM command 0x59 or similar. But these commands are not documented publicly, and you may need to try or find them experimentally.
Here is a common example:
bash
ipmitool raw 0x30 0x59
This command is supposed to return firmware info bytes.
The output might be a raw hex string representing the iDRAC firmware version, which you'd have to parse.
Important: The exact OEM command for firmware version may vary with iDRAC generation (e.g., iDRAC6 vs iDRAC7 vs iDRAC9). For example, for some Dell servers, the following command shows iDRAC firmware version in ASCII:
bash
ipmitool raw 0x30 0x59 0x00
Or:
bash
ipmitool raw 0x30 0x59 0x01
You might need to experiment to find the right subcommand.
Alternative: Use racadm utility
If you need reliable and human-readable info about iDRAC firmware, the best official method is to use Dell's racadm utility:
bash
racadm getversion
This returns the iDRAC firmware version and other components.
Summary
Run ipmitool mc info for basic BMC (and often iDRAC) firmware revision.
Try Dell OEM raw commands like ipmitool raw 0x30 0x59 for iDRAC firmware, though results vary.
For accurate and easy results, use racadm getversion if possible.
If you want me to help with parsing raw output or you want to try some specific commands for your iDRAC model, just let me know!
Determining the exact iDRAC generation (e.g., iDRAC6, iDRAC7, iDRAC8, iDRAC9, etc.) using only ipmitool is not straightforward or officially supported, because iDRAC generation is more of a vendor-specific product/firmware identification, not a standard IPMI attribute.
What you can do with ipmitool
ipmitool mc info returns BMC device info and firmware revision, but it does not explicitly state the iDRAC generation.
Dell OEM raw commands (under NetFn 0x30) may return firmware strings, but these are vendor-specific and undocumented, and the generation info is often not exposed clearly.
Why is it difficult?
iDRAC generation is tied to the hardware platform and firmware capability, which Dell usually exposes via:
racadm getversion
System BIOS messages
Dell OpenManage tools
IPMI (and thus ipmitool) mainly gives standard BMC info and some OEM-specific data, but does not standardize "iDRAC generation" as a field.
Possible indirect methods with ipmitool
Check firmware version in detail:
Since firmware revisions may correlate with iDRAC generation, extract firmware version (via ipmitool mc info or OEM raw):
bash
ipmitool mc info
Or Dell OEM raw command:
bash
ipmitool raw 0x30 0x59
Check firmware version format and compare it against known iDRAC versions online — sometimes the string or version number indicates generation.
Read Product ID and Manufacturer info
bash
ipmitool mc info
Example output:
code
Manufacturer ID: 674
Product ID: 11
You could correlate Product ID with Dell system generations (though this is indirect).
Get System Info via SMBIOS (if accessible remotely)
If you have access to system info (outside IPMI) you might get system model, which generally indicates iDRAC generation. But IPMI does not expose that directly.
Summary
No direct IPMI command exists to get iDRAC generation.
You can only infer generation by firmware version or system model info.
The best method to get explicit generation info is via Dell racadm or Dell OpenManage, which can query iDRAC and report generation clearly.
If you want, I can help you interpret firmware version info you get from ipmitool to guess the generation.
Example of what you may try
Get firmware version string via raw OEM command (may or may not work depending on iDRAC model):
bash
ipmitool raw 0x30 0x59 0x00
If it returns a readable firmware version string, you can Google that version in Dell documentation/support to find the generation.
If you provide me with the output of ipmitool mc info and/or that raw command, I can help interpret what it means!
Sometimes IPMI channel 2 might be disabled or inaccessible remotely.
You can list available channels with:
bash
ipmitool channel info all
This will show which channels are available and their numbers.
If you want to specify other options like target IP, user, or interface, put them accordingly. For example, remote IPMI on channel 2, username admin: