[j-nsp] Track-IP functionality in Junos

dwinkworth at wi.rr.com dwinkworth at wi.rr.com
Wed Jun 18 14:40:22 EDT 2008


Masood:

Therea re two ways you can do this:

(a) BFD liveness: 
http://www.juniper.net/techpubs/software/junos/junos91/swconfig-routing/configuringbidirectional-forwarding-detection.html#id-10372527

(b) Generate a periodic event that triggers an event policy that does the ping and removes the static route if the ping fails:
http://www.juniper.net/techpubs/software/junos/junos91/swconfig-automation/swconfig-automation.pdf

For "B" look at page 367 on how to generate an internal event based on a timer.  You can name the event whatever you want.  When the timer goes off, an "event" is generated internally with that name, that will trigger a corresponding eventscript that will do the work you need.  

At least... if its ping you want... I think "B" will work.  I think I'm going to go lab that up actually, I haven't done this before... but it makes sense, it should totally work.


---- Masood Ahmad Shah <masood at nexlinx.net.pk> wrote: 
> I am looking for a track-ip functionality in Junos, which will be able to
> retire a route based on IP reachability (ping or something like this)
> 
> Is this anything we can do?
> 
> Regards,
> Masood Ahmad Shah
> 
> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list