cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
496
Views
10
Helpful
3
Replies

BGP confederation lab question

CSCO10892433
Level 4
Level 4

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

Harold Ritter
Cisco Employee
Cisco Employee

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

View solution in original post

3 Replies 3

Harold Ritter
Cisco Employee
Cisco Employee

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

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

"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
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco