Quick Reference Guide
setniccfg
Description Sets the iDRAC IP address. It displays an error message if the requested operation
could not be performed, or a success message if the operation is completed
successfully.
To use this subcommand, you must have Configure iDRAC permission.
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 (default is DHCP disabled.)
• -d6 — Enables AutoConfig for the NIC. It is enabled by default.
• -s — Enables static IP settings. The IPv4 address, netmask, and gateway can
be specified. Otherwise, the existing static settings are used. <
IPv4Address
>,
<
netmask
>, and <
gateway
> must be typed as dot-separated strings.
racadm setniccfg -s 192.168.0.120 255.255.255.0 192.168.0.1
• -s6 — Enables static IPv6 settings. The IPv6 address, Prefix Length, and the
IPv6 Gateway can be specified.
• -o — Enable or disable NIC.
Example
• racadm setniccfg -s 192.168.0.120 255.255.255.0
192.168.0.1
• racadm setniccfg -d
• racadm setniccfg -d6
setractime
Description Sets the date and time on the CMC.
To use this subcommand, you must have Administrator
privilege.
This command is applicable only for CMC.
Synopsis
• racadm setractime -d
<
yyyymmddhhmmss.mmmmmmsoff
>
• racadm setractime -l YYYYMMDDhhmmss
• racadm setractime -z {?|timezone|timezone-
prefix*}
Input
• -d — Sets the time in the string
yyyymmddhhmmss.mmmmmmsoff where:
yyyy is the year
91