CLI Guide

Remote RACADM
racadm -r <CMC IP> -u <username> -p <password> getconfig -g <groupname> [-o
<objectname>] [-i <indexnumber>]
racadm -r <CMC IP> -u <username> -p <password> <subcommand>
Example
racadm -r <CMC IP> -u myuser -p mypass getconfig -g idracinfo
racadm -r <CMC IP> -u myuser -p mypass getsysinfo
RACADM Command Options
The following table lists the options for the RACADM command.
Table 1. Racadm command options
Option Description
-r<racIpAddr>
-r racIpAddr : <port number>
Specifies the controller’s remote IP address.
Use:<port number> if the iDRAC port number is not the default
port (443).
-u <usrName> Specifies the user name that is used to authenticate the command
transaction. If the -u option is used, the -p option must be used,
and the -i option (interactive) is not allowed.
NOTE: If you are using CIFS that is registered with a
domain, and are accessing the CIFS using the IP with the
CIFS local user credentials, it is mandatory to enter the
hostname or host IP with the -u option. The format is -
<hostname/username> or <host IP/username>
-p <password> Specifies the password used to authenticate the command
transaction. If the -p option is used, the -i option is not allowed.
-S Specifies that RACADM should check for invalid certificate errors.
RACADM stops the execution of the command with an error
message if it detects an invalid certificate.
-I <indexnumber> Specifies the index number for the indexed group, if applicable.
-g <groupname> Specifies the group name, if applicable.
-o objectname Specifies the object name, if applicable.
The following table provides the supported RACADM interfaces.
Table 2. Racadm interfaces
Type Local RACADM SSH/Telnet RACADM Remote RACADM
CMC No Yes Yes
NOTE: Multiple instances of remote RACADM can be executed on a management station.
Supported RACADM Subcommands
The following table provides the list of RACADM subcommands and their corresponding interface support. For more information about the
RACADM sub-commands including syntax and valid entries, see RACADM Subcommand Details.
Introduction
13