Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

iDRAC 8/7 v2.70.70.70 RACADM CLI Guide

PDF

getconfig

Table 1. Details of getconfig attributeThe following table provides details of getconfig attribute:
Description

Retrieves iDRAC configuration parameters individually or all iDRAC configuration groups may be retrieved and saved to a file.

NOTE: : This subcommand is deprecated. For viewing the configuration objects and its values, use get subcommand. For more information, see the Integrated Dell Remote Access Controller (iDRAC8) and iDRAC7 RACADM Command Line Interface Reference Guide available at www.dell.com/support/manuals.

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 <filename> option directs getconfig to write the entire iDRAC configurations to a configuration file. This file can be used for batch configuration operations using the config subcommand.

    NOTE: : This option is supported only on remote interfaces.

  • -g — The -g <groupName> or group option, is used to display the configuration for a single group. The <groupName> is the name for the group used in the racadm.cfg files. If the group is an indexed group, then use the-i option.
  • -h — The -h or help option, displays a list of all available configuration groups in alphabetical order. This option is useful when you do not remember exact group names.
  • -i — The -i <index> or index option, is valid only for indexed groups and is 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 specified, then a value of 1 is assumed for groups, which are tables that have multiple entries. The -i option enters the index value and not a named value
  • -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, is used to display the configuration for the specified user. The <username> option is the login name for the user.
  • -v — The -v option displays more information with the display of the properties and is used with the -g option.
Output The subcommand displays error message when:
  • Invalid syntax, group name, object name, index, or any other invalid database members are entered.
  • The RACADM CLI transport is unsuccessful.

If errors are not encountered, this subcommand displays the content of the specified configuration.

Example
  • Displays the configuration properties (objects) that are contained in the group cfgLanNetworking.
    racadm getconfig -g cfgLanNetworking  
  • Saves all group configuration objects from
  • iDRAC 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.

    Saves all group configuration objects from iDRAC to myrac.cfg.
    racadm getconfig -f myrac.cfg  
    Saves all group configuration objects from iDRAC to myrac.cfg.
    racadm getconfig -f myrac.cfg  
    Table 2. DetailsIf 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.
    Groups Key Attributes
    cfgEmailAlert cfgEmailAlertAddress
    cfgLDAPRoleGroup cfgLDAPRoleGroupDN
    cfgServerInfo    cfgServerBmcMacAddress
    cfgStandardSchema cfgSSADRoleGroupName
    cfgTraps cfgTrapsAlertDestIPAddr
    cfgUserAdmin   cfgUserAdminUserName
  • Displays a list of the available configuration groups on iDRAC 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 an entire group of serial configuration.
    racadm getconfig -g cfgSerial
  • Displays a single object from a particular group.
    racadm getconfig -g cfgSerial -o cfgSerialBaudRate
  • Displays an indexed group.
    racadm getconfig -g cfgUserAdmin -o cfgUserAdminUserName -i 2
  • Displays the current Enhanced Cooling Mode property configuration.
    racadm getconfig –g cfgThermal 

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\