[j-nsp] Track-IP functionality in Junos

Erdem Sener erdems at gmail.com
Wed Jun 18 17:56:46 EDT 2008


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,  <dwinkworth at wi.rr.com> 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 <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
>
> _______________________________________________
> 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