Re: bgp community match, but no attribute set?

From: Daniel Valle (danielfrvalle@gmail.com)
Date: Tue Mar 18 2008 - 20:17:45 ART


I didn't have time to check carefully, But I would do two tests. 1st. remove
"route-map COMMIN permit 20"... after that your routes should still be
there... if it's not, something is wrong with your configs. 2nd (not so sure
about this one) set the send-community also in the neighbor command.. I know
it's strange, but I never saw before community filtering without
the sendd-community on both ends.

I'll lab this up and I'll let you know,

Daniel

On 3/15/08, E Toohs <mr_fantasy_1978@yahoo.com> wrote:
>
> WHY ISNT THE LOCAL PREFERENCE BEING SET ON THESE ROUTES?
>
> 5.6.6.6 has community 0:566 coming in
> 5.7.7.7 has community 0:577 coming in
> community list 101 matches on .*:5..
> show ip bgp community-list 101 confirms this
> however route-map COMMIN does not seem to apply the LOCAL-PREF
>
> router bgp 64600
> bgp log-neighbor-changes
> bgp dampening
> network 172.12.35.0
> neighbor 172.12.36.3 remote-as 65300
> neighbor 172.12.36.3 route-map COMMIN in
> neighbor 172.12.36.3 maximum-prefix 8 50 warning-only
> !
> ip bgp-community new-format
> ip community-list 101 permit .*:5..
> !
> route-map COMMIN permit 10
> match community 101
> set local-preference 500
> !
> route-map COMMIN permit 20
> !
>
> R6#show ip bgp community-list 101
>
> BGP table version is 28, local router ID is 172.12.36.6
> 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
> *> 5.6.6.6/32 172.12.36.3 0 65300 65500 i
> *> 5.7.7.7/32 172.12.36.3 0 65300 65500 i
>
> R6#show ip bgp 5.6.6.6
>
> BGP routing table entry for 5.6.6.6/32, version 6
> Paths: (1 available, best #1, table Default-IP-Routing-Table)
> Not advertised to any peer
> 65300 65500
> 172.12.36.3 from 172.12.36.3 (3.3.3.3)
> Origin IGP, localpref 100, valid, external, best
> Community: 0:566
>
> R6#show ip bgp 5.7.7.7
>
> BGP routing table entry for 5.7.7.7/32, version 7
> Paths: (1 available, best #1, table Default-IP-Routing-Table)
> Not advertised to any peer
> 65300 65500
> 172.12.36.3 from 172.12.36.3 (3.3.3.3)
> Origin IGP, localpref 100, valid, external, best
> Community: 0:577
>
>
> The communities in routes 5.6.6.6 and 5.7.7.7 match list 101, but the
> Local Pref is not set? Anybody see why?
>
> Thanks,
> E
>
>
> ---------------------------------
> Looking for last minute shopping deals? Find them fast with Yahoo!
> Search.
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Tue Apr 01 2008 - 07:53:53 ART