cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
876
Views
0
Helpful
4
Replies

Import route from OSPF at global to EIGRP to vrfs

Andrey Avdeev
Level 1
Level 1

Hi!

Please i need help:

i have a problem with redistr. routes between global route table and 2 VRFS. 

In global: 

router ospf 1
network 10.2.11.0 0.0.0.255 area 1
network 172.30.0.100 0.0.0.1 area 1

vrfs:

ip vrf A
rd 2:2
route-target export 100:1
route-target import 200:1

ip vrf B
rd 1:1
route-target export 200:1
route-target import 100:1

route between them:

address-family ipv4 vrf B autonomous-system 1050
redistribute bgp 300 metric 1 10000 1 1 1

address-family ipv4 vrf A autonomous-system 1050
redistribute bgp 300 metric 1 10000 1 1 1

router bgp 300
!
address-family ipv4 vrf A
redistribute eigrp 1050
exit-address-family
!
address-family ipv4 vrf B
redistribute eigrp 1050
exit-address-family

Now question: I need to make access from vrf A  and B to some host , for example 10.2.11.13  from global routing table.

Can you tell me what is the best practice to do it?

Thank you!

P.S. 

My solution:

I need to make "import map"  for each vrfs

 access-list 10 permit 10.2.11.13 255.255.255.0

route-map OSPF-EIGRP 10 

match ip add 10

ip vrf A

import ipv4 unicast map OSPF-EIGRP 

But it do not work. 

I also think about redisribution from ospf to BGP with filter route-map OSPF-EIGRP and in this case route to 10.2.11.13 is in routing table of vrf A and B , but host is unable to ping . 

4 Replies 4

Andrey Avdeev
Level 1
Level 1

Solved!

Андрей, добрый день.

Как решили проблему, не поделитесь?

Никита, доброго дня.

Все оказалось просто:

добавил в нужный  vrf статический маршрут до хоста .

Исходил из того, что если делать редистрибьют - придется писать много всего - route-map , ACL и т.д. Решение которое представлено здесь , а именно  "import map" - не работает.

Добрый день, Андрей.

Спасибо за ваш ответ. Всего доброго!

Review Cisco Networking products for a $25 gift card