EMM Script BGP

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 01:54 AM
Hello the community,
Any ideas to run an EEMM to detect "down" or "idle admin" BGP neighbor's.
Show ip bgp sum can helps ?
- Labels:
-
Network Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 02:12 AM
Hi @belcenterbe
What platform you have?
On Nexus switches you can use the "event syslog" option to match on specific logging message. In your case it can be BGP neighbor down event.
event syslog pattern "* your pattern here *”
Cheers,
Sergiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 02:16 AM
Hey,
i'm using IOS XE.
Syslog cannot helps because i want to run every day / at midnight - a no neig shutdown on all peers down :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 02:23 AM
Hi,
Looks like IOS XE supposes as well syslog pattern as a trigger.
Syslog Event Detector
The syslog event detector allows for screening syslog messages for a regular expression pattern match. The selected messages can be further qualified, requiring that a specific number of occurrences be logged within a specified time. A match on a specified event criteria triggers a configured policy action.
Not sure exactly what you try to achieve in your scenario, but with this option, the EEM will run continuously, and for every syslog message matching your pattern, it will trigger eem actions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 02:27 AM
Hello,
I already have an emm to shutdown the peer in case of flapping.
The idea is to unshut after one day
There is only one trigger ? (syslog)
