I could be mistaken, but I believe it automatically reverts when the test is successful unless you specify no-preempt.
On Wed, Aug 27, 2014 at 12:50 AM, Mattias Gyllenvarg <[email protected]> wrote: > Dear List > > I have a rpm /ip-monitor setup that is supposed to test the function of a > local internet line (ping internet destination). > > And disable it if it is not responding. > > This works fine BUT, how do I get it to re-enable when it is working again. > > I need this to work with DHCP so I cannot work with a default route. > > > ********************** > > services { > rpm { > probe Internet { > test PING-GOOGLE-DNS { > target address 8.8.8.8; > probe-count 5; > probe-interval 2; > test-interval 20; > thresholds { > total-loss 4; > } > destination-interface fe-0/0/3.0; > } > } > } > ip-monitoring { > policy Local-Internet-Test { > match { > rpm-probe Internet; > } > then { > interface fe-0/0/3 { > disable; > } > } > } > } > } > > ************************* > > -- > *Med Vänliga Hälsningar / Best Regards* > *Mattias Gyllenvarg* > _______________________________________________ > juniper-nsp mailing list [email protected] > https://puck.nether.net/mailman/listinfo/juniper-nsp _______________________________________________ juniper-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/juniper-nsp

