代码仓
中
Close Session
更新时间: 2025/06/26
在AtomGit上查看源码

3Ch-关闭会话(Close-Session) ​

修订记录 ​

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

基本信息 ​

功能说明 ​

关闭会话。

权限 ​

命令信息 ​

请求信息 ​

字节顺序域取值说明
NetFnApp 06h
CMD3Ch
1:4Session ID.
For IPMI v2.0/RMCP+ this is the Managed System Session ID value that was generated by the BMC, not the ID from the remote console. If Session ID=0000_0000h then an implementation can optionally enable this command to take an additional byte of parameter data that allows a session handle to be used to close a session
(5)Session Handle. (only present if Session ID=0000_0000h)

响应信息 ​

字节顺序域取值说明
1Completion Code
87h=invalid Session ID in request
88h=invalid Session Handle in request

命令样例 ​

关闭会话 ​

请求:

ipmicmd -k "0f 00 06 3c 01 00 00 00" smi 0

响应:

0f 07 00 3c 00

说明:本例响应的完成码为 00(成功)。关闭会话 ID 为 00000001h 的会话,按低字节在前编码;本例假定该会话存在且允许关闭。

返回到索引 ​