Hello, Current JUNOS versions only support CLI commands to be triggered via op/event scripts. This means that you can't currently trigger a configuration change (delete route, deactivate neighbor, change localpref etc) based on those.
Altering of the configuration via op/event scripts will be supported in 9.3 onwards. HTH, Erdem On Wed, Jun 18, 2008 at 8:40 PM, <[EMAIL PROTECTED]> wrote: > 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 <[EMAIL PROTECTED]> 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@puck.nether.net >> https://puck.nether.net/mailman/listinfo/juniper-nsp > > _______________________________________________ > juniper-nsp mailing list juniper-nsp@puck.nether.net > https://puck.nether.net/mailman/listinfo/juniper-nsp > _______________________________________________ juniper-nsp mailing list juniper-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp