Hi All,
i need your help please to understand this behavior, i have PE1/PE2/PE3 routers configured with routing instances, i configured bgp peering with inet-vpn unicast family and inet, now i have saparate export policies, one for BGP inet configured directly under the neighbor, and other export is vrf export policy with from bgp/static/direct add community!
the problem when i add next-hop-self export policy under BGP neighbor, the VRF export routes he learned from other PE within the same VRF and advertise them making himself the next hop! i want only the regular ipv4 routes to have next-hop-self option only, but it didnt work with me at all..when i remove next-hop-self from bgp, vrf exports as it should! i'm sure that i'm missing something here! can someone guide me please to understand this behavior.
also i found this on Juniper site regarding vpn-apply-export command! it really confused me, can someone help me to understand it on other words..
""When you apply a VRF export policy as described in Configuring an Export Policy for the PE Router’s VRF Table, routes from VPN routing instances are advertised to other PE routers based on this policy, whereas the BGP export policy is ignored."""
Thank you in advance
#bgpvrfexport