How do I enable CDP discovery logging in Smarts Availability Manager (Smarts AM)?
search cancel

How do I enable CDP discovery logging in Smarts Availability Manager (Smarts AM)?

book

Article ID: 304290

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:


How do I enable CDP discovery logging in Smarts Availability Manager (Smarts AM)?

CDP discovery errors are seen in the Smarts AM log file.

Environment

VMware Smart Assurance - SMARTS

Resolution

To enable CDP discovery logging, you can enable debug for the domain. However, this will produce a lot of unnecessary data, and it may be preferable to make a change to ic-cisco-post-processor.asl so just the detail from this script will be in debug. To make this change, complete the following steps:
  1. Open the ic-cisco-post-processor.asl file for editing. This is done using sm_edit from the IP/smarts/bin directory as follows:

    IP/smarts/bin: sm_edit rules/discovery/ic-cisco-post-processor.asl

  2.  
  3. Once your text editor opens the file, look for the following line near the top:

    DEBUG = topo_manager->DebugEnabled;
     
  4. Comment out this line and add another line so that it looks like the following (see Note statement):
     
    #DEBUG = topo_manager->DebugEnabled;
    DEBUG = TRUE;
  5. Save and close the ic-cisco-post-processor.asl file.
  6. You should now see CDP data with debugging information in the Smarts AM log file. Review the CDP data in the log file to determine where the error is occuring and on which device/interface. Check your CDP configuration on the device to see if there is a discrepancy. 

If you need further assistance with this issue, contact EMC Support.


Additional Information

The # comments out the initial setting, which is set to 'debug' only when domain debugging is enabled. The DEBUG = TRUE in the second line changes the setting to TRUE so just the detail from this script will be in debug.