ipmcset -t maintenance -d ipaddr
更新时间: 2026/07/28
在Gitcode上查看源码命令功能
设置维护 IP 地址
命令格式
ipmcset -t maintenance -d ipaddr -v <ipaddr> <mask>
命令类型
ipmcset
参数说明
| Name | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|
ipaddr | string | 是 | - | Regex | - |
mask | string | 是 | - | Regex | - |
Regex正则表达式
ipaddr
^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$mask
^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$输出样例
Set the maintenance IP address of dedicated port successfully.
Set the maintenance subnet mask of dedicated port successfully.