From: Benedict Munyao (bmunyao@gmail.com)
Date: Fri Oct 19 2007 - 16:09:22 ART
The first solution examined in this thread included using "neighbor
default-originate route-map" command. The Doccd clarifies why it only uses
the "or" logic when comparing the two ACLs:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hirp_r/rte_pih.htm#wp1123413
"Like matches in the same route map subblock are filtered with "or"
semantics. If any one match clause is matched in the entire route map
subblock, this match is treated as a successful match. Dissimilar match
clauses are filtered with "and" semantics. So dissimilar matches are
filtered logically. If the first set of conditions is not met, the second
match clause is filtered."
HTH
Benedict Munyao
On 10/19/07, Koen Zeilstra <koen@koenzeilstra.com> wrote:
>
> Balmik has email this nice solution to me which I would like to share
> with the group.
>
> Balmik, I hope you don't mind that I send this to the group.
>
> I have tested this on my lab and the results in various situations on
> different platforms
>
> Situation 1. It only checks line 10 of the route-map, and ignores the
> rest.
> Situation 2. It does a OR. So both routes have to dissapear to remove
> the default instead of one.
>
> From:
>
> http://www.cisco.com/en/US/products/ps6566/products_feature_guide09186a00801a7f7a.html#wp1038479
>
> I read that outbound BGP route-maps only are supported. I would say
> this is a outbound BGP route-map. The only different from standard
> advertisement is de conditional default. Maybe it is only intended for
> match and set operations on advertised routes.
>
>
>
> ----- Forwarded message from balmik@staff.iinet.net.au -----
> Date: Fri, 19 Oct 2007 14:07:49 +0800
> From: Balmik Soin <balmik@staff.iinet.net.au>
> Reply-To: Balmik Soin <balmik@staff.iinet.net.au>
> Subject: RE: conditional default advertising in BGP with multiple
> routes tomonitor
> To: Koen Zeilstra <koen@koenzeilstra.com>, Bob Sinclair
> <bob@bobsinclair.net>
> Cc: Saul Arjona <saul.arjona.bueno@gmail.com>
>
> (Removing CCIE groupstudy list for this email)
>
> I'm not able to test this at the moment, but can I suggest you try a
> CONTINUE route-map statement to try and get an AND working?
>
> Something like a
>
> Route-map XXX permit 10
> Match ip address prefix-list 1
> Continue 30
>
> Route-map XXX deny 20
>
> Route-map XXX permit 30
> Match ip address prefix-list 2
>
> I don't know if "continue" will work for these kinds of route-maps, but
> it's worth a try - if it works, then you can post it to GroupStudy. I
> just didn't want to post a "perhaps" email to the group without testing
> it, and ending up wasting people's time :)
>
> --
> Balmik Soin
> Voice Network Engineer Desk: +61-8-9213-1370
> Voice Engineering - Network Services Mobile: +61-414-429-266
> iiNet Limited balmik@staff.iinet.net.au
>
>
> > -----Original Message-----
> > From: Koen Zeilstra [mailto:koen@koenzeilstra.com]
> > Sent: Friday, 19 October 2007 1:14 PM
> > To: Bob Sinclair
> > Cc: Balmik Soin; Saul Arjona; ccielab@groupstudy.com
> > Subject: Re: conditional default advertising in BGP with multiple
> routes
> > tomonitor
> >
> > Yes we do have a solution for the OR, now we still need a solution for
> > the AND function. Matching both routes for one descision.
> >
> >
> >
> > Quoting Bob Sinclair <bob@bobsinclair.net>:
> >
> > > Koen Zeilstra wrote:
> > >> Correct. The conditions are never met for ACL 10.
> > >>
> > >> I have labbed the original and this solution up, no AND just OR.
> > >>
> > > Absolutely right! I stand corrected. So do we have a solution for
> OR?
> > >
> > > --
> > >
> > >
> > > Bob Sinclair CCIE 10427 CCSI 30427
> > > www.netmasterclass.net
> >
>
>
>
> ----- End forwarded message -----
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Fri Nov 16 2007 - 13:11:17 ART