From: Mujeeb Sarwar (mujeebsarwar@gmail.com)
Date: Thu Dec 25 2008 - 05:52:06 ARST
Hi Krishnan,
I labbed it up and found that Advertise-map is working with host mask but
the route which you are tracking in non-exist map is not matching using host
mask. If I change the mask of 20.0.0.0 to /30 then conditional advertisment
is working fine. Can anyone explain this behavior ?
Regards,
Mujeeb
On Thu, Dec 25, 2008 at 8:46 AM, Jason Madsen <madsen.jason@gmail.com>wrote:
> remember with BGP routes / masks have to be dead on. your access-list
> masks
> don't appear to match your route masks.
>
> Jason
>
> On Wed, Dec 24, 2008 at 9:36 PM, BALAKRISHNAN Balaji <
> Balaji.BALAKRISHNAN@swift.com> wrote:
>
> > All,
> >
> > I have some difficulty In implementing bgp conditional statement. I am
> > trying to announce 30.0.0.0/32 route only when 20.0.0.0/32 is not
> > present in the routing table. But it does not work. I see 20.0.0.0/32
> > in the routing table but still it announces the route 30.0.0.0/32. What
> > is the reason for this ?? don't the route 20.0.0.0/32 consider as valid
> > tracking route ?? I do have ip classless and ip subnet-zero configured.
> >
> >
> > Her is the show command output
> >
> >
> > DCWRSS1#sh ip route 20.0.0.0
> > Routing entry for 20.0.0.0/32, 6 known subnets
> >
> > B 20.0.2.6 [20/0] via 192.168.176.68, 4d05h
> > B 20.0.3.6 [20/0] via 192.168.176.68, 1w1d
> > B 20.0.0.6 [20/0] via 192.168.176.68, 4d05h
> > B 20.0.1.6 [20/0] via 192.168.176.68, 2w4d
> > B 20.0.1.1 [20/0] via 192.168.176.6, 4d06h
> > B 20.0.0.0 [20/0] via 192.168.176.6, 2w4d
> >
> > DCWRSS1#sh ip bgp nei 192.168.176.68 advertised-routes
> > BGP table version is 15192187, local router ID is 192.168.183.11
> > 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
> > *> 30.0.0.0/32 0.0.0.0 0 32768 i
> >
> >
> > DCWRSS1#sh route-map ADVERTISE_LON
> > route-map ADVERTISE_LON, permit, sequence 10
> > Match clauses:
> > ip address (access-lists): 50
> > Set clauses:
> > Policy routing matches: 0 packets, 0 bytes
> >
> > DCWRSS1#sh route-map NON-EXIST_LON
> > route-map NON-EXIST_LON, permit, sequence 10
> > Match clauses:
> > ip address (access-lists): 30
> > Set clauses:
> > Policy routing matches: 0 packets, 0 bytes
> >
> > DCWRSS1#sh access-lists 50
> > Standard IP access list 50
> > permit 30.0.0.0 (6 matches) check=70
> >
> > DCWRSS1#sh access-lists 30
> > Standard IP access list 30
> > permit 20.0.0.0
> >
> >
> > 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
>
> _______________________________________________________________________
> 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 : Thu Jan 01 2009 - 12:53:09 ARST