CLI Guide

Example
Display asset tag for chassis
racadm getassettag -m chassis
racadm getassettag
chassis 78373839–33
getchassisname
Description Displays the name of the chassis.
To run this subcommand, you must have the CMC Login User privilege.
Synopsis
racadm getchassisname
Input N/A
Example
racadm getchassisname
CMC-JGB6B2S
getcong
Description
Displays CMC conguration properties.
Synopsis
racadm getconfig -g <group> [-m <module>]
racadm getconfig -g <group> -o <object> [-m <module>]
racadm getconfig -g <group> -i <index>
racadm getconfig -g <group> -o <object> -i <index>
racadm getconfig -u <username>
racadm getconfig -h
Input
-f — The -f <filename> option directs getcong to write the entire CMC congurations to a conguration
le. This le can be used for batch conguration operations using the cong subcommand.
NOTE: This option is supported only on remote interfaces.
-g — The -g <groupName> or group option, is 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, then 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 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 specied, 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 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, is 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 more information with the display of the properties and is used with the -g option.
-m — The module must be one of the following values:
server—<n> — where n = 1–16
server—<nx> — where n = 1–8; x= a–d (lower case).
NOTE: This option is available only for cfgRemoteHosts, cfgRacTuning, cfgSerial,
cfgSessionManagement, cfgLanNetworking, or cfgIPv6LanNetworking commands.
34 RACADM Subcommand Details