Set LAN Configuration Parameters
更新时间: 2026/08/06
在Gitcode上查看源码Set LAN Configuration Parameters
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Configure the BMC management network port.
Privilege
BasicSetting
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | Transport 0Ch |
| CMD | 01h |
| 1 | [7:4]-reserved [3:0]-Channel number |
| 2 | Parameter selector |
| 3:N | Configuration parameter data. For details, see Table 1. |
Table 1 Parameter configuration
| Functions | parameter selector | parameter data-get | parameter data-set |
|---|---|---|---|
| Template: function description and application scenario | 0xMM | Request: Read Offset: 0x0000 Length: 1 Response: End of List: 0 Data: 0: function 0 1: function 1 | Request: Write Offset: 0x0000 Length: 1 Data: 0: function 0 1: function 1 |
| Definition of IPMI Specifications | 0x00-0xBF | For details, see Table 23-4 LAN Configuration Parameters in the IPMI specifications. | |
| Obtains IPv6-related LAN parameters. Dedicated for the vEth channel | 0x32 | Supported | Supported |
| 0x33 | Supported | Supported | |
| 0x37 | Supported | Supported | |
| 0x38 | Supported | Supported | |
| 0x39 | Supported | Supported | |
| 0x3B | Supported | Supported | |
| 0x3C | Supported | Supported | |
| 0x3E | Supported | Supported | |
| 0x40 | Supported | Supported | |
| 0x41 | Supported | Supported | |
| 0x42 | Supported | Supported | |
| 0x43 | Supported | Supported | |
| 0x44 | Supported | Supported | |
| 0x45 | Supported | Supported | |
| 0x46 | Supported | Supported | |
| 0x47 | Supported | Supported | |
| 0x48 | Supported | Supported | |
| 0x49 | Supported | Supported | |
| 0x4A | Supported | Supported | |
| 0x4B | Supported | Supported | |
| 0x4C | Supported | Supported | |
| 0x4D | Supported | Supported | |
| 0x4E | Supported | Supported | |
| 0x4F | Supported | Supported | |
| 0x50 | Not supported | Supported | |
| Reserved | 0xC0 | ||
| Enabling a network port | 0xC5 | Supported | Supported |
| Sets IPv6. | 0xCC | Supported | Supported |
| Setting the IPv6 Prefix | 0xCD | Supported | Supported |
| Setting the IPv6 Gateway | 0xCE | Supported | Supported |
| Setting the IPv6 Mode | 0xD0 | Supported | Supported |
| Setting LAN IP Parameters | 0xD6 | Supported | Supported |
| Network mode setting | 0xD7 | Supported | Supported |
| Sets the IPv6 address, default IPv6 gateway, and IPv6 prefix length. | 0xDA | Supported | Supported |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code 80h=parameter not supported 81h=attempt to set the 'set in progress' value (in parameter #0) when not in the 'set complete' state. (This completion code provides a way to recognize that another party has already 'claimed' the parameters) 82h=attempt to write read-only parameter 83h=attempt to read write-only parameter 84h=attempt to set duplicate IPv6 address |
Command Example
Set the network configuration for the BMC management network port.
Request:
bash
ipmicmd -k "0f 00 0c 01 01 00 00" smi 0Response:
text
0f 0d 00 01 00