Get BMC MAC Address
更新时间: 2026/08/06
在Gitcode上查看源码Get BMC MAC Address
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
This command is used to obtain the BMC MAC address.
Privilege
BasicSetting
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1 | Sub command, subcommand = 0x45 |
| 2 | EthNum [7] - Virtual network port tag 0=Physical network port 1=Virtual network port [6:4]: reserved. Set it to 0. [3:0]: network port number |
| 3 | Reserved |
| 4 | Reserved |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | [7:0]-Parameter revision. Format: MSN=present revision. LSN=oldest revision parameter is backward compatible with. 11h for parameters in this specification. |
| 3:N | Configuration Parameters data When the value of Set Selector is 0 or 1, the value of this field is a MAC address. When Set Selector is set to 2, this parameter indicates the timeout interval for writing the MAC address to the Pflash memory. The length is 2 bytes, and the unit is second. For example, [01 20] indicates 120 seconds. |
Command Example
Obtain the BMC MAC address.
Request:
bash
ipmicmd -k "0f 00 30 90 45 00 00 00" smi 0Response:
text
0f 31 00 90 00 11 20 21 12 15 16 03