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

Write MAC Address

Change History

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

Basic Information

Function Description

Sets the MAC address of the mainboard to the MultiRecord record.

Privilege

BasicSetting

Command Information

Request Information

ByteData Field
NetFn30h
CMD90h
1Sub command, subcommand=00h
2FRU device ID. The default value is 00.
3MAC ID
The meaning of this byte varies depending on products
MCCA platform: This byte indicates the sequence number of interfaces of the same type. That is, the MACID of each interface starts from 1.Other products or platforms: This byte indicates the sequence number of multiple MAC addresses on the same FRU. NOTE: Network ports of different types are numbered in a unified manner. That is, ports 1 and 2 may be base ports, ports 3 and 4 may be fabric ports, port 5 is WWNN, and port 6 is WWPN.
4Interface Type
1=Base Interface
MAC
5:10MAC Address (6 Bytes)
WWNN & WWPN
5:12WWN (8 Bytes)

Response Information

ByteData Field
1Sub command, subcommand=00h
2FRU device ID. The default value is 00.

Command Example

Set the MAC address of the mainboard to 00 18 82 01 02 03.

Request:

bash
ipmicmd -k "0f 00 30 90 00 00 00 01 00 18 82 01 02 03" smi 0

Response:

text
0f 31 00 90 00

Back to Index