CLI Guide

Table Of Contents
Table 90. serveraction (continued)
Example
Get Power Status on iDRAC
racadm serveraction powerstatus
Server Power Status: ON
racadm serveraction powercycle
Server power operation successful
setled
Table 91. Details of setled
Description Sets the state (blinking or not blinking) of the LED on the specified module.
To run this subcommand, you must have the Configure iDRAC permission.
Synopsis
racadm setled -l <ledState>
Input
-l <ledState> Specifies the LED state. The values are:
0 No Blinking
1 Blinking
Example
From iDRAC stop LED from blinking.
racadm setled -l 0
RAC0908: System ID LED blink off.
From iDRAC start LED to blink.
racadm setled -l 1
RAC0907: System ID LED blink on.
setniccfg
Table 92. Details of setniccfg
Description Sets the iDRAC IP address for static and DHCP modes.
To run this subcommand, you must have the Configure iDRAC privilege.
NOTE: The terms NIC and Ethernet management port may be used interchangeably.
Synopsis
racadm setniccfg -d
racadm setniccfg -d6
racadm setniccfg -s <IPv4Address> <netmask> <IPv4 gateway>
racadm setniccfg -s6 <IPv6 Address> <IPv6 Prefix Length> <IPv6 Gateway>
racadm setniccfg -o
Input
-d Enables DHCP for the NIC. It is enabled by default.
-d6 Enables AutoConfig for the NIC (default is disabled).
116 RACADM Subcommand Details