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

01h-设置BMC管理网口网络配置(Set-LAN-Configuration-Parameters)

修订记录

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

基本信息

功能说明

设置BMC管理网口网络配置。

权限

BasicSetting

命令信息

请求信息

字节顺序域取值说明
NetFnTransport 0Ch
CMD01h
1[7:4]-reserved
[3:0]-Channel number
2Parameter selector
3:NConfiguration parameter data,参见 表1

附表1 配置参数表

功能描述parameter selectorparameter data-getparameter data-set
模板:功能描述,使用场景0xMM请求:
Read Offset:0x0000
Length: 1
响应:
End of List: 0
Data:
0: 功能0
1: 功能1
请求:
Write Offset:0x0000
Length: 1
Data:
0: 功能0
1: 功能1
IPMI规范定义0x00-0xBF参见IPMI规范定义:Table 23-4,LAN Configuration Parameters
获取IPv6相关的Lan参数
vEth通道专用
0x32支持支持
0x33支持支持
0x37支持支持
0x38支持支持
0x39支持支持
0x3B支持支持
0x3C支持支持
0x3E支持支持
0x40支持支持
0x41支持支持
0x42支持支持
0x43支持支持
0x44支持支持
0x45支持支持
0x46支持支持
0x47支持支持
0x48支持支持
0x49支持支持
0x4A支持支持
0x4B支持支持
0x4C支持支持
0x4D支持支持
0x4E支持支持
0x4F支持支持
0x50不支持支持
预留0xC0
使能网口0xC5支持支持
设置IPv60xCC支持支持
设置IPv6前缀0xCD支持支持
设置IPv6网关0xCE支持支持
设置IPv6模式0xD0支持支持
设置内网IP0xD6支持支持
设置网络模式0xD7支持支持
设置ipv6地址,IPV6默认网关, IPV6前缀长度0xDA支持支持

响应信息

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

命令样例

设置BMC管理网口网络配置

请求:

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

响应:

0f 0d 00 01 00

返回到索引