Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

mp-bgp leaking multiple equal cost routes from ospf

Hello,

I've the following config:

DC-CORE1-1.2.1#sh ip route vrf SERVICES 172.20.140.0

Routing entry for 172.20.140.0/24

  Known via "ospf 2", distance 110, metric 11, type intra area

  Redistributing via bgp 65001

  Advertised by bgp 65001 route-map SKIP_PEERING_NET

  Last update from 100.100.15.2 on FastEthernet1/11, 00:49:14 ago

  Routing Descriptor Blocks:

  * 100.100.18.2, from 1.3.2.2, 00:49:14 ago, via FastEthernet1/14

      Route metric is 11, traffic share count is 1

    100.100.15.2, from 1.3.1.2, 00:49:14 ago, via FastEthernet1/11

      Route metric is 11, traffic share count is 1

In vrf SERVICES there are 2 equal cost routes learned via ospf for the prefix 172.20.140/24.

In need to leak this prefix from vrf SERVICES and insert this prefix in another vrf named EXTRANET; I've configured mp bgp and the leaking is working, but what I need is to have both the equal cost routes on the vrf EXTRANET.

Actually, the process is importing only 1 route.

DC-CORE1-1.2.1#sh ip route vrf EXTRANET 172.20.140.0

Routing entry for 172.20.140.0/24

  Known via "bgp 65001", distance 20, metric 11, type external

  Last update from 100.100.15.2 on FastEthernet1/11, 00:23:04 ago

  Routing Descriptor Blocks:

  * 100.100.15.2 (SERVICES), from 0.0.0.0, 00:23:04 ago, via FastEthernet1/11

      Route metric is 11, traffic share count is 1

      AS Hops 0

That behavior could be fine if I had to redistribute via bgp that route but I don't have to do it; I instead have to use the vrf SERVICES for routing purposes, so I need both the routes for the prefix.

I think this behavior is because both the prefix have the same RD so in the vpnv4 tables they are the same route.

How could I do this?

Thank you.

Best Regards.

AM

Everyone's tags (3)
295
Views
0
Helpful
0
Replies
CreatePlease to create content