cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1154
Views
2
Helpful
18
Replies

EEM script for BGP

pradeep-ra
Level 1
Level 1

I need to run EMM script in router  that it will generate sys log whenever  router stop  receiving prefix from BGP peer.

please cross check below script once. 

Wool(config )# event manager trap prefix_down

 event community SNMP

 event manager applet prefix_down_applet

!

event manager applet prefix_down_applet

 event prefix down 1

 action syslog msg "BGP prefix down detected!"

event syslog pattern "BGP prefix down detected!"

 

18 Replies 18

15 branch sites - ISP cloud - DC

So if DC IP is not  reachable ,  out of 15 which site is impacted how to know this .

Leo Laohoo
Hall of Fame
Hall of Fame

Exactly what is the complete log say when the router stops receiving BGP prefix from the ISP?

(And I do not provide assistance to DMs!)

  • I have a Cisco ISR4431/K9 CPE connected to an ISP CPE using eBGP.
  • The ISP CPE establishes another eBGP session with an ISP PE router.
  • I don't have direct access to the ISP PE and ISP CE routers.
  • I want to monitor the eBGP session between my ISR4431/K9 and the ISP PE (indirectly).
  • I have access to my Datacenter gateway router where the ISP cloud terminates.

hence when ever ISP CE to ISP PE is down no alert on my router ( as my router to ISP CPE BGP is up )

only prefix will reduce without log /alert 

balaji.bandi
Hall of Fame
Hall of Fame

why not follow other thread : (opening same thread number of different ways is not valuable, fist its waste of time and resources)

https://community.cisco.com/t5/routing/how-to-monitor-ebgp-between-cisco-isr4431-k9-and-isp-pe/m-p/5121662#M399885

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card