代码仓
中
Set Authentication Key
更新时间: 2026/10/26
在AtomGit上查看源码

04h-设置认证关键字(Set-Authentication-Key) ​

修订记录 ​

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

基本信息 ​

功能说明 ​

设置认证关键字。

权限 ​

KVMMgnt

命令信息 ​

请求信息 ​

字节顺序域取值说明
NetFn30h
CMD93h
1:3Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。
4Sub command,子命令=04h
5Key Receiver.
0-KVM Module
1-VMM Module
2-iSOL Module
Other-Reseverd
6:9Key
(10:25)Login Username,Set to 0xoo if shorter than 16 Bytes
(26*)KVM Mode:
0-shared mode
1-private mode
(27*)User ID
*是可选参数,KVM Mode可以设置为共享模式和独占模式,User ID是为解决虚拟媒体模块记录syslog用户名问题添加。

响应信息 ​

字节顺序域取值说明
1Completion Code
2:4Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。

命令样例 ​

设置KVM Mode key word 为3333 ​

请求:

text
ipmitool raw 0x30 0x93 0xDB 0x07 0x00 0x04 0x00 0x03 0x03 0x03 0x03 0x41 0x64 0x6d 0x69 0x6e 0x69 0x73 0x74 0x72 0x61 0x74 0x6f 0x72 0x00 0x00 0x00

响应:

text
 db 07 00

返回到索引 ​