Hello.
I am advertising a default route to my BGP neighbor via below
set policy-options policy-statement default-vpn term default-originate from route-filter 0.0.0.0/0 exact
set policy-options policy-statement default-vpn term default-originate then accept
set policy-options policy-statement default-vpn then reject
However I also have a requirement to advertise another route 172.26.82.0/24 to my BGP neighhbor along with above. which I have done below:
set policy-options policy-statement SH-prefixes term allowed from route-filter 172.26.82.128/28 exact
set policy-options policy-statement SH-prefixes term allowed then accept
set policy-options policy-statement SH-prefixes then reject
My problem is when I do that using below
set routing-instances vpn128 protocols bgp group vpn neighbor 172.31.255.102 export default-vpn
set routing-instances vpn128 protocols bgp group vpn neighbor 172.31.255.102 export SH-prefixes
Additional route does not get advertised to neighbor . Is there anyway I can achieve this
My second question is if route 172.26.82.128/28 is not available in BGP routing table - I want this route not to get advertised to 172.31.255.102 neighbor . Is this possible at all?
------------------------------
junos sky
------------------------------