代码仓
中
Set User Name
更新时间: 2025/06/26
在AtomGit上查看源码

45h-设置BMC用户名(Set-User-Name) ​

修订记录 ​

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

基本信息 ​

功能说明 ​

设置BMC用户名。

权限 ​

UserMgnt

命令信息 ​

请求信息 ​

字节顺序域取值说明
NetFnApp 06h
CMD45h
1User ID
[7:6]-reserved.
[5:0]-User ID. 000000b=reserved. (User ID 1 is permanently associated
with User 1, the null user name)
2User Name String in ASCII, 16 bytes, max. Strings with fewer than 16 characters are terminated with a null (00h) character and 00h padded to 16
bytes. When the string is read back using the Get User Name command, those bytes shall be returned as 0's

响应信息 ​

字节顺序域取值说明
1Completion Code

命令样例 ​

设置BMC用户名为Administrator2 ​

请求:

ipmitool raw 0x06 0x45 0x03 0x41 0x64 0x6d 0x69 0x6e 0x69 0x73 0x74 0x72 0x61 0x74 0x6f 0x72 0x32 0x00 0x00

响应:

返回到索引 ​