CLI Guide

Table 26. Details of getconfig (continued)
NOTE: The -m option is available only for cfgRemoteHosts, cfgRacTuning,
cfgSerial, cfgSessionManagement, cfgLanNetworking, and
cfgIPv6LanNetworking commands.
-o — The -o <objectname> or object option specifies 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 configuration for the
specified 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 specified configuration.
Example Displays all of the configuration properties (objects) that are contained in the group
cfgLanNetworking.
racadm getconfig -g cfgLanNetworking
Saves all group configuration objects from CMC to myrac.cfg.
racadm getconfig -f myrac.cfg
If you do not configure the following key attributes in their respective groups for a particular
index, the groups are not saved in to the file. This is applicable for all the index groups.
Table 27. Key attributes
Group Key Attribute
cfgEmailAlert cfgEmailAlertAddress
cfgLDAPRoleGroup cfgLDAPRoleGroupDN
cfgServerInfo cfgServerBmcMacAddress
cfgStandardSchema cfgSSADRoleGroupName
cfgTraps cfgTrapsAlertDestIPAddr
cfgUserAdmin cfgUserAdminUserName
Displays a list of the available configuration groups on CMC in an alphabetical order.
racadm getconfig -h
Displays the configuration properties for the user named root.
racadm getconfig -u root
Displays the user group instance at index 2 with verbose information for the property values.
racadm getconfig -g cfgUserAdmin -i 2 -v
Displays the storage sled information.
racadm getconfig —g cfgStoragemodule —m storage-3
getdcinfo
Table 28. Details of getdcinfo
Description Displays general I/O module and daughter card configuration information. Only the CMC controls
daughter cards.
To use this subcommand, you must have the CMC Login User privilege.
RACADM Subcommand Details 37