CLI Guide
setled
Table 79. Details of setled attribute
Description Sets the state (blinking or not blinking) of the LED on the specied module.
To run this subcommand, you must have the Congure iDRAC permission.
Synopsis
racadm setled -l <ledState>
Input
• -l <ledState> — Species the LED state. The values are:
– 0 — No Blinking
– 1 — Blinking
Example
NOTE: The setled command generates an error when run on the extension slot of a multi-slot server.
• 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 80. Details of setniccfg attribute
Description Sets the iDRAC IP address for static and DHCP modes.
To run this subcommand, you must have the Congure 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 AutoCong for the NIC (default is disabled).
• -s — Enables static IP settings. The IPv4 address, netmask, and gateway must be specied. Otherwise, the
existing static settings are used. <ipaddress>, <netmask>, and <gateway> must be typed as dot-
separated strings.
racadm setniccfg -s 192.168.0 255.255.255.0 192.168.0
•
-s6 — Enables static IPv6 settings. The IPv6 address, Prex Length, and the IPv6 Gateway can be specied.
• -o — Enable or disable NIC.
Example
• To Congure static IPv4 address for iDRAC NIC
racadm setniccfg -s 192.168.0 255.255.255.0 192.168.0
Static IP configuration enabled and modified successfully
RACADM Subcommand Details 101