代码仓
中
Set expander mode
更新时间: 2025/06/26
在AtomGit上查看源码

04h-设置expander模式(Set-expander-mode) ​

修订记录 ​

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

基本信息 ​

功能说明 ​

设置expander模式(只适用于8P以上服务器)。

权限 ​

适用机型 ​

pangea不支持

命令信息 ​

请求信息 ​

字节顺序域取值说明
NetFn30h
CMD97h
1:3Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。
4Sub command,子命令=04h
5Parameter selector见 表1
6:NConfiguration parameter data见 表1

响应信息 ​

字节顺序域取值说明
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
2:4Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。

命令样例 ​

设置expander模式 ​

请求:

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

响应:

0f 31 00 97 00 db 07 00

本例假定命令成功(完成码 00)。请求将 expander 0 的 mode 参数(00)设为单 RAID 模式(Control 00)。

附表1 expander参数说明 ​

参数#数据说明Notes
mode00hdata1 expander Selector(Set Selector)
data2 Control
00h 单RAID(前IO板只插一个RAID卡,8100的单系统模式专用)
01h High performance(高性能模式,前IO板插两个RAID卡,单系统和双系统模式度可以使用)
-
phytestmode(Write only)01hdata1 expander Selector(Set Selector)
data2 Control
01h Expander的测试模式1
02h Expander的测试模式2
装备专用
reset expander02h--

返回到索引 ​