Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Chassis Management Controller Version 1.3 for PowerEdge FX2/FX2s RACADM Command Line Reference Guide

PDF

setniccfg

Description

Sets the CMC 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 Chassis Administrator permission.

  • NOTE: The terms NIC and Ethernet management port may be used interchangeably.

Synopsis

  • racadm getniccfg
  • racadm getniccfg –m <module>,

    where –m must be one of the following values:

    • chassis: default state if -m is not specified

    • server-n: where n = 1 to 4

    • switch-n: where n = 1 or 2

  • 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
  • racadm setniccfg —p [-6}
  • racadm setniccfg [-m <module>] —k [<speed> <duplex>]
  • racadm setniccfg [-i <slot>] —v [<vlan_id> <vlan_priority>]

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.
  • -m<module> — Must be one of the following values:
    • chassis: Default state if - m is not specified.
    • server-n: where n=1–4
    • server-nx: where n=1–4; x=a-d (lower case)
    • switch-n: where n=1–2
  • -i <slot> — Must be number n, where n=1 to 4
  • -v — When performing on a switch, release and renew any DHCP lease on that port for the changes to be effective. The VLAN settings must be one of the following legal values:
    • no arguments imply remove vlan tag, not compatible with server-nx. For example (“server-4b”) notation
    • <vlan_id> 1 to 4000, 4021, and 4094 inclusive
    • vlan_priority> 0 to 7, inclusive
  • -p — Disables IPV4 (default)/IPV6 protocol
  • -k — Must be one of the following legal values:
    • no arguments implies autonegotiate
    • <speed> = 10, 100
    • <duplex> = half, full
  • -r — Enable or disable redundant mode. The legal values are:
    • 1 — Enable
    • 0 — Disable
  • NOTE: The options -o, -k, -p, and -r can be specified for chassis only.
  • -6:
    • Sets static IPv6 addresses (w/ -s option)
    • Enables autoconfig for IPv6 (w/ -d option)
    • Disables IPv6 (w/ -p option)
    • Can be specified for chassis or servers

Example

  • racadm setniccfg -s 192.168.0.120 255.255.255.0 192.168.0.1
  • racadm setniccfg -d
  • racadm setniccfg -d6
  • Configuration of speed = 100Mbps and duplex= full duplex:
    racadm setniccfg -k 100 full
  • Configuration of speed and duplex to autonegotiate:

    racadm setniccfig -k
  • Configuration of redundant mode:

    racadm setniccfg -r 1
  • Configuration of VLAN id and priority of a slot or all blades in a sleeve:
    racadm setniccfg -i 5 -v 1000 7
  • Configuration of CMC to a static IPv6 address:

    racadm setniccfg -m chassis -s -6 2001:DB8::2 64 2001:DB8::1
  • Configuration of server to use stateless autoconfiguration address:
    racadm setniccfg -m server-1 -d -6
  • Configuration of VLAN id and priority for a switch:
    racadm setniccfg -m switch-1 -v 1000 7
  • Removal of VLAN configuration from a switch:

    racadm setniccfg -m switch-1 -v
no

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\