Zu den Hauptinhalten
  • Bestellungen schnell und einfach aufgeben
  • Bestellungen anzeigen und den Versandstatus verfolgen
  • Profitieren Sie von exklusiven Prämien und Rabatten für Mitglieder
  • Erstellen Sie eine Liste Ihrer Produkte, auf die Sie jederzeit zugreifen können.
  • Verwalten Sie mit der Unternehmensverwaltung Ihre Dell EMC Seiten, Produkte und produktspezifischen Kontakte.

Dell Chassis Management Controller Version 2.10 for PowerEdge FX2 and FX2s RACADM CLI Guide

PDF

getconfig

Table 1. Details of getconfig. The following table provides the details of getconfig attribute:

Description

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

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 CMC configuration to a configuration file. This file can be used for batch configuration operations using the config subcommand.
  • -g — The -g <groupName>, or group option, can be 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, 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 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 specified, a value of 1 is assumed for groups, which are tables that have multiple entries. The index is specified by the index value, not a named value.
  • -m — Indicates the module on which you want to carry out the action. The —m or <module> displays the following information for a particular server, group of servers, individual storage, or storage groups:
    • session
    • WEB/SSH/Telnet
    • remote system log
    • storage mode
    • service tag
    • asset tag
    The <module> must have one of the following values:
    • server-<n> — where n = 1 to 4
    • server-<nx> — where n = 1 to 4 and x = a to d (lower case). The n = 2 and 4 are valid for multi-node sleds only.
    • storage-<n> — where n = 1 to 4
    • 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 1. Key attributes. The following table provides the details of the groups and their 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

Diesen Inhalt bewerten

Präzise
Nützlich
Leicht verständlich
War dieser Artikel hilfreich?
0/3000 characters
  Bitte geben Sie eine Bewertung ab (1 bis 5 Sterne).
  Bitte geben Sie eine Bewertung ab (1 bis 5 Sterne).
  Bitte geben Sie eine Bewertung ab (1 bis 5 Sterne).
  Bitte geben Sie an, ob der Artikel hilfreich war.
  Die folgenden Sonderzeichen dürfen in Kommentaren nicht verwendet werden: <>()\