cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
268
Views
10
Helpful
4
Replies
Contributor

ospf redistribution E1 / E2

Hi All

A quick question, If I redistribute from 2 different routers, 1 route as E2 with the default metric of 20, and then on the other router a E1 with a metric of 20, and the router that's connected to them both sees the preferred route as the E1 route with a metric of 21, is this normal behaviour? does OSPF always prefer E1 over E2 no matter even if its a higher metric ?

cheers

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Rising star

Re: ospf redistribution E1 / E2

Hello,

If 2 external type 2 routes exist with the same metric to the same destination the route with the lowest metric to the ASBRwill be used. Also if an E1 and E2 route exist to the same destination the E1 route will always be preferred irrespective of the metric.

Please, Mark as solved and helpful all post that was help you.
Jaderson Pessoa
*** Rate All Helpful Responses ***
4 REPLIES 4
Highlighted
Beginner

Re: ospf redistribution E1 / E2

Yes, route type always have high preference than metric.
Rising star

Re: ospf redistribution E1 / E2

Hello,

If 2 external type 2 routes exist with the same metric to the same destination the route with the lowest metric to the ASBRwill be used. Also if an E1 and E2 route exist to the same destination the E1 route will always be preferred irrespective of the metric.

Please, Mark as solved and helpful all post that was help you.
Jaderson Pessoa
*** Rate All Helpful Responses ***
VIP Advisor

Re: ospf redistribution E1 / E2

Hello

 


@carl_townshend wrote:

Hi All

A quick question, If I redistribute from 2 different routers, 1 route as E2 with the default metric of 20, and then on the other router a E1 with a metric of 20, and the router that's connected to them both sees the preferred route as the E1 route with a metric of 21, is this normal behaviour? does OSPF always prefer E1 over E2 no matter even if its a higher metric ?

cheers


Yes it is as then cost will be irrelevant ospf path selection take precedence
(note the ospf path selection changes on ios 15.1 + releases)


pre 15.1 ios release

Intra-Area (O)
Inter-Area (O IA)
External Type 1 (E1)
External Type 2 (E2)
NSSA Type 1 (N1)
NSSA Type 2 (N2)



post 15.1 ios release

Intra-Area (O)
Inter-Area (O IA)
External Type 1 (E1) or NSSA Type 1 (N1)
External Type 2 (E2) or NSSA Type 2 (N2)



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
VIP Engager

Re: ospf redistribution E1 / E2

Hi,
Thanks this is good information but share some technical details, why the Cisco has changed?

Regards,
Deepak Kumar
Regards,
Deepak Kumar,
Resume duty after a long holiday
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards