[j-nsp] Policy-statement to match on metrics less than, greater than, or within a range

Phil Rosenthal pr at isprime.com
Thu Aug 27 09:53:27 EDT 2015


> On Aug 27, 2015, at 7:15 AM, Alexander Arseniev <arseniev at btinternet.com> wrote:
> 
> There is a floor for MED and it is 0.
> What You could do is :
> 
> term 1 then { metric subtract 1000; next term }
> term 2 from metric 0; then { local-preference 100; accept } 
> 
> You won't be able to keep the original MED though :-(
> HTH
> Thanks
> Alex

Thanks!

This is obviously much less elegant than Cisco's solution (which is honestly pretty stunning to me to ever say such a thing), but is still usable.

Hopefully someone from Juniper is reading this and decides to fix this by adding a proper solution.

-Phil



More information about the juniper-nsp mailing list