Re: Conditional Advertise

From: S Malik <ccie.09_at_gmail.com>
Date: Sat, 29 Aug 2009 10:12:55 -0400

Scott,
Can we use Logical AND with conditional advertisement?

On Sat, Aug 29, 2009 at 9:23 AM, Scott Morris <smorris_at_ine.com> wrote:

> Multiple matches in an ACL or Prefix List are OR matches.
>
> Multiple route-map stanza are OR matches.
>
> If you have multiple matches in the same stanza, that would be an AND
> logic. So I'd make multiple prefix lists and do mutiple matches in the
> same route-map statement.
>
> HTH,
>
>
>
>
> *Scott Morris*, CCIE/x4/ (R&S/ISP-Dial/Security/Service Provider) #4713,
>
> JNCIE-M #153, JNCIS-ER, CISSP, et al.
>
> JNCI-M, JNCI-ER
>
> evil_at_ine.com
>
>
> Internetwork Expert, Inc.
>
> http://www.InternetworkExpert.com <http://www.internetworkexpert.com/>
>
> Toll Free: 877-224-8987
>
> Outside US: 775-826-4344
>
>
> Knowledge is power.
>
> Power corrupts.
>
> Study hard and be Eeeeviiiil......
>
>
>
>
>
> Ahmed Ejaz wrote:
> > Try this:
> >
> > ip prefix-list TRACK permit 10.1.1.0/24
> > ip prefix-list TRACK permit 20.2.2.2/32
> > ip prefix-list ADVER permit 192.168.10.0/24
> >
> > route-map ADVERTISE permit 10
> > match ip address prefix ADVER
> >
> > route-map EXIST permit 10
> > match ip address prefix TRACK
> >
> > router bgp xyz
> > advertise-map ADVERTISE exist-map EXIST
> >
> > HTH
> >
> > Ahmed
> >
> > On Sat, Aug 29, 2009 at 10:57 AM, Sagar Rane <sagar.ccie_at_gmail.com>
> wrote:
> >
> >
> >> Hi All,
> >>
> >> I have requirement where, bgp should check its bgp routing table for two
> >> routes eq (10.1.1.0/24 and 20.2.2.2/32) and only if both routes are
> >> present,
> >> it should originate a route advertisement of 192.168.10.0/24.
> >>
> >> I have tried advertise-map and exist map, but how can we used exist-map
> to
> >> check both the routes at the same time?
> >>
> >> Anyway how we can meet this requirement please let me know.
> >>
> >> Regards,
> >> Sagar
> >>
> >>
> >> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Sat Aug 29 2009 - 10:12:55 ART

This archive was generated by hypermail 2.2.0 : Tue Sep 01 2009 - 05:43:57 ART