[j-nsp] VRRP VIP route not accepted as contributing route to AGGREGATE

Vincent Bernat bernat at luffy.cx
Tue Jan 26 14:37:39 EST 2016


 ❦ 26 janvier 2016 18:15 +0100, "Alexander Marhold" <alexander.marhold at gmx.at> :

> We want to have an aggregate only announced when the VRRP vip route is
> active on the local BGP speaker

I had the exact same problem. I solved by using a conditional route instead.

policy-options {
    policy-statement v4-PRIVATE-2-BGP {
        term 10 {
            from protocol aggregate;
            then accept;
        }
        term 20 {
            from {
                protocol direct;
                route-filter 192.168.96.0/19 exact;
                condition got-oob-vrrp;
            }
            then accept;
        }
    }
    condition got-oob-vrrp {
        if-route-exists {
            192.168.96.1/32;
            table private.inet.0;
        }
    }
}
-- 
Write clearly - don't sacrifice clarity for "efficiency".
            - The Elements of Programming Style (Kernighan & Plauger)


More information about the juniper-nsp mailing list