[j-nsp] set MED only on empty

Baldur Norddahl baldur at gigabit.dk
Sat Sep 19 11:52:17 EDT 2020


Hello

I want to set MED (metric) only when the peer did not specify a MED value.
The idea being that peers that set MED have a reason for their choice, but
if no MED value is set, I am going to set it to MED=(latency_to_peer_in_ms
+ 1000). That way we will prefer the route with lowest latency.

But I can not figure out how to match on no MED value in a policy. There
must be a way to do this?

Thanks,

Baldur


More information about the juniper-nsp mailing list