Query link status of a switch chip port
更新时间: 2026/08/06
在Gitcode上查看源码Query link status of a switch chip port
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
To query the link status of a switch chip port
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 32h |
| CMD | 8ah |
| 1:3 | fruId |
| 4 | Port_id |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | Link Status 00: disconnected 01: link |
| 3:5 | 0 |
Command Example
Obtain the link status of port 1 on a switching chip.
Request:
bash
ipmitool raw 0x32 0x8a 0x00 0x02 0x00 0x01Response:
text
0x01 0x00 0x00 0x00