CLI Guide
Example
• racadm setled -m chassis -l 1
Sets LED state on Chassis to Blink
• racadm setled -m server-1 -1 1
LED state was set successfully.
• racadm setled -m server-9 -1 1
ERROR: Server in slot 9 is an extension of the server in slot 1.
NOTE: The setled command generates an error when run on the extension slot of a multi-slot
server.
setniccfg
Table 111. Details of setniccfg attribute
Description Sets the CMC IP address for static and DHCP modes.
To run this subcommand, you must have the Configure Chassis Administrator privilege.
NOTE: The command helps to modify network configuration properties.
NOTE: The terms NIC and Ethernet management port may be used interchangeably.
Synopsis
• racadm setniccfg [-m <module>] -d [-6]
• racadm setniccfg [-m <module>] -s <ipAddress> <netmask> <gateway>
• racadm setniccfg [-m <module>] -s -6 <ipv6Address> <prefixlen> <gateway>
•
racadm setniccfg [-m <module>] -v [<vlan_id> <vlan_priority>]
•
racadm setniccfg [-m chassis] -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. 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.
• -m<module> — Must be one of the following values:
• chassis — Default state if -m is not specified
• server–<n>: where n=1–16
• server–<nx>: where n=1–8; x=a–d (lower case)
80 RACADM Subcommand Details