CLI Guide
• -c — The -c or check option, is used with the cong subcommand and allows the user to parse
the .cfg le to locate syntax errors. If issues are found, the line number and a short description
about the issue is displayed. This option is a check-only.
Output This subcommand generates error output for any of the following reasons:
• Invalid syntax, group name, object name, index, or other invalid database members.
• RACADM CLI failures.
This subcommand returns an indication of the number of conguration objects that were written out
of the total objects in the .cfg le.
Examples
• racadm config -g cfgLanNetworking -o cfgNicIpAddress 192.168.0.1.
Sets the cfgNicIpAddress conguration parameter (object) to the value 192.168.0.1. This IP
address object is contained in the cfgLanNetworking group.
• racadm config -f myrac.cfg.
Congures or recongures CMC. The myrac.cfg le may be created from the getcong
command. This le may also be edited manually as long as the parsing rules are followed.
NOTE: The myrac.cfg le does not contain passwords. To include passwords in the le, you
must enter them manually. If you want to remove password information from the myrac.cfg
le during conguration, use the -p option.
connect
Description
Connects to the switch or server serial console.
Synopsis
• racadm connect [-b] —m <module>
• racadm connect [-b] <server-n>
• racadm connect [-b] <switch-n>
Input -b — Connects to the switch or console using the binary mode. This is an optional argument; a
server or a switch must be present.
NOTE: If you use the -b option, reset the CMC to terminate the connect operation.
• server-<n>: where n = 1 to 4
• server —<nx>: where n = 1 to 4 and x = a to d (lower case)
NOTE: The values 2 and 4 for n are valid only for multi-node sleds.
• switch-n: where n = 1 to 2 or <a1 | a2>
Examples
• Connect to I/O Module 1 serial console
racadm connect -m switch-1
• Connect to server 1 serial console
racadm connect -m server-1
deploy
Table 1. deploy
Description Deploys blade server or IOM by specifying the required properties.
24 RACADM Subcommand Details