ipmcset -t securitybanner -d content
更新时间: 2026/07/16
在Gitcode上查看源码ipmcset -t securitybanner -d content
命令功能
设置登录安全横幅内容
命令格式
text
ipmcset -t securitybanner -d content -v <option>参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
option | ReqBody | string | 是 | - | [{"Type": "Length", "Formula": [0, 1024]}] | default Set login security banner information to default messages. "<strings>" Set logint security banner information to given strings(0~1024 bytes). |
响应/输出说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
Enabled | RspBody | - | 否 | - | - | - |
后端处理流
| Step | Type | Path/URI | Interface | Field/Method | Source | Destination |
|---|---|---|---|---|---|---|
| 1 | Property | /bmc/kepler/Managers/1/Security/Banner | bmc.kepler.Managers.Security.Banner | - | - | {"DefaultContent": "DefaultContent", "Enabled": "Enabled"} |
| 2 | Property | /bmc/kepler/Managers/1/Security/Banner | bmc.kepler.Managers.Security.Banner | - | {"Content": "${Statements/GetContent()}"} | - |
使用示例
text
ipmcset -t securitybanner -d content -v <option>输出样例
| Scenario | Output | Source |
|---|---|---|
| 成功 | Set login security banner content successfully. | interface_config/cli/echoes/ipmcset/securitybanner_content |
| 失败 | Login security banner state is disabled. Please set login security banner state to enabled first. Set login security banner content failed. | interface_config/cli/echoes/ipmcset/securitybanner_content |
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | securitybanner |
| dataitem | content |
| URI | /cli/v1/securitybanner/content |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/securitybanner.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |