CLI Guide

Table 122. Details of set enclosure (continued)
Synopsis
racadm raid set enclosures: Enclosure.External.0-0:RAID.ChassisSlot.5-1 –
p AssetTag <value>
racadm raid set enclosures: Enclosure.External.0-0:RAID.ChassisSlot.5-1 –
p AssetName <value>
Input
-p — Specifies the property of the enclosure to be modified.
setniccfg
Table 123. Details of 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 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 (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
setpciecfg
Table 124. Details of setpciecfg
Description You can configure PCIe slots and Virtual Adapters, and also set the ride-through properties.
NOTE: To use this subcommand, you must have Chassis Administrator privilege.
NOTE: The slot assignment feature is licensed.
106 RACADM Subcommand Details