Set Port State
更新时间: 2026/08/06
在AtomGit上查看源码Set Port State
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Shows the port status.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| 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 |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | PICMG 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 2c 0e 00 00 11 00 00 01" smi 0Response:
text
0f 2d 00 0e 00 00Note: The response completion code is 00 (success). Enable the link on interface 0, channel 0, port 0, with Link Type 01h, extension 0, and grouping ID 0. Link Info is 00 11 00 00 in least-significant-byte-first order.