Hello,
I was wondering if it is possible to filter “exported route targets” from VRF, i want to export some ip’s from one of my VRF’s, but not all of them.
Everything is via BGP l3vpn option.
ip routes vrf print;
routing-mark=VRF1 interfaces=vlan115 route-distinguisher=1:1 import-route-targets=1:1,2:2 export-route-targets=1:1,2:2
routing-mark=VRF2 interfaces=vlan113 route-distinguisher=2:2 import-route-targets=2:2 export-route-targets=2:2
i have the chain filter “bgp-out” configured on my “Routing > bgp > VRF” menu, on both vrf and this it how i configured it:
///chain=bgp-out prefix=10.0.0.0/8 prefix-length=8-15 route-targets=2:2 invert-match=no action=discard set-bgp-prepend-path=“”
I expect it to use the export-route-target and do not export the 10.0.0.0/8 CIDR, but its not doing anything, how should i resolve this?
I was wondering also, what im trying is to filter the export and looking on the remote vrf table, but what would happend on local vrf table if i’m filtering at BGP level?
Thank you! In advantage, hope i could explain it good.