Users Guide

RACADM Subcommand Overview 207
Description
The setniccfg subcommand sets the controller IP address.
•The
-d
option enables DHCP for the Ethernet management port (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 typed as dot-separated strings.
racadm setniccfg -s 192.168.0.120 255.255.255.0 192.168.0.1
•The
-o
option disables the Ethernet management port completely.
<
ipAddress
>
,
<
netmask
>
, and
<
gateway
>
must be typed 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/serial RACADM
getniccfg
NOTE: To use the getniccfg command, you must have Log In To DRAC 5 permission.
Table 13-21 describes the setniccfg and getniccfg subcommands.
Synopsis
racadm getniccfg
Description
The getniccfg subcommand displays the current Ethernet management port settings.
Table 13-21. setniccfg/getniccfg
Subcommand Definition
getniccfg Displays the current IP configuration for the
controller.