Re: route-map match statemnt

From: Peter McCreesh (petermccreesh@gmail.com)
Date: Tue Nov 22 2005 - 07:23:53 GMT-3


Hi Nenad

If they are the only communities assigned to the route, you could use the
exact keyword on the match statement.

match community 47 147 exact

This will only match the routes with these two communities and no other so
if the route has only one of these communities, it will not be matched.
Also, if it has these two communities along with some others, it will not be
matched.

HTH

Regards,

Pete

On 11/22/05, nenad pudar <nenad.pudar@gmail.com> wrote:
>
> Hi everybody
>
> I have a kind of problem with route-map match statements on Cisco router
> I would like the route-map like below and match both communities (logical
> AND)
> route-map from-bgp-to-isis permit 10
> match route-type external
> match community 147
> match community 47
> !
> route-map from-bgp-to-isis deny 20
>
> However no matter how I put the config in the router I get
>
> route-map from-bgp-to-isis permit 10
> match route-type external
> match community 47 147
> !
> route-map from-bgp-to-isis deny 20
>
> which is logical OR statement which means any of two communities
>
> Does anybody know how can I do this (copy and paste of the config at the
> beginning results in the config above)
>
> thanks
> nenad
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Thu Dec 01 2005 - 09:12:07 GMT-3