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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Redistribute BGP Into OSPF

Here is what I want to do. I want to be able to redistribute all BGP routes into OSPF but give some routes a higher metric so that those routes will still route over OSPF unless there is an outage on the OSPF link. Then those routes will take the BGP path. I have several branch sites just on MPLS running BGP and several branch sites just on a layer 2 connection running OSPF. 

I have hub sites that run both connections but right now those hub sites send everything over the OSPF link and if the traffic needs to go out over the MPLS cloud our Core site handle the traffic without going out the MPLS link we have also at the hub site. So I want to be able to list out the BGP networks at the hub sites so that instead of the traffic going to the Core it will route out the direct MPLS link. I see sites on MPLS come directly into the hub site over the MPLS link so I am sure we have async routing taking place.

Everyone's tags (4)
5 REPLIES
Bronze

Redistribute BGP Into OSPF

Here's a previous post on this, that may help with your costing of particular routes during the redistribution:

https://supportforums.cisco.com/docs/DOC-18319

HTH!

-Chris

New Member

Redistribute BGP Into OSPF

This is close but all my sites are eEbgp and not Ibgp. I would assume that this would work also for Ebgp but is there a easier way? I have about 100 MPLS sites and if I create a access-list for all of those sites that would be a pretty long list since I would have to include all the networks at those sites.

Bronze

Redistribute BGP Into OSPF

IBGP, EBGP, makes no difference.

Perhaps a diagram and/or a snippet of a sanitized configuration might be prudent, so we can craft a more informed response?

New Member

Redistribute BGP Into OSPF

1)

I want to be able to redistribute all BGP routes into OSPF but give some routes a higher metric so that those routes will still route over OSPF unless there is an outage on the OSPF link...

A: 2 ways to do this: prefix-list>>>mapped to route-maps>>> with setting higher metrics for BGP routes

    or: ACLs matching for all routes then PBR.

!

Can you post a diagram and generic conifg..that might give us better idea of what you want to do?

Thx.

New Member

Redistribute BGP Into OSPF

I will put something together and send it out. Thank you all so far for your response.

1357
Views
0
Helpful
5
Replies