CLI Guide
Example
• racadm setled -m server-1 -1 1
LED state was set successfully.
NOTE: The setled command generates an error when used on the extension slot of a
multi-slot server.
• racadm setled -m server-2 -1 1
ERROR: Server in slot 9 is an extension of the server in slot 1.
setniccfg
Table 92. Details of 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 Congure 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 specied
– 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”.)
• -d –6 — Enables AutoCong for the NIC. It is enabled by default.
• -s — Enables static IP settings. The IPv4 address, netmask, and gateway can be specied.
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
• -s –6 — Enables static IPv6 settings. The IPv6 address, Prex Length, and the IPv6 gateway
can be specied.
• -o — Enable or disable NIC.
• -m<module> — Must be one of the following values:
– chassis: Default state if - m is not specied.
– server-n: where n=1–4
– server-nx: where n=1–4; x=a-d (lower case)
80 RACADM Subcommand Details