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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

BGP Path Selection

hi!Dear all

I have a BGP router learned a route through two way:one through eBGP,one through iBGP.For I preferred the iBGP path so I use route-map to set the eBGP route's origin to incomplete(the ORIGIN attribute has a higher priority in the decision process than IBGP/EBGP),but when I "show ip bgp",the router still preferred the incomplete route.What's reason?

Sugarbush#sh ip bgp

BGP routing table entry for, version 50

Paths: (2 available, best #1, table Default-IP-Routing-Table)

Advertised to non peer-group peers:

100, (aggregated by 100 from (

Origin incomplete, metric 0, localpref 100, valid, external, atomic-aggregate, best

100, (aggregated by 100 (inaccessible) from (

Origin IGP, metric 0, localpref 100, valid, internal, atomic-aggregate

Thanks a lot for your help!


Re: BGP Path Selection

Ebgp has an administrative distance of 20 Ibgp has an admin distance of 200. The Ebgp path will be preferred.

New Member

Re: BGP Path Selection

Sorry,I found the problem.For not set the "next-hop-self" in the iBGP Peer,so the route learned from iBGP Peer's next hop is inaccessible.

Thanks for your help!

BTW:I found some configration code in "TCP/IP Volumn II"(by jeff dolyer) is not so integrated.

CreatePlease login to create content