Quick Reference Guide
• 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.
• -i<slot> — must be number n, where n = 1 to 16
• -m<module> — must be one of the following values:
– chassis — default state if -m is not specified
– server-n : where n = 1 to 16
– server-nx: where n = 1 to 8; x = a to d (lower case)
– switch-n : where n = 1 to 6
• -v — vlan settings has following legal values: no arguments implies remove vlan
tag, not compatible with server-nx (for example "server-4b") notation <vlanid> =
between 1 and 4000, 4021 and 4094, inclusive <vlan priority> = between 0 and 7,
inclusive
• -p — disables IPv4(default)/IPv6 protocol
• -k — option has following legal values: no arguments implies autonegotiate
<speed> = 10, 100 <duplex> = half, full
NOTE:
• -o, -k, -p: 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
• -v : when performing on a switch, release and renew any DHCP lease on
that port for changes to take effect
Example
• racadm setniccfg -s 192.168.0.120 255.255.255.0
192.168.0.1
• racadm setniccfg -d
• racadm setniccfg -d6
For CMC:
• Configuration of Speed= 100Mbps and duplex= full duplex:
racadm setniccfg -k 100 full
• Configuration of Speed and Duplex to Autonegotiate:
racadm setniccfg -k
• Configuration of VLAN id and priority of a slot or all blades in a sleeve:
racadm setniccfg -i 5 -v 1000 7
109