cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
496
Views
0
Helpful
2
Replies

VRF to VRF route sharing

vasialexandru43
Level 1
Level 1

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 ?

1 Accepted Solution

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

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,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

2 Replies 2

Harold Ritter
Cisco Employee
Cisco Employee

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,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

M02@rt37
VIP
VIP

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

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.