Configuring the CMM for CLI operation
You must configure the CMM to use the command-line interface.
You configure only the primary (active) CMM. If a standby (redundant) CMM is installed, it receives the configuration and status information automatically from the primary CMM when necessary. The configuration information in this topic applies to the primary CMM, which might be the only CMM in the Lenovo Flex System chassis.
If the CMM that you are installing is the only CMM in the Lenovo Flex System chassis and you have a saved CMM configuration file, you can apply the saved configuration file to the replacement CMM. See read command for information about applying a saved configuration file.
For the primary CMM to communicate, you must configure the IP address for the remote management and console (Ethernet) port (eth0) of the CMM by using the CMM CLI ifconfig -eth0 command (see ifconfig command for information about command use). The initial automatic CMM configuration enables a remote console to connect to the CMM to configure the port completely and to configure the rest of the Lenovo Flex System chassis.
After you connect the primary CMM to the network, the Ethernet management port connection is configured in one of the following ways. Either of these actions enables the Ethernet management port on the primary CMM.
- If you have an accessible, active, and configured dynamic host configuration protocol (DHCP) server on the network, the IP address, gateway address, subnet mask, and DNS server IP address are set automatically. The host name is set to the CMM MAC address by default, and the domain server cannot change it.
- If the DHCP server does not respond within 2 minutes after the port is connected, the CMM uses the manufacturing-defined static IP address and default subnet address.NoteIf the
CMM DHCP setting is set to try the DHCP server and then use the static IP address, the CMM uses the static IP address when the DHCP server is not available during CMM startup. When this occurs, the IP address might not be reachable if multiple CMMs were started with the same static IP address. Use the dhcpinfo command to view the DHCP settings for the CMM (see dhcpinfo command for information).
To configure the CMM Ethernet ports, complete the following steps: