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.

BGP confederation lab question

Hi, forum

This senario comes form Routing TCP/IP volume 2, page 298.

When I finished configuring all 8 routers, I have the following output form the router named Whitetooth:

r6#sh ip bgp 10.35.5.0

BGP routing table entry for 10.35.5.0/24, version 14

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

Advertised to non peer-group peers:

10.35.255.1

(65000 65534)

10.35.255.1 (metric 782) from 10.35.255.1 (10.35.255.1)

Origin IGP, metric 0, localpref 100, valid, confed-external

(65000 65534)

10.34.255.2 (metric 782) from 10.34.255.2 (10.34.255.2)

Origin IGP, metric 0, localpref 100, valid, confed-internal, best

r6#

My question is: why confed-internal route is selected as the best rather than the confed-external one? On page 115 of the same book, the No. 7 of path selection criterion states that:

...,prefer EBGP routes over confederation EBGP routes, and prefer confederation EBGP routes over IBGP routes.

which is conflicting with my lab result.

Any idea? Thanks

SSLIN

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: BGP confederation lab question

SSLIN,

there is no distinction between a confederation internal and external path (step 7 in the included URL). The second path is selected based on the fact that it has the lowest RID of both path.

Please refer to the following URL for more details on the BGP Best Path Selction process.

http://www.cisco.com/warp/customer/459/25.shtml

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
3 REPLIES
Cisco Employee

Re: BGP confederation lab question

SSLIN,

there is no distinction between a confederation internal and external path (step 7 in the included URL). The second path is selected based on the fact that it has the lowest RID of both path.

Please refer to the following URL for more details on the BGP Best Path Selction process.

http://www.cisco.com/warp/customer/459/25.shtml

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Re: BGP confederation lab question

hi, harold

Thank you for helping me clarify this . I redo the lab ,change the router-id and the result is changed accordingly.

Now I'm clear at step 7 of path selection criteria and it is simply EBGP over IBGP. But how about Jeff Doyle's advocate in his famous book(EBGP over confed EBGP over IBGP)? Was it an old version of PSC but obslete now? Or it was simply wrong from the beginning? I also find that Sam Halabi has the same description in his another famous book.

Best Regards

SSLIN

Cisco Employee

Re: BGP confederation lab question

"EBGP over confed EBGP over IBGP"

I think it is a mistake as it wouldn't be possible to have a confederation configured on a router and to have an iBGP path (not confederation internal or external) on that same router.

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
158
Views
10
Helpful
3
Replies