Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Log & Event Manager (LEM) > LEM Administrator's Guide > Log in to the LEM CMC command-line interface

Log in to the LEM CMC command-line interface

Updated: September 15, 2017

Use the CMC command-line interface (CLI) to perform administrative tasks such as:

  • Rebooting or shutting down the LEM VM
  • Upgrading the LEM Manager software
  • Applying connector updates
  • Deploying new connector infrastructure to LEM Managers and Agents
  • And more

There are two ways to log in to the CMC CLI:

  • Connect using the console provided with your hypervisor
  • Connect using a secure shell (SSH) client such as PuTTY

CMC Access Restrictions

The following access restrictions apply to the CMC command-line interface:

  • You do not need an account with root access to administer LEM from the CMC command line.
  • You do not need to enter the CMC user name and password to log in to the CMC command line using the hypervisor virtual console.
  • You do need to enter the CMC user name and password to log in to the CMC command line using SSH. The user name is cmc and the default CMC password is password. See Change the LEM CMC password to change it.
  • SSH access to the CMC interface can be restricted by IP address or host name. If enabled, this security feature blacklists everyone from logging in to the CMC interface except those users who connect from an explicitly allowed IP address or host name. See Restrict SSH access to the LEM CMC interface for details.

Log in to the CMC command-line interface using the hypervisor virtual console

  1. Open your hypervisor and connect to the LEM VM:
    • For VMware vSphere, click the Console tab, select Advanced Configuration on the main console screen, and press Enter to access the command prompt.

    • For Hyper-V, click Action > Connect, and then click the Console tab.

    See your hypervisor documentation for additional information about using the virtual console.

  2. Use the arrow keys to navigate to Advanced Configuration and press Enter.

    The CMC menu displays with a cmc> prompt.

Next steps:

Log in to the CMC command-line interface using SSH

See CMC Access Restrictions for information about credentials and SSH access restrictions.

You can connect to LEM using a secure shell (SSH) client (such as PuTTY). The following steps show how to configure PuTTY to open the CMC command line, but these settings will work in any SSH client.

  1. Open PuTTY and verify that Session is selected in the Category section.

    File:Success_Center/Reusable_content_-_InfoDev/LEM/Log_and_Event_Manager_Administrator's_Guide/LEM_Administrator's_Guide/0040-Log_in_to_the_LEM_CMC_command_line_interface/puttysettings_353x341.gif

  2. Enter the following:
    • Host Name (or IP address) – Enter the IP address of the LEM VM. In this example, the IP address is 10.1.1.200.
    • Port – Enter 32022 or 22.
    • Protocol – Select SSH.
    • Saved Sessions – Enter LEM Manager, and then click Save.
  3. Click Open.

    Next time double-click LEM Manager in the Saved Session box to open the connection.

  4. Log in to the appliance:

    1. At the log in as prompt, type cmc and press Enter.
    2. At the password prompt, type your password and press Enter.

      The default CMC password is password. See Change the LEM CMC password to change it. For help recovering a lost CMC password, contact SolarWinds Support.

      The cmc> prompt opens with a list of available commands.

      File:Success_Center/Reusable_content_-_InfoDev/LEM/Log_and_Event_Manager_Administrator's_Guide/LEM_Administrator's_Guide/0040-Log_in_to_the_LEM_CMC_command_line_interface/lem_qsg_putty_log_in4_392x234.png

Next steps:

Last modified

Tags

Classifications

Public