cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1607
Views
0
Helpful
4
Replies

EMM Script BGP

belcenterbe
Level 1
Level 1

Hello the community,

 

Any ideas to run  an EEMM to detect "down" or "idle admin"  BGP neighbor's.

Show ip bgp sum can helps ?

 

4 Replies 4

Sergiu.Daniluk
VIP Alumni
VIP Alumni

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

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 :)

 

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.

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)