代码仓
中
Get Chassis Location Info
更新时间: 2026/08/06
在AtomGit上查看源码

Get Chassis Location Info ​

Change History ​

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

Basic Information ​

Function Description ​

This interface is used to obtain subrack location information.

Privilege ​

Command Information ​

Request Information ​

ByteData Field
NetFn30h
CMD90h
1Sub command=62h
2Type(1: ChassisId, 2: Chassis_Location, 3: Name)

Response Information ​

ByteData Field
1Completion Code
2Height
3:NChassis_Id/ Chassis_Location/Name

Command Example ​

Obtain the chassis number. ​

Request:

bash
ipmicmd -k "0f 00 30 90 62 03" smi 0

Response:

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.

Back to Index ​