Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

OSPF -administrative distance Manipulation

Hello,

Guys i need help here. Your input will be greatly apprecaited.

I have 4 router's

I will explain what the problem is Router # A connects with Router # B using IBGP. Router # A also has a OSPF connection to Router # B through Router C and then Router D.

I have customers sitting on the OSPF network and also on the BGP network. I want to manipulate the OSPF administrative distance so that routes should go only through IBGP connection.

Let's say i want to access 10.10.10.1/24 from Router # B. I want Router # B to access this network through Router # A through IBGP connection. But what's happening due to OSPF low administrative distance. I am learning this network on Router # B through Router # C, D and then A ( which is ospf path). Only Router # A and B are connected through IBGP path.

Also i have got route-maps to redistribute the BGP to OSPF. Is there any thing i can use so OSPF path is not preferred and IBGP path is preferred using Route-maps.

Sorry, for a long story...Spend all night trying to implement this stupid change.

1 REPLY
Hall of Fame Super Gold

Re: OSPF -administrative distance Manipulation

Syed

I would suggest that instead of looking for ways to manipulate the Administrative Distance that you consider implementing Policy Based Routing to solve your requirements.

PBR does depend on configuration of route maps to implement the logic that will forward the traffic. It seems to me that you could configure route maps which would identify traffic for that customer and send their traffic over the OSPF links (though you would probably identify the next hop address rather than specifying type of route information).

HTH

Rick

643
Views
0
Helpful
1
Replies
CreatePlease to create content