Submit a ticketCall us

WebinarUpcoming Webinar: Easily Automate Backups and Simplify Log Message Management

Backing up your network configuration and logging data are a few steps to helping keep your network safe. In this in-depth webinar, we’ll show you how these tasks can be automated to save your IT team time while maintaining accurate archives of your data.

Register now.

Home > Success Center > Log & Event Manager (LEM) > LEM - Knowledgebase Articles > Use the CMC checklogs command to display log files

Use the CMC checklogs command to display log files

Table of contents
Created by Justin Rouviere, last modified by Kevin.Kessler-ret on Apr 28, 2017

Views: 2,612 Votes: 4 Revisions: 8


The checklogs command displays the contents of the log files stored in LEM from sources such as Syslog and SNMP.


  • All versions of LEM


  1. Access the CMC prompt:
    • Virtual Console: Arrow down to Advanced Configuration, and then press Enter.
    • SSH Client: Log in using your CMC credentials.
  2. In the cmc> prompt, enter applianceThe prompt changes to cmc::acm# indicating you are in the appliance configuration menu.
  3. In the acm> prompt, enter checklogs.
  4. Select the log file or local facility by entering the corresponding number in the list and press Enter.
  5. Select if you would like to search from the beginning or end of the log.
    Note: You can press Enter to accept the default (End).
  6. Select the number of lines to return.  
    Note: You can press Enter to accept the default (500).
  7. Press Enter to load the file.
  8. Once you have loaded the file, you can use operators to search for strings.
    • Forward slash (/) to search down the log file.
    • Question mark (?) to search up the log file.
    • Shift + G to go to the bottom of the log file.
    • gg to go to the top of the log file.


Last modified