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

Back to Overview

Command Function

import configuration

Command Format

ipmcset -t config -d import -v <localpath/URL>

Command type

ipmcset

Parameters

NameTypeRequiredDefaultConstraintDescription
value-Yes-RegexLocalpath e.g.: /tmp/config.json URL : protocol://[username:password@]IP[:port]/directory/filename The parameters in the URL are described as follows: The protocol must be https,sftp,cifs,scp or nfs. The URL can contain only letters, digits, and special characters. The directory or file name cannot contain @. Use double quotation marks (") to enclose the URL that contains a space or double quotation marks ("). Escape the double quotation marks (") and back slash () contained in the URL. For example, if you want to enter: a b\cd" Enter: "a b\cd""

Regex正则表达式

  • value
^((https|sftp|nfs|cifs|scp)://.{1,1000}|/tmp/.{1,246})\.json$

Output Examples

Setting configuration...
Import configuration successfully.
Reset OS for the BIOS config to take effect.

Config source

interface_config/cli/ipmcset/config.json