ipmcset -t securitybanner -d state
更新时间: 2026/07/16
在Gitcode上查看源码ipmcset -t securitybanner -d state
命令功能
设置登录安全横幅启用状态
命令格式
text
ipmcset -t securitybanner -d state -v <enabled|disabled>参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
state | ReqBody | string | 是 | - | [{"Type": "Enum", "Formula": ["enabled", "disabled"]}] | - |
响应/输出说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
state | RspBody | - | 否 | - | - | - |
后端处理流
| Step | Type | Path/URI | Interface | Field/Method | Source | Destination |
|---|---|---|---|---|---|---|
| 1 | Property | /bmc/kepler/Managers/1/Security/Banner | bmc.kepler.Managers.Security.Banner | - | {"Enabled": "${Statements/Enabled()}"} | - |
使用示例
text
ipmcset -t securitybanner -d state -v <enabled|disabled>输出样例
| Scenario | Output | Source |
|---|---|---|
| 成功 | <value> login security banner state successfully. | interface_config/cli/echoes/ipmcset/securitybanner_state |
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | securitybanner |
| dataitem | state |
| URI | /cli/v1/securitybanner/state |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/securitybanner.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |