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

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 192.168.192.0 255.255.248.0

BGP routing table entry for 192.168.192.0/21, version 50

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

Advertised to non peer-group peers:

192.168.1.237 192.168.1.250

100, (aggregated by 100 172.16.0.21)

192.168.1.254 from 192.168.1.254 (172.16.0.21)

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

100, (aggregated by 100 192.168.50.254)

192.168.1.245 (inaccessible) from 192.168.1.237 (192.168.255.253)

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

Thanks a lot for your help!

2 REPLIES

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.

82
Views
0
Helpful
2
Replies
CreatePlease login to create content