Use the racresetcfg subcommand to reset the iDRAC to the default setting, and then run the
racadm config -f <filename>.cfg or racadm set -f <filename>.cfg command. Make
sure that the .cfg file includes all required objects, users, indexes, and other parameters.
CAUTION: Use the racresetcfg subcommand to reset the database and the iDRAC NIC settings
to the default settings and remove all users and user configurations. While the root user is
available, other user settings are also reset to the default settings.
Parsing Rules
All lines that start with '#' are treated as comments. A comment line must start in column one. A '#'
character in any other column is treated as a '#' character. Some modem parameters may include #
characters in its string. An escape character is not required. You may want to generate a .cfg from a
racadm getconfig -f <filename> .cfg command, and then perform a racadm config -f
<filename> .cfg command to a different iDRAC, without adding escape characters. Example:
#
# This is a comment
[cfgUserAdmin]
cfgUserAdminPageModemInitString=<Modem init # not a comment>
All group entries must be surrounded by "[" and "]" characters. The starting "[" character denoting a
group name must start in column one. This group name must be specified before any of the objects
in that group. Objects that do not include an associated group name generate an error. The
configuration data is organized into groups as defined in the iDRAC8 RACADM Command Line
Interface Reference Guide available at dell.com/support/manuals. The following example displays a
group name, object, and the object’s property value.
[cfgLanNetworking] -{group name}
cfgNicIpAddress=143.154.133.121 {object name}
All parameters are specified as "object=value" pairs with no white space between the object, =, or
value.
White spaces that are included after the value are ignored. A white space inside a value string remains
unmodified. Any character to the right of the '=' is taken as is (for example, a second '=', or a '#', '[', ']',
and so forth). These characters are valid modem chat script characters.
See the example in the previous bullet.
The racadm getconfig -f <filename> .cfg command places a comment in front of index
objects, allowing the user to see the included comments.
To view the contents of an indexed group, use the following command:
racadm getconfig -g <groupName> -i <index 1-16>
For indexed groups the object anchor must be the first object after the "[ ]" pair. The following are
examples of the current indexed groups:
[cfgUserAdmin]
cfgUserAdminIndex=11
If you type racadm getconfig -f < myexample >.cfg, the command builds a .cfg file for the
current iDRAC configuration. This configuration file can be used as an example and as a starting point
for your unique . cfg file.
105