From: E Toohs (mr_fantasy_1978@yahoo.com)
Date: Sat Mar 15 2008 - 02:20:34 ARST
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.
This archive was generated by hypermail 2.1.4 : Tue Apr 01 2008 - 07:53:53 ART