09-17-2023 08:51 AM
Hello all I have the following config on PE1:
vrf definition C1-BCR
rd 188.62.59.1:100
route-target export 8707:200
route-target import 8707:300
!
address-family ipv4
exit-address-family
vrf definition C2-FCA
rd 178.172.253.30:1
route-target export 8707:200
route-target import 8707:300
!
address-family ipv4
exit-address-family
vrf forwarding C1-BCR
vrf forwarding C2-FCA
address-family ipv4 vrf C1-BCR
redistribute connected
neighbor 188.62.59.2 remote-as 34543
neighbor 188.62.59.2 activate
address-family ipv4 vrf C2-FCA
redistribute connected
neighbor 178.172.253.30 remote-as 1787
neighbor 178.172.253.30 activate
I want to leak the route from vrf C1-BCR into C2-FCA and vice versa how can I do that ?
Solved! Go to Solution.
09-17-2023 08:59 AM
Hi @vasialexandru43 ,
Just make sure that vrf C1-BCR import the route target exported by vrf C2-FCA and vice versa, as follow:
vrf definition C1-BCR
rd 188.62.59.1:100
route-target export 8707:200
route-target import 8707:200
route-target import 8707:300
!
vrf definition C2-FCA
rd 178.172.253.30:1
route-target export 8707:200
route-target import 8707:200
route-target import 8707:300
!
Regards,
09-17-2023 08:59 AM
Hi @vasialexandru43 ,
Just make sure that vrf C1-BCR import the route target exported by vrf C2-FCA and vice versa, as follow:
vrf definition C1-BCR
rd 188.62.59.1:100
route-target export 8707:200
route-target import 8707:200
route-target import 8707:300
!
vrf definition C2-FCA
rd 178.172.253.30:1
route-target export 8707:200
route-target import 8707:200
route-target import 8707:300
!
Regards,
09-17-2023 08:59 AM - edited 09-17-2023 08:59 AM
Hello @vasialexandru43,
On vrf definition C1-BCR import C2-FCA RT and vice versa.
But I see something strange on your configuration ; it should be that:
vrf definition C1-BCR
rd 188.62.59.1:100
route-target export 8707:200
route-target import 8707:200
!
address-family ipv4
exit-address-family
vrf definition C2-FCA
rd 178.172.253.30:1
route-target export 8707:300
route-target import 8707:300
!
address-family ipv4
exit-address-family
Then like I said, import RT ; you should have that:
vrf definition C1-BCR
rd 188.62.59.1:100
route-target export 8707:200
route-target import 8707:200
route-target import 8707:300
!
address-family ipv4
exit-address-family
vrf definition C2-FCA
rd 178.172.253.30:1
route-target export 8707:300
route-target import 8707:300
route-target import 8707:200
!
address-family ipv4
exit-address-family
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide