Re: strange bgp table

From: cao lingwei (caolw@xxxxxxxxxxxx)
Date: Sun Jun 10 2001 - 06:22:04 GMT-3


   
perhaps,
   In bgp route select decision,
   the local_pref is prefer than as_path
   local_pre default is 100,but i find some routes
 local_pre is 0,so local_pre=0 is prefered.

best regards
Cao Ling Wei

----- Original Message -----
From: "Cheong Kok Yong" <kycheong@aeradio.com.sg>
To: "Ccielab (E-mail)" <ccielab@groupstudy.com>
Sent: Sunday, June 10, 2001 4:53 PM
Subject: strange bgp table

> hi,
>
> when I'm trying to manipulate the routing decision using as-path prepend, 1
> (r8) of the 2 routers in the same AS reflect correctly the route preferred,
> while the following one (r7) have strange result, which he won't prefer the
> shortest as-path ???
>
> am I doing the correct things ?
>
> any clues ?
>
> r7# sh ip bgp
> BGP table version is 17, local router ID is 150.100.1.253
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
> internal
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> *> 133.1.1.0/24 150.100.1.1 0 0 1 i
> *> 133.1.2.0/24 150.100.1.1 2297856 0 1 i
> *> 133.1.3.0/24 150.100.1.1 2425856 0 1 i
> * i133.1.4.0/24 150.100.2.1 0 100 0 1 i
> *> 150.100.1.1 0 1 1 i
> * i133.1.5.0/24 150.100.2.1 8976 100 0 1 i
> *> 150.100.1.1 0 1 1 i
> * i133.1.6.0/24 150.100.2.1 9476 100 0 1 i
> *> 150.100.1.1 0 1 1 i
> *> 133.1.21.0/24 150.100.1.1 0 0 1 i
> *> 133.1.22.0/27 150.100.1.1 2185984 0 1 i
> *> 133.1.30.0/25 150.100.1.1 2195456 0 1 i
> * i133.1.40.0/24 150.100.2.1 0 100 0 1 i
> *> 150.100.1.1 0 1 1 i
> * i133.1.50.0/24 150.100.2.1 8576 100 0 1 i
> *> 150.100.1.1 0 1 1 i
> * i133.1.56.0/24 150.100.2.1 10476 100 0 1 i
> *> 150.100.1.1 0 1 1 i
> Network Next Hop Metric LocPrf Weight Path
> * i133.1.60.0/24 150.100.2.1 9476 100 0 1 i
> *> 150.100.1.1 0 1 1 i
> * i133.1.100.0/24 150.100.2.1 0 100 0 1 i
> *> 150.100.1.1 0 1 1 i
> *> 133.1.200.0/24 150.100.1.1 0 1 i
> * i200.200.200.0 150.100.2.1 9476 100 0 1 i
> *> 150.100.1.1 0 1 1 i
> r7#
>
> r8#sh ip bgp
> BGP table version is 24, local router ID is 150.100.2.254
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
> internal
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> *>i133.1.1.0/24 150.100.1.1 0 100 0 1 i
> * 150.100.2.1 0 1 1 i
> *>i133.1.2.0/24 150.100.1.1 2297856 100 0 1 i
> * 150.100.2.1 0 1 1 i
> *>i133.1.3.0/24 150.100.1.1 2425856 100 0 1 i
> * 150.100.2.1 0 1 1 i
> * i133.1.4.0/24 150.100.1.1 100 0 1 1 i
> *> 150.100.2.1 0 0 1 i
> * i133.1.5.0/24 150.100.1.1 100 0 1 1 i
> *> 150.100.2.1 8976 0 1 i
> * i133.1.6.0/24 150.100.1.1 100 0 1 1 i
> *> 150.100.2.1 9476 0 1 i
> *>i133.1.21.0/24 150.100.1.1 0 100 0 1 i
> * 150.100.2.1 0 1 1 i
> *>i133.1.22.0/27 150.100.1.1 2185984 100 0 1 i
> * 150.100.2.1 0 1 1 i
> *>i133.1.30.0/25 150.100.1.1 2195456 100 0 1 i
> * 150.100.2.1 0 1 1 i
> Network Next Hop Metric LocPrf Weight Path
> * i133.1.40.0/24 150.100.1.1 100 0 1 1 i
> *> 150.100.2.1 0 0 1 i
> * i133.1.50.0/24 150.100.1.1 100 0 1 1 i
> *> 150.100.2.1 8576 0 1 i
> * i133.1.56.0/24 150.100.1.1 100 0 1 1 i
> *> 150.100.2.1 10476 0 1 i
> * i133.1.60.0/24 150.100.1.1 100 0 1 1 i
> *> 150.100.2.1 9476 0 1 i
> * i133.1.100.0/24 150.100.1.1 100 0 1 1 i
> *> 150.100.2.1 0 0 1 i
> *>i133.1.200.0/24 150.100.1.1 0 100 0 1 i
> * 150.100.2.1 9476 0 1 i
> * i200.200.200.0 150.100.1.1 100 0 1 1 i
> *> 150.100.2.1 9476 0 1 i
> r8#
> **Please read:http://www.groupstudy.com/list/posting.html
**Please read:http://www.groupstudy.com/list/posting.html



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:31:21 GMT-3