代码仓
中
Get partition config Command
更新时间: 2025/06/26
在AtomGit上查看源码

05h-查询分区配置(Get-partition-config-Command) ​

修订记录 ​

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

基本信息 ​

功能说明 ​

查询分区配置(只适用于8P以上服务器)。

权限 ​

命令信息 ​

请求信息 ​

字节顺序域取值说明
NetFn30h
CMD97h
1:3Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。
4Sub command,子命令=05h
5Parameter selector见 表1 。
6Set Selector. Selects a given set of parameters under a given Parameter selector value. 00h if parameter doesn't use a Set Selector.
7Block Selector (00h if parameter does not require a block number, 16 Bytes Per block)

响应信息 ​

字节顺序域取值说明
1Completion Code
Generic codes, plus following command-specific completion code(s):
80h=parameter not supported
83h=no more data
2:4Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。
5:NConfiguration parameter data

命令样例 ​

查询分区配置 ​

请求:

ipmicmd -k "0f 00 30 97 db 07 00 05 00 00 00" smi 0

响应:

0f 31 00 97 00 db 07 00 * *

本例假定命令成功(完成码 00)。查询 partition config(00);两个 * 各表示一个实际返回字节,依次为硬分区 CPU 数量和 BMC 角色。

返回到索引 ​