CLI Guide

Table Of Contents
Example
racadm getconfig -g idracinfo
racadm getsysinfo
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 controllers 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.
-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.
Introduction 13