ipmcset -t fru0 -d shutdowntimeout
更新时间: 2026/07/16
在Gitcode上查看源码ipmcset -t fru0 -d shutdowntimeout
命令功能
设置优雅关机超时状态和超时时间
命令格式
text
ipmcset -t fru0 -d shutdowntimeout -v <time> [-s <systemid>]参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
SystemId | ReqHeader | - | 否 | - | - | - |
time | ReqBody | integer | 是 | - | [{"Type": "Script", "Formula": "if not (Input == 0 or (Input >= 10 and Input <= 6000)) then error(base_messages.PropertyValueNotInList(Input, PropertyName)) end"}] | 0 : Disabled shutdown timeout state Others : Enabled shutdown timeout state, timeout range <10 s -- 6000 s> |
响应/输出说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
HostType | RspBody | - | 否 | - | - | - |
IdList | RspBody | - | 否 | - | - | - |
后端处理流
无
使用示例
text
ipmcset -t fru0 -d shutdowntimeout -v <time> [-s <systemid>]输出样例
| Scenario | Output | Source |
|---|---|---|
| 成功 | [System<value>] Set shutdown timeout successfully. | interface_config/cli/echoes/ipmcset/fru0_shutdowntimeout |
| 成功 | Set shutdown timeout successfully. | interface_config/cli/echoes/ipmcset/fru0_shutdowntimeout |
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | fru0 |
| dataitem | shutdowntimeout |
| URI | /cli/v1/fru0/shutdowntimeout |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/fru0.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |