config command

This command sets and displays the name of the CMM or compute node and the location and contact name for the CMM.

If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or config command errors for a list of error messages that are specific to the config command.

Table 1. config command.

The command table is a multi-row, four-column table where each row describes a CMM CLI command option: column one lists command function, column two provides a detailed command description, column three shows command-option syntax, and column four lists valid command targets.

Function What it does Command Target (see paths in Command targets)
Display identifying information for Lenovo Flex System chassis Displays the following information for the command target:
  • Name
  • Room
  • Rack
  • Rack unit
config
Lenovo Flex System chassis:
  • system
Display name of compute node Displays the name of the specified compute node. config
Compute node:
  • blade[x]
  • where x is the node bay number.
Display name of CMM Displays the following information for the command target:
  • Name
  • Location
  • Contact name
config
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Set name of chassis Sets the name of the chassis. config -name "name"

where "name" is up to 15 characters in length and contained within double-quotes. Any printable character can be used in the chassis name.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Set name of CMM Sets the name of the primary CMM. config -name name

where name is up to 15 characters in length.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration (for CMM)
  • Blade configuration (for compute node)
See Commands and user authority for additional information.
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Set name of compute node Sets the name of the specified compute node. config -name "name"

where "name" is up to 15 characters in length and contained within double-quotes.

Names can contain any character other than "<" and ">".

Names can contain spaces.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade configuration
See Commands and user authority for additional information.
Compute node:
  • blade[x]
  • where x is the node bay number.
Set rack location of chassis Sets the rack where the chassis is located. config -rack "rack"

where "rack" is up to 23 characters in length and contained within double-quotes.

Rack locations can contain any character other than "<" and ">".

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Set rack unit location of chassis Sets the lowest rack unit that the chassis occupies in a rack. config -rackunit "unit"

where "unit" is an integer between 0 and 99, inclusive, that identifies the lowest unit of a rack that the chassis occupies.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Set room location of chassis Sets the room where the chassis is located. config -room "room"

where "room" is up to 23 characters in length and contained within double-quotes.

Room locations can contain any character other than "<" and ">".

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Set location of CMM Sets the location of the primary CMM. config -loc "location"

where "location" is up to 47 characters in length and contained within double-quotes.

CMM locations can contain any character other than "<" and ">".

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Set contact name for CMM Sets the contact name for the primary CMM. config -contact "contact_name"

where "contact_name" is up to 47 characters in length and contained within double-quotes.

CMM contact names can contain any character other than "<" and ">".

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.

Example:

To set the primary CMM name to Lenovo_lab, while the Lenovo Flex System chassis is set as the persistent command environment, at the system> prompt, type
config -name Lenovo_lab -T mm[p]
To display the primary CMM name, location, and contact name, while the Lenovo Flex System chassis is set as the persistent command environment, at the system> prompt, type
config -T mm[p]

The following example shows the information that is returned from these two commands:

system> config -name Lenovo_lab -T mm[p]
OK
system> config -T mm[p]
-name Lenovo_lab
-contact John_Doe
-loc Main_Lab
system>