Set Port State
更新时间: 2025/06/26
在Gitcode上查看源码0Eh-设置端口状态(Set-Port-State)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
设置端口状态。
权限
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | PICMG 2Ch |
| CMD | 0Eh |
| 1 | PICMG Identifier, Indicates that this is a PICMG-defined group extension command. A value of 00h is used |
| 2:5 | Link Info, LS Byte first. Describes the Link that should be enabled or disabled. [31:24]-Link Grouping ID [23:20]-Link Type Extension [19:12]-Link Type [11]-Port 3 Bit Flag [10]-Port 2 Bit Flag [09]-Port 1 Bit Flag [08]-Port 0 Bit Flag [07:06]-Interface [05:00]-Channel Number |
| 6 | State, Indicates the desired state of the Link as described by Link Info. 00h=Disable 01h=Enable All other values reserved |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2 | PICMG Identifier, Indicates that this is a PICMG-defined group extension command A value of 00h is used |
命令样例
设置端口状态
请求:
ipmicmd -k "0f 00 MM NN" smi 0响应:
0f MM NN