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

Route Leaking Between Different VRFs on different PE's

p.danielsen
Level 1
Level 1

Hi ..

I have tre different VRFs VRF-A, VRF-B and VRF-C, VRF-C is my management VRF, I need to attach a export map on VRF-A and VRF-B, so I can control witch networks will be leaked over in my management VRF-C ..

My Setup I build on 4 PE's, connected together link this

|---PE1--------PE2---|

| |

|---PE3--------PE4---|

VRF-A is connect to PE1 and PE2

VRF-B is connect to PE2 and PE3

VRF-C is connect to PE3 and PE4

ip vrf VRF-A

rd 1:1

route-target export 1:1

route-target import 1:1

route-target import 1:3 -- Add to see management ip addresses from VRF-C

ip vrf VRF-B

rd 1:2

route-target export 1:2

route-target import 1:2

route-target import 1:3 -- Add to see management ip addresses from VRF-C

ip vrf VRF-C

rd 1:3

route-target export 1:3

route-target import 1:3

If I add route-target import 1:1/route-target import 1:2, I'll se the routes, but becurse of overlapping ip adresses in each VRF, I only want to se part of the annonced networks.

In VRF-C I need to filter out routes fra VRF-A and VRF-B, so I only see the routes that I want, ant not the hole routing tabel from the VRF's,

I can't find any solution, Import map "route-map" will not solve my problem, I have tried that ..

Any ider ??,

./-Peter

2 Replies 2

Harold Ritter
Cisco Employee
Cisco Employee

Can you tell me why import and/or export map cannot help you here.

Thanks,

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

Export map works particular,

If the export map I attach to the VRF on PE1 I kan only see direct connecet interface's and not route's annonunced into the VRF for a CE route..

Route Show in VRF-B

10.0.0.0/8 is variably subnetted, 5 subnets, 4 masks

B 10.9.133.128/25 [200/0] via 10.50.59.9, 00:06:46

B 10.9.133.36/30 [200/0] via 10.50.59.8, 00:06:46

B 10.9.133.32/30 [200/0] via 10.50.59.9, 00:06:46

B 10.9.133.40/29 [200/0] via 10.50.59.9, 00:06:46

C 10.9.133.49/32 is directly connected, Loopback10

Routes show in Management VRF.

10.0.0.0/30 is subnetted, 1 subnets

B 10.9.133.49 is directly connected, 00:00:27, Loopback10

Access-list / Route map

route-map VRF-B permit 10

match ip address 16

set extcommunity rt 1:3 additive

!

access-list 16 permit 10.9.133.49

access-list 16 permit 10.9.133.128 0.0.0.127

access-list 16 permit 10.9.133.32 0.0.0.3

Any ider