CLI Guide

getcong
Description Retrieves CMC conguration parameters individually, or all CMC
conguration groups may be retrieved and saved to a le.
Synopsis
racadm getconfig -f <filename>
racadm getconfig -g <groupName> [-i <index>]
racadm getconfig -u <username>
racadm getconfig -h
racadm getconfig -g <groupName> -o <objectName>
[-i index]
Input
-f — The -f <lename> option directs getcong to write the
entire iDRAC conguration to a conguration le. This le can
be used for batch conguration operations using the cong
subcommand.
-g — The -g <groupName>, or group option, can be used to
display the conguration for a single group. The groupName is
the name for the group used in the racadm.cfg les. If the
group is an indexed group, use the -i option.
-h — The -h, or help option, displays a list of all available
conguration groups in alphabetical order. This option is useful
when you do not have exact group names.
-i — The -i <index>, or index option, is valid only for indexed
groups and can be used to specify a unique group. The
<index>is a decimal integer from 1 through n, where n can vary
from 1 to maximum number of indexes a particular group
supports. If -i <index> is not specied, a value of 1 is assumed
for groups, which are tables that have multiple entries. The
index is specied by the index value, not a named value.
-o — The -o <objectname> or object option species the
object name that is used in the query. This option is optional and
can be used with the -g option.
-u — The -u <username>, or user name option, can be used to
display the conguration for the specied user. The
<username> option is the login name for the user.
-v — The -v option displays additional details with the display of
the properties and is used with the -g option.
Output This subcommand generates error output upon encountering either
of the following:
Invalid syntax, group name, object name, index, or other invalid
database members
RACADM CLI transport failures
If errors are not encountered, this subcommand displays the
contents of the specied conguration.
Example
Displays all of the conguration properties (objects) that are
contained in the group cfgLanNetworking.
racadm getconfig -g cfgLanNetworking
Saves all group conguration objects from iDRAC to myrac.cfg.
racadm getconfig -f myrac.cfg
Displays a list of the available conguration groups on iDRAC in
an alphabetical order.
racadm getconfig -h
38 RACADM Subcommand Details