On 06.12.2013 12:14, 0dm1n wrote:
filter Uplink1_in {
     if (net.len > 19 && "other_uplink_is_alive") then
        reject;
     else {
         bgp_local_pref=100;
         accept;
     }
}

sorry, in one second after message has been sent got an idea:
filter Uplink1_in {
    if (net.len > 19) then
        bgp_local_pref=150;
    else
        bgp_local_pref=100;
    accept;
}

result: 60%/40% (not bad)
may be exists another less brusquely method...

--
Best Wishes

Reply via email to