HP iLO 3 Scripting and Command Line Guide
<ENFORCE_AES VALUE="N"/>
<IPMI_DCMI_OVER_LAN_ENABLED VALUE="Y"/>
<PROPAGATE_TIME_TO_HOST VALUE="Y"/>
</GET_GLOBAL_SETTINGS>
Setting a configuration
Set a specific configuration by using the command format:
hponcfg /f add_user.xml /l log.txt
In this example, the input file has contents:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="x" PASSWORD="x">
<USER_INFO MODE="write">
<ADD_USER
USER_NAME="Landy9"
USER_LOGIN="mandy8"
PASSWORD="floppyshoes">
<ADMIN_PRIV value ="No"/>
<REMOTE_CONS_PRIV value ="Yes"/>
<RESET_SERVER_PRIV value ="No"/>
<VIRTUAL_MEDIA_PRIV value ="No"/>
<CONFIG_ILO_PRIV value="Yes"/>
</ADD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>
The specified user is added to the device.
Using variable substitution
HPONCFG enables you to specify variables in the XML RIBCL script and to assign values to those
variables when you run HPONCFG. This feature helps to avoid rewriting the XML script file every
time with different values. Anything enclosed by two percent sign (%) characters in the XML file is
considered a variable.
In this example, %username%, %loginname%, and %password% are variables:
<!-- Add user with minimal privileges to test default setting of
assigned privileges to 'N' -->
<RIBCL version="1.2">
<LOGIN USER_LOGIN="x" PASSWORD="x">
<USER_INFO MODE="write">
<ADD_USER USER_NAME="%username%" USER_LOGIN="%loginname%" PASSWORD="%password%">
<RESET_SERVER_PRIV value="Y" />
<ADMIN_PRIV value="Y" />
</ADD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>
Specify values for the variables when you run HPONCFG by using the substitute option. The
argument must be a string or variable name and value pairs must be separated by a comma (,).
The variable name and its value must be separated by an equal sign (=). For example:
hponcfg /f add_user.xml /s username=testuser,loginname=testlogin,password=testpasswd
In this example, %host_power% is a variable:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<SERVER_INFO MODE="write">
<!-- Modify the HOST_POWER attribute to toggle power on the host server -->
HPONCFG utility 27










