Re: Match Statement in Route-map

From: Cyberoy (cyberoy@xxxxxxxxxxxxxxxxxxxx)
Date: Thu May 02 2002 - 10:09:10 GMT-3


   
Hi,

We do not need to have 2 access-lists for it to be AND operation.
Besides using access-lists for "match ip route-source", "match ip address",
"match ip next-hop" etc,
we can make use of "match interface", "match length", "match metric" etc,
which do not / may not need access-lists.

It says in Doyle's Routing TCP/IP Vol. 1 (page 812) that, quote: "
Each map statement may have multiple match and set statements, as follows:
    route-map Garfield permit 10
        match ip route-source 15
        match interface serial0
        set metric-type type-1
        set next-hop 10.1.2.3
In a case such as this, every match statement must be matched for the set
statements to be executed." Unquote.

Regards.

----- Original Message -----
From: Jaroslaw Zak <jaroslawz@hotmail.com>
To: <cyberoy@singnet.com.sg>; <krishnan.narayanan@cwgoindia.com>
Cc: <ccielab@groupstudy.com>
Sent: Thursday, May 02, 2002 8:31 PM
Subject: Re: Match Statement in Route-map

> Unless you match again 2 access lists, then its going to be OR.
> Cheers
>
>
> >From: "Cyberoy" <cyberoy@mbox5.singnet.com.sg>
> >Reply-To: "Cyberoy" <cyberoy@mbox5.singnet.com.sg>
> >To: "Krishnan Narayanan" <krishnan.narayanan@cwgoindia.com>
> >CC: <ccielab@groupstudy.com>
> >Subject: Re: Match Statement in Route-map
> >Date: Thu, 2 May 2002 20:17:18 +0800
> >
> >AND operation will be performed for multiple match statements in a
> >route-map
> >statement.
> >
> >----- Original Message -----
> >From: Krishnan Narayanan <krishnan.narayanan@cwgoindia.com>
> >To: <ccielab@groupstudy.com>
> >Sent: Thursday, May 02, 2002 4:23 PM
> >Subject: Match Statement in Route-map
> >
> >
> > > If I have multiple match statements in a route-map ,is an AND
operation
> >performed or an OR opertion done ?
> > >
> > > Thanks
> > > KRis.



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:48 GMT-3