You can use the ASU to import a local file to CMM.
asu cmmcfg import <setting name> [options] [connection options]
<setting name>
Setting name takes the format CMM<0x>.xx.xx, which can be shown by either the list or showtree command.
Option | Description |
---|---|
--help | Display help for this command in the console window and exit. |
Connection option | Description |
---|---|
--host <ip> | Address of the CMM server to operate on. |
--user<userid> | CMM user name to authenticate. The default is USERID. |
--password<password> | CMM password to authenticate. The default is PASSWORD. |
--port<port> | Port for the CIM interface. The default is 5989. |
C:\asu>asu.exe cmmcfg import cmm01.configuration sftp://user:password@9.115.234.91:63/cfgabc.txt@Passw0rd --host 10.10.10.1 --user USERID --password PASSW0RD Lenovo Advanced Settings Utility version 10.0.87F Licensed Materials - Property of Lenovo (C) Copyright Lenovo Corp. 2007-2012 All Rights Reserved Connected to CIMOM at IP address:10.10.10.1 on Port:5989 Started to import configuration file from sftp://user:password@9.115.234.91:63/cfgabc.txt@Passw0rd Still running 0...... Still running 1...... Still running 2...... Still running 3...... Finished to import configuration file to sftp:// user: password@9.115.234.91:63/cfgabc.txt@Passw0rd