Reference Guide
• -k — Option has following legal values: no arguments imply autonegotiate
<speed>=10, 100 <duplex> =half, full.
NOTE:
• -o, -k, -p: These options can be specified for chassis only
• -6: Sets static IPv6 addresses (with -soption). Enables autoconfig for IPv6
(with
-d option) disables IPv6 (with-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
• 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
• Configuration of Speed= 100 Mbps 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
• 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
• Configuration of redundant mode
racadm setniccfg -r 1
sshpkauth
Description Enables you to upload and manage up to 4 different SSH public keys for each user. You
can upload a key file or key text, view keys, or delete keys.
This command has three mutually exclusive modes determined by the options —
upload, view, and delete.
To run this subcommand, you must have Configure user privilege.
90