ipmcset -t service -d state
更新时间: 2026/07/28
在Gitcode上查看源码命令功能
设置服务启用状态
命令格式
ipmcset -t service -d state -v <option> <enabled|disabled>
命令类型
ipmcset
参数说明
| Name | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|
option | string | 是 | - | - | 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 |
state | string | 是 | - | Type: Enum; Enum: enabled, disabled | - |
使用示例
ipmcset -t service -d state -v HTTP enabled输出样例
Set <value> service state <value> successfully.