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.
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:
| config | Lenovo Flex System chassis:
|
Display name of compute node | Displays the name of the specified compute node. | config | Compute node:
|
Display name of CMM | Displays the following information for the command target:
| config | Primary CMM:
|
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:
| Lenovo Flex System chassis:
|
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:
| Primary CMM:
|
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:
| Compute node:
|
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:
| Lenovo Flex System chassis:
|
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:
| Lenovo Flex System chassis:
|
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:
| Lenovo Flex System chassis:
|
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:
| Primary CMM:
|
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:
| Primary CMM:
|
Example:
config -name Lenovo_lab -T mm[p]
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>