Re: Silly BGP question

From: Rob Clav (robclav@gmail.com)
Date: Sat Nov 01 2008 - 13:44:52 ARST


Jason,
Bgp choose the best path for a prefix, so at you can see at the
output. At the preference that bgp has to select best path, one is
as-path.
The path towards router 6 is shorter from the as-path perspective.
Most prefered -->Next hop available Weight Local preference Local
injected As-path Origin MED Nei type Igp metric -->less prefered
By other hand, you are not showing the received prefixes, intead ot
them you are showing the prefered ones after best path selection.
BR,
Roberto Clavero

2008/10/31 Jason Morris <mcnever@gmail.com>:
> can anyone tell me why these prefixes aren't showing up multiple time, once
> for each path. it looks like when i'm learning them from the ebgp peer that
> i config in the output the prefixes aren't showing up in the table from the
> ibgp peer i'm learning them from as well. output is below, sorry if the
> question is to vague or doesn't make sence... not sure how else to ask it.
>
>
>
> R5(config-router)#do sho ip bgp
> BGP table version is 73, local router ID is 151.11.5.5
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
> internal,
> r RIB-failure, S Stale
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> *>i147.10.12.0/24 151.11.15.1 0 100 0 21 21 21 i
> *>i147.10.13.0/24 151.11.15.1 0 100 0 21 21 21 i
> *>i147.10.14.0/24 151.11.15.1 0 100 0 21 21 21 i
> *>i147.10.15.0/24 151.11.15.1 0 100 0 21 21 21 i
> *>i192.168.0.0 151.11.15.1 0 100 0 21 21 21 i
> *>i192.168.1.0 151.11.15.1 0 100 0 21 21 21 i
> *>i192.168.2.0 151.11.15.1 0 100 0 21 21 21 i
> *>i192.168.3.0 151.11.15.1 0 100 0 21 21 21 i
> R5(config-router)#neighbor 151.11.100.6 remote-as 67
> R5(config-router)#
> *Oct 31 03:16:43.990: %BGP-5-ADJCHANGE: neighbor 151.11.100.6 Up
> R5(config-router)#do sho ip bgp
> BGP table version is 81, local router ID is 151.11.5.5
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
> internal,
> r RIB-failure, S Stale
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> *> 147.10.12.0/24 151.11.100.6 0 67 21 i
> *> 147.10.13.0/24 151.11.100.6 0 67 21 i
> *> 147.10.14.0/24 151.11.100.6 0 67 21 i
> *> 147.10.15.0/24 151.11.100.6 0 67 21 i
> *> 192.168.0.0 151.11.100.6 0 67 21 i
> *> 192.168.1.0 151.11.100.6 0 67 21 i
> *> 192.168.2.0 151.11.100.6 0 67 21 i
> *> 192.168.3.0 151.11.100.6 0 67 21 i
> R5(config-router)#
>
> Jason
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Dec 01 2008 - 08:18:28 ARST