EEM to Monitor CDP

Unanswered Question
Aug 23rd, 2010

Please can someone tell me if Cisco's EEM can monitor CDP then act on the resualt like shut on unshut an interface?>

If this can be done can?what Cisco commands would I need? Searched all over the intenet and cant seem to find any examples?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Mon, 08/23/2010 - 21:21

The Cat3K switches running 12.2(52)SE and higher have a neighbor event detector that can monitor CDP (and LLDP) changes.  And, yes, you could shut/no shut an interface.  With another version of IOS or on another platform, you could use a timer policy that runs periodically, checks the output of "show cdp nei" then performs the shut/no shut based on the neighbor data.

This policy might be a good starting point for the timer-based approach:


This Discussion