Users Guide

348 RACADM Subcommand Overview
Synopsis
racadm setniccfg -d
racadm setniccfg -s [<
ipAddress
> <
netmask
> <
gateway
>]
racadm setniccfg -o [<
ipAddress
> <
netmask
> <
gateway
>]
Description
The setniccfg subcommand sets iDRAC6 IP address.
•The
-d
option enables DHCP for the NIC (default is DHCP enabled).
•The
-s
option enables static IP settings. The IP address, netmask, and
gateway can be specified. Otherwise, the existing static settings are used.
<
ipAddress
>, <
netmask
>, and <
gateway
> must be entered as dot-
separated strings.
racadm setniccfg -s 192.168.0.120 255.255.255.0
192.168.0.1
•The
-o
option disables the NIC completely.
<
ipAddress
>
,
<
netmask
>
,
and
<
gateway
>
must be entered as dot-separated strings.
racadm setniccfg -o 192.168.0.120 255.255.255.0
192.168.0.1
Output
The setniccfg subcommand displays an appropriate error message if the
operation is not successful. If successful, a message is displayed.
Supported Interfaces
Local RACADM
Remote RACADM
telnet/ssh RACADM