Get Chassis Location Info
更新时间: 2026/08/06
在AtomGit上查看源码Get Chassis Location Info
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
This interface is used to obtain subrack location information.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1 | Sub command=62h |
| 2 | Type(1: ChassisId, 2: Chassis_Location, 3: Name) |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | Height |
| 3:N | Chassis_Id/ Chassis_Location/Name |
Command Example
Obtain the chassis number.
Request:
bash
ipmicmd -k "0f 00 30 90 62 03" smi 0Response:
text
0f 31 00 90 00 * *Example assuming command execution succeeds (completion code 00). The request queries the chassis name (type 3). The first * is the one-byte returned length L; the final * represents the L name bytes (at most 20), whose length and contents depend on the device.