ipmcset -t service -d state
更新时间: 2026/07/28
在Gitcode上查看源码

返回总览

命令功能

设置服务启用状态

命令格式

ipmcset -t service -d state -v <option> <enabled|disabled>

命令类型

ipmcset

参数说明

NameTypeRequiredDefaultConstraintDescription
optionstring--SSH SSH service state SNMP SNMP service state KVM KVM service state VNC VNC service state VMM VMM service state Video Video service state HTTP web server HTTP service state HTTPS web server HTTPS service state RMCP RMCP service state RMCP+ RMCP+ service state SSDP SSDP service state
statestring-Type: Enum; Enum: enabled, disabled-

使用示例

ipmcset -t service -d state -v HTTP enabled

输出样例

Set <value> service state <value> successfully.

配置来源

interface_config/cli/ipmcset/service.json