ipmcset -t trap -d severity
更新时间: 2026/07/16
在Gitcode上查看源码ipmcset -t trap -d severity
命令功能
设置 Trap 发送严重级别
命令格式
text
ipmcset -t trap -d severity -v <level>参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
value1 | ReqBody | string | 是 | - | - | - |
value2 | ReqBody | string | 否 | - | - | - |
value3 | ReqBody | string | 否 | - | - | - |
value4 | ReqBody | string | 否 | - | - | - |
响应/输出说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
CheckSeverityResult | RspBody | - | 否 | - | - | - |
后端处理流
| Step | Type | Path/URI | Interface | Field/Method | Source | Destination |
|---|---|---|---|---|---|---|
| 1 | Property | /bmc/kepler/EventService/Subscriptions/Snmp | bmc.kepler.EventService.Subscriptions.Snmp | - | {"SeverityFilter": "${Statements/SeverityFilter()}"} | - |
使用示例
text
ipmcset -t trap -d severity -v <level>输出样例
| Scenario | Output | Source |
|---|---|---|
| 成功 | Set trap severity successfully. | interface_config/cli/echoes/ipmcset/trap_severity |
| 其他 | Level contains at least one of the following severity levels : none,all,normal,minor,major,critical. e.g.: none e.g.: normal minor | interface_config/cli/echoes/ipmcset/trap_severity |
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | trap |
| dataitem | severity |
| URI | /cli/v1/trap/severity |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/trap.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |