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

ipmcset -t config -d import

返回总览 | 返回命令索引

命令功能

导入配置

命令格式

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

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
valueReqBody--[{"Type": "Regex", "Formula": "^((https|sftp|nfs|cifs|scp)😕/.{1,1000}|/tmp/.{1,246})\.json$"}]Localpath 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""

响应/输出说明

后端处理流

StepTypePath/URIInterfaceField/MethodSourceDestination
1Task/bmc/kepler/Managers/1/Configurationsbmc.kepler.Managers.ConfigurationsImport-{"TaskId": "TaskId"}

使用示例

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

输出样例

ScenarioOutputSource
处理中Setting configuration...interface_config/cli/echoes/ipmcset/config_import
失败Import configuration failed.interface_config/cli/echoes/ipmcset/config_import
成功Import configuration successfully. Reset OS for the BIOS config to take effect.interface_config/cli/echoes/ipmcset/config_import

来源信息

ItemValue
命令类型ipmcset
targetconfig
dataitemimport
URI/cli/v1/config/import
Interface TypePatch
配置来源interface_config/cli/ipmcset/config.json
请求版本26.06_2026.06.30
源码提交5606349e
生成时间2026-07-16T01:48:37