Set CMM setting

You can use the ASU to apply a value to a CMM setting.

Command syntax

asu cmmcfg set <setting name> <value> [options] [connection options]

Command

<setting name>

Setting name takes the format CMM<0x>.xx.xx, which can be shown by either the list or showtree command.

<value>

Specify the value to set.

Table 1. Options
Option Description
--help Display help for this command in the console window and exit.
Table 2. Connection options
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.

Command example

C:\asu>asu.exe cmmcfg set cmm01.network.ipv4.staticaddress 9.115.252.27 
--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-20xx All Rights Reserved
Connected to CIMOM at IP address:10.10.10.1 on Port:5989
cmm01.network.ipv4.staticaddress=9.115.252.27
This setting will take effect after the CMM restart.