clear command
This command restores the primary CMM configuration or an I/O (switch) module configuration to the manufacturing default settings.
- The command must always include the -cnfg option.
- To restore a saved CMM configuration after restoring the manufacturing default settings, use the read command (see ../com.lenovo.acc.cmm.doc/cli_command_read.html for information about command use).
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 clear command errors for a list of error messages that are specific to the clear command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Restore default configuration of primary CMM and keep logs | Restores the default configuration of the primary CMM, retaining log information; then, resets the CMM. If the current operating state of the Lenovo Flex System chassis indicates potential problems with restoring the default configuration, an error message is returned and the restore is cancelled. No results are returned from this command because it resets the CMM. When you restore the CMM configuration, the Ethernet configuration method is set to a value of dthens. After the CMM resets, this causes the CMM to try dhcp configuration and then default to the static IP configuration, which might cause the CMM to remain offline for longer than normal. See the ifconfig command for information. | clear -cnfg This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Restore default configuration of primary CMM and keep logs (with override) | Restores the default configuration of the primary CMM, retaining log information; then, resets the CMM, overriding error messages and restoration cancellation due to the current Lenovo Flex System chassis operating state. No results are returned from this command because it resets the CMM. When you restore the CMM configuration, the Ethernet configuration method is set to a value of dthens. After the CMM resets, this causes the CMM to try dhcp configuration and then default to the static IP configuration, which might cause the CMM to remain offline for longer than normal. See the ifconfig command for information. | clear -cnfg -o This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Restore default configuration of I/O module | Restores the configuration of the specified I/O module to the default settings. | clear -cnfg This command can only be run by users who have one or more of the following command authorities:
| I/O module:
|
clear -cnfg -T mm[p]
No results are returned from this command. After the primary CMM resets, you will need to start a new command-line session.