Get User Name
更新时间: 2025/06/26
在Gitcode上查看源码

46h-获取BMC用户名(Get-User-Name)

修订记录

openUBMC版本号修订日期修订内容
25.062025/06/26初稿,新增命令详情

基本信息

功能说明

获取BMC用户名。

权限

UserMgnt

命令信息

请求信息

字节顺序域取值说明
NetFnApp 06h
CMD46h
1User ID
[7:6]-reserved.
[5:0]-User ID to return name for. 000000b=reserved

响应信息

字节顺序域取值说明
1Completion Code
2:17User Name String in ASCII, 16 bytes, max. Strings of fewer than 16 characters are returned with null (00h) characters filling in the remaining bytes. BMC does not check to see whether string data is 'printable' or not.
Only character that BMC interprets is null (00h)

命令样例

获取BMC用户名

请求:

ipmitool raw 0x06 0x46 0x02

响应:

41 64 6d 69 6e 69 73 74 72 61 74 6f 72 00 00 00

返回到索引