Importing the Configuration File (config -d import)
Function
The config -d import command is used to import the iBMC, BIOS, and RAID controller card configuration files.
Format
ipmcset -t config -d import -v <filepath | file_URL>
Parameters
Parameter |
Description |
Value |
---|---|---|
filepath |
Specifies the directory to which the configuration file is to be imported. |
Absolute path of the configuration file on the iBMC. Example value: /tmp/config.xml |
file_URL |
Specifies the URL of the configuration file to be imported. |
Format: protocol://[username:password@]IP:[port]/directory/filename Where:
Example value: https://root:Huawei12#$@10.10.10.1:443/tmp/config.xml |
Usage Guidelines
Before running this command, use a file transfer tool that supports SFTP, for example WinSCP, to transfer the configuration file to the specified directory (for example /tmp) of the iBMC file system.
Example
Import the configuration file.
iBMC:/-> ipmcset -t config -d import -v /tmp/testconfig.xml Setting configuration... 100% Import configuration successfully. Reset OS for the BIOS config to take effect.