Skip to content

BGP filter export L3VPN routes #10603

Answered by EasyNetDev
EasyNetDev asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

I found the solution. You need to set rt vpn export XXXXX:1000 and them use route-map under the ipv4 unicast:

router bgp XXXXX
 address-family ipv4 unicast
  label vpn export auto
  rd vpn export XXXXX:1000
  rt vpn export XXXXX:1000
  route-map vpn export VPN-MPLS-EXPORT
  export vpn
  import vpn

And the route-map it matches the prefixes you need to set specific extcommunity, like 65001:1000. On the other router you import only 65001:1000.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ton31337
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant