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

Route learn from ebgp and ibgp

When a router learn the same route from ospf and eigrp,

eigrp will be prefer.

How about if the route learn from ebgp and ibgp.

is it this time compare by bgp attribute? not AD 20 and 200

1 REPLY
Hall of Fame Super Silver

Re: Route learn from ebgp and ibgp

Hello Jack,

the answer is yes the two BGP paths are first compared in the separate BGP tables so there is a lot of methods to influence the best path choice.

After BGP choices its own best path that path with its AD is compared to any other entry coming from other routing protocols the best is installed in the routing table

So if you have an eBGP path an iBGP path and an OSPF path for the same prefix.

If you make the iBGP path preferred over the eBGP path (using weight, local-preference ..) the end result should be to see the OSPF route installed in the routing table (AD 110 < AD 200)

Hope to help

Giuseppe

140
Views
0
Helpful
1
Replies
CreatePlease to create content