Re: route-map logic

From: Przemyslaw Karwasiecki (karwas@ifxcorp.com)
Date: Wed Feb 13 2002 - 12:55:22 EST


I meant: limited "subset of match clauses"
e.g

ip local policy route-map SPOKES_VIA_HUB

access-list 10 permit 10.10.0.0 0.0.255.255

route-map SPOKES_VIA_HUB permit 10
 match ip next-hop 10
 set ip next-hop 10.10.1.1

is perfectly accepted by router, but doesn't work,
because "match ip next-hop 10" is not in
limited "subset of match clauses", available for use
in policy routing

Przemek

On Wed, 2002-02-13 at 12:52, Rick Payne wrote:
>
> --On Wednesday, February 13, 2002 12:40:08 -0500 Przemyslaw Karwasiecki
> <karwas@ifxcorp.com> wrote:
>
> > but on the other hand policy routing has limited
> > set of valid match operators.
> >
> > You cannot use match community in policy routing anyway...
>
> Ignoring a 'set' clause when its not relevant to the application context is
> understandable. You can imagine the confusion that ignoring 'on-match next'
> in only a few contexts would cause.
>
> I'd also done a perl hack to zebra which allowed a route-map to call out to
> a perl module. It made re-mapping bgp communities a snap, but it scared me,
> so I never took it anywhere.
>
> Rick
>



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:13:04 EDT