Get LAN Configuration Parameters
更新时间: 2025/06/26
在Gitcode上查看源码

02h-获取BMC管理网口网络配置(Get-LAN-Configuration-Parameters)

修订记录

openUBMC版本号修订日期修订内容
25.062025/06/26初稿,新增命令详情

基本信息

功能说明

获取BMC管理网口网络配置。

权限

ReadOnly

命令信息

请求信息

字节顺序域取值说明
NetFnTransport 0Ch
CMD02h
1[7]-0b=get parameter
1b=get parameter revision only
[6:4]-reserved
[3:0]-Channel number
2Parameter selector
3Set Selector
Selects a given set of parameters under a given Parameter selector value. 00h if parameter doesn't use a Set Selector
4Block Selector (00h if parameter does not require a block number)

说明: TaiShan 900 X2节点使用了字节1中[6:4]-reserved的bit4作为Channel number的拓展,拓展后字节1的域取值说明如下:

[7]-0b=get parameter
1b=get parameter revision only
[6:5]-reserved
[4:0]-Channel number

响应信息

字节顺序域取值说明
1Completion 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:NConfiguration 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

命令样例

获取BMC管理网口网络配置

请求:

ipmicmd -k "0f 00 0c 02 01 00 00 00" smi 0

响应:

0f 0d 00 02 00 11 00

返回到索引