cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
766
Views
0
Helpful
1
Replies

EEM to Monitor CDP

jjmeyer
Level 1
Level 1

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?

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

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:

http://forums.cisco.com/eforum/servlet/EEM?page=eem&fn=script&scriptId=161