Set Port State
更新时间: 2026/08/06
在Gitcode上查看源码

Set Port State

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Shows the port status.

Privilege

Command Information

Request Information

ByteData Field
NetFnPICMG 2Ch
CMD0Eh
1PICMG Identifier, Indicates that this is a PICMG-defined group extension command. A value of 00h is used
2:5Link 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
6State, Indicates the desired state of the Link as described by Link Info.
00h=Disable
01h=Enable
All other values reserved

Response Information

ByteData Field
1Completion Code
2PICMG Identifier, Indicates that this is a PICMG-defined group extension command
A value of 00h is used

Command Example

Set the port status.

Request:

bash
ipmicmd -k "0f 00 MM NN" smi 0

Response:

text
0f MM NN

Back to Index