Get BMC MAC Address
更新时间: 2026/08/06
在Gitcode上查看源码

Get BMC MAC Address

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

This command is used to obtain the BMC MAC address.

Privilege

BasicSetting

Command Information

Request Information

ByteData Field
NetFn30h
CMD90h
1Sub command, subcommand = 0x45
2EthNum
[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
3Reserved
4Reserved

Response Information

ByteData Field
1Completion 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:NConfiguration 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 0

Response:

text
0f 31 00 90 00 11 20 21 12 15 16 03

Back to Index