Get LAN Configuration Parameters
更新时间: 2026/08/06
在Gitcode上查看源码Get LAN Configuration Parameters
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtain the network configuration of the BMC management network port.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | Transport 0Ch |
| CMD | 02h |
| 1 | [7]-0b=get parameter 1b=get parameter revision only [6:4]-reserved [3:0]-Channel number |
| 2 | Parameter selector |
| 3 | Set Selector Selects a given set of parameters under a given Parameter selector value. 00h if parameter doesn't use a Set Selector |
| 4 | Block Selector (00h if parameter does not require a block number) |
NOTE: The TaiShan 900 X2 node uses bit 4 of [6:4]-reserved in byte 1 as the extension of the channel number. The field content of byte 1 after extension is as follows: [7]-0b=get parameter 1b=get parameter revision only [6:5]-reserved [4:0]-Channel number
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code Generic codes, plus following command-specific completion code(s): 80h=parameter not supported |
| 2 | [7:0]-Parameter revision Format: MSN=present revision; LSN=oldest revision parameter is backward compatible with. 11h for parameters in this specification |
| The following data bytes are not returned when the 'get parameter revision only' bit is 1b | |
| 3:N | Configuration parameter data, per Table 8-4, LAN Configuration Parameters If the rollback feature is implemented, the BMC makes a copy of the existing parameters when the 'set in progress' state becomes asserted (See the Set In Progress parameter #0). While the 'set in progress' state is active, the BMC will return data from this copy of the parameters, plus any uncommitted changes that were made to the data. Otherwise, the BMC returns parameter data from non-volatile storage |
Command Example
Obtain the network configuration of the BMC management network port.
Request:
bash
ipmicmd -k "0f 00 0c 02 01 00 00 00" smi 0Response:
text
0f 0d 00 02 00 11 00