wouldn't it be that you are permitting the even routes and tagging them with
no advertise and then you have and implied deny after that in your
route-map? at what point do you let the odd routes out?
-- Garry L. Baker "There is no 'patch' for stupidity." - www.sqlsecurity.com On Sun, Aug 15, 2010 at 6:27 PM, Vibeesh S <vibselva_at_gmail.com> wrote: > Hi, > > I have a setup with SW --- R1 --- R2 > > Initially SW is advertising the follwoing to R1 > > R1#show ip bgp > *> 9.9.1.0/24 112.10.112.1 0 0 100 i > *> 9.9.2.0/24 112.10.112.1 0 0 100 i > *> 9.9.3.0/24 112.10.112.1 0 0 100 i > *> 9.9.4.0/24 112.10.112.1 0 0 100 i > *> 9.9.5.0/24 112.10.112.1 0 0 100 i > > now we need only routes with odd number is 3rd octet to be propagated to R2 > without configuring R1(meaning configure in sw) > > I configured: > access-list 1 permit 0.0.0.0 255.255.254.255 > route-map BGP permit 10 > match ip address 1 > set community no-advertise > neighbor 112.10.101.1 send-community > neighbor 112.10.101.1 route-map BGP out > > I get > > R1#sh ip bgp > Network Next Hop Metric LocPrf Weight Path > *> 9.9.2.0/24 112.10.112.1 0 0 100 i > *> 9.9.4.0/24 112.10.112.1 0 0 100 i > > In R2 > R2#sh ip route bgp > > R2# > > What is wrong ? Even the answer key looks similar excep for the last octet > mask in the access list even wen modified does gives the same output. Why > are we not seein te routes in R1 > what am i missing > Eventually it I got to work by adding the follwing config on SW > > access-list 2 permit 0.0.1.0 255.255.254.255 > route-map BGP permit 5 > match ip address 2 > > > R2#sh ip bgp > Network Next Hop Metric LocPrf Weight Path > *> 9.9.1.0/24 112.10.101.1 0 1000 100 i > *> 9.9.3.0/24 112.10.101.1 0 1000 100 i > *> 9.9.5.0/24 112.10.101.1 0 1000 100 i > R2# > > > > Thanks, > Vibs > > > 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.netReceived on Sun Aug 15 2010 - 19:58:42 ART
This archive was generated by hypermail 2.2.0 : Wed Sep 01 2010 - 11:20:52 ART