cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3855
Views
10
Helpful
15
Replies

OSPF to prefer "O IA E1" route over "O E1" route

gavin han
Level 1
Level 1

 I need help with route preference in OSPF (traffic engineering). 10.10.10.0/24 is redistributed into OSPF on R1 as E1 route. R4 is learning this route as "O E1" (intra-area E1) with cost 51 from R2 and it is also learning this route from R3 as "O IA E1" (inter-area E1) with cost 21 and  it is  preferring this route that was learned from R2. I want R2 to prefer route learned from R3. how to achieve this? I applied ip policy route-map on R4's R2 facing interface to change ospf metric type to type-2 but metric type didn't change. how can i fix this so that R4 prefers route learned from R3?

 

 

 ospf.jpg

15 Replies 15

jmperlewitz
Level 1
Level 1

I put this scenario in the lab and R4 prefers R3 to get to R1.  Assuming both R3 and R4 are ABR routers, then R4 only knows how to get to 10.10.10.0/24 from the Type 4 Summary ASBR which is pointing to R3.

Review Cisco Networking for a $25 gift card