BGP Log route updates

Unanswered Question
Sep 17th, 2008
User Badges:


Does anyone know if there is a way to log bgp routes updates? Obviously there is a way to see adjacencies changes, but I am needing to see route updates by logging so I can send the output to a Syslog server?



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Wed, 09/17/2008 - 08:27
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Assuming your router is running 12.3(14)T or higher, you could use the Embedded Event Manager to accomplish this. Using EEM, you could run the show ip route bgp command, store the results, then periodically recheck the table, and notify via syslog when there is a change. This would require an EEM Tcl policy. More on writing EEM policies in Tcl can be found at , and a sample policy of mine which does something similar for DCHP leases can be found at .

Admittedly, with a large table, this may not be doable with EEM right now. We are looking at introducing a new Route Event Detector in an upcoming EEM release that will make this a lot easier.

If you want to pursue the EEM route, and have questions, feel free to ask.

sadcock123 Wed, 09/17/2008 - 08:38
User Badges:


I have just done the following command on my router:-

debug bgp ipv4 unicast updates in

Then picked up the info from syslog and mailed out to myself which informs me of a route change.




This Discussion