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

Attention: The Cisco Support Community site will be in read only mode on Dec14, 2017 from 12:01am PST to 11:30am for standard maintenance. Sorry for the inconvenience.

New Member

Learn route via ospf rather than ebgp

Hi all,

It is strange that I don't know why the 26 router will learn below network via ospf

method, I think it should be learned via 17A ebgp Router (192.168.1.2). Anyone know

what happen on it ? Thank you

O E2 202.122.65.192 [110/1] via 10.1.1.3, 00:12:15, Ethernet0/1

O E2 202.122.65.128 [110/1] via 10.1.1.3, 00:12:15, Ethernet0/1

O E2 202.122.65.64 [110/1] via 10.1.1.3, 00:12:15, Ethernet0/1

O E2 202.122.65.0 [110/1] via 10.1.1.3, 00:12:15, Ethernet0/1

O E2 172.20.1.0 [110/1] via 10.1.1.3, 00:12:15, Ethernet0/1

O E2 172.20.1.4 [110/1] via 10.1.1.3, 00:12:16, Ethernet0/1

O E2 192.168.170.192 [110/1] via 10.1.1.3, 00:12:21, Ethernet0/1

O E2 192.168.170.128 [110/1] via 10.1.1.3, 00:12:21, Ethernet0/1

O E2 192.168.170.64 [110/1] via 10.1.1.3, 00:12:16, Ethernet0/1

O E2 192.168.170.0 [110/1] via 10.1.1.3, 00:12:16, Ethernet0

O E2 192.168.169.192 [110/1] via 10.1.1.3, 00:12:15, Ethernet0/1

O E2 192.168.169.128 [110/1] via 10.1.1.3, 00:12:15, Ethernet0/1

O E2 192.168.169.64 [110/1] via 10.1.1.3, 00:12:15, Ethernet0/1

O E2 192.168.169.0 [110/1] via 10.1.1.3, 00:12:16, Ethernet0/1

3 REPLIES
Hall of Fame Super Bronze

Re: Learn route via ospf rather than ebgp

Please take a moment and memorize the "BGP Best Path Algorithm" :)

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094431.shtml

What does step 2 says?

What did you do on router 36 that alter a default BGP configuration?

Did you see the BGP routes in show ip bgp on router 26 have RIB failure?

What conditions cause a RIB Failure?

Did you also see what router is selected as the best route on that table?

The best route is eBGP or iBGP?

What's the AD for iBGP?

I'm sure, you will get your answer after drilling these questions, fun? :)

___

Edison.

New Member

Re: Learn route via ospf rather than ebgp

As previously mentioned rtr26 and 36 are the exit points for 16a in the same AS (IBGP), The Local Pref attribute is used by IBGP peers to set a preferred exit point out of an AS. The way it works is the router with the highest local pref winds and therefore becomes the preffered route.So basically if you set the local pref to higher value at rtr26 it becaomes the preffered path

Try this show ip route 202.122.65.0 and check out the routing output

Bronze

Re: Learn route via ospf rather than ebgp

Also when you have multiple redistribution like you do, make sure you watch your administrative distances. This would also be a cause of suboptimal routing in a situation like this without a mechanism to block routing updates

84
Views
5
Helpful
3
Replies
CreatePlease to create content