There is a way to monitor change in the route table,?

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
There is a way to monitor change in the route table, and that this change is reflected in message logs?
Photo of jaime quintana

jaime quintana

  • 302 Points 250 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Bill Stritzinger

Bill Stritzinger, Alum

  • 6,036 Points 5k badge 2x thumb
Hello... You should be able to add log entries for router manger by adding the following to the default log filter...

"RtMgr"                "RtMgr.BFD"    "RtMgr.Client"         "RtMgr.HAL"            "RtMgr.If"
    "RtMgr.Kern"           "RtMgr.Server"         "RtMgr.Table"
    "RtMgr.VLAN"

To add log entries based on the above, run the command  - "configure log filter default add event <event name from above> - This will add entries based on changes that are made to the respective event.  I don't have a switch in front of me but I would guess that the "RtMgr.Table" log would add entries based on routes added or removed.  You can add all of them as well and get log entries for all of the RtMgr events, just do that command with each one.

Give it a shot and let me know... 
Photo of jaime quintana

jaime quintana

  • 302 Points 250 badge 2x thumb
Thank Bill ,

And this can be expecificado to a specific network, such as: route 10.0.0.0/8
Photo of Bill Stritzinger

Bill Stritzinger, Alum

  • 6,036 Points 5k badge 2x thumb
This will give you everything... to search the log, do the following...


show log | include <string>
Photo of PARTHIBAN CHINNAYA

PARTHIBAN CHINNAYA, Alum

  • 4,382 Points 4k badge 2x thumb
the best option is to write a script do this job for you.
enabling log filters might hog the CPU.
Photo of jaime quintana

jaime quintana

  • 302 Points 250 badge 2x thumb
and this script , how to be configured¿?