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

Back to Overview

Command Function

Set maintenance ip address

Command Format

ipmcset -t maintenance -d ipaddr -v <ipaddr> <mask>

Command type

ipmcset

Parameters

NameTypeRequiredDefaultConstraintDescription
ipaddrstringYes-Regex-
maskstringYes-Regex-

Regex正则表达式

  • ipaddr
^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$
  • mask
^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$

Output Examples

Set the maintenance IP address of dedicated port successfully.
Set the maintenance subnet mask of dedicated port successfully.

Config source

interface_config/cli/ipmcset/maintenance.json