跳至主要內容
  • 簡單快速地下訂單
  • 檢視訂單及追蹤商品運送狀態
  • 建立並存取您的產品清單
  • 使用「公司管理」來管理您的 Dell EMC 網站、產品和產品層級連絡人。

Integrated Dell Remote Access Controller 9 RACADM CLI Guide

PDF

setniccfg

Table 1. Details of setniccfgThe following table provides details about the setniccfg subcommand:
Description Sets the iDRAC IP address for static and DHCP modes.

To run 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. It is enabled by default.
  • -d6 — Enables AutoConfig for the NIC (default is disabled).
  • -s — Enables static IP settings. The IPv4 address, netmask, and gateway must 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 255.255.255.0 192.168.0
  • -s6 — Enables static IPv6 settings. The IPv6 address, Prefix Length, and the IPv6 Gateway can be specified.
  • -o — Enable or disable NIC.
Example
  • To Configure 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
  • Configure DHCP mode for iDRAC IPv4
    racadm setniccfg -d
    DHCP is now ENABLED
  • Configure DHCP mode for iDRAC IPv6
    racadm setniccfg -d6
    DHCP6 is now ENABLED

對此內容評分

準確
實用
易懂
這篇文章對您有用嗎?
0/3000 characters
  請給予評分 (1 到 5 顆星)。
  請給予評分 (1 到 5 顆星)。
  請給予評分 (1 到 5 顆星)。
  本文章是否有幫助?請選擇。
  評語中不得包含下列特殊字元:<>()\