Get FC portconnect
更新时间: 2026/08/06
在Gitcode上查看源码Get FC portconnect
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2026/08/06 | Initial draft: add command details |
Basic Information
Function Description
Obtain the Fibre Channel port connection.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, subcommand = 06h |
| 5 | FC port number. If the value is 0xff, all ports are returned. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code (00h)Succeed (C9h)Invalid parameter for unsupported component (CCh)Invalid data field for unsupported component |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 5 | Fibre Channel port number. The value ranges from 1 to 8. The value 0xff indicates that all ports are valid, and the value 0 indicates that all ports are invalid. |
| 6 | Fibre Channel port connection configuration. Each bit indicates a port. LSB first 0h=left 1h=right [7] Port 8 [6] Port 7 ...... [0] Port 1 |
Interconnected Component
[BIOS][Equipment][SMM]
Command Example
Obtain the Fibre Channel port connection.
Request:
bash
ipmicmd -k "0f 00 MM NN" smi 0Response:
text
0f MM NN