Re: Route-map "match" & Class-map "match"

From: ccie2be (ccie2be@nyc.rr.com)
Date: Fri Feb 11 2005 - 17:13:39 GMT-3


Jonathan,

You've actually asked quite a big question.

I'll try to tackle some of it.

In route-map, you can config multiple match statements, and if memory
serves me, when there's more than 1 match statement, all match statements
must be true for any specified action to take place. IOW, the match
statements are logically "And".

In a class-map, you can also configure multiple match statements and I'm
pretty sure that by default, those match statements are also "And".
However, you could make it so they are logically "OR".

Here's the easy thing to forget. If you do a class-map ?, you'll see 2
options: match-all and match-any. If you want the different match
statements "OR'd", use the match-any choice. With this choice, if any of the
match statements are true, the actions specified in the policy-map will be
done.

To my knowledge, there isn't a limit on how many match statments you can
configure under a route-map or class-map. And, you can also nest one class
inside another class, but that's a whole other story.

HTH, Tim

----- Original Message -----
From: "Jonathan ZD" <Nuvo25@hotmail.com>
To: "CCIE - GS" <ccielab@groupstudy.com>
Sent: Friday, February 11, 2005 2:32 PM
Subject: Route-map "match" & Class-map "match"

> Can anyone show the following options command for me please.
>
> 1) route-map xxx
> match ?
>
> 2) Class-map xxx
> match ?
>
> 3) How many "match" statement allows in route-m? I know that you may use
> multiple "match" statement under class-map.
>
> 4) Does anyone knows the restriction of using multiple "match" statement
under
> class-map? I understand that you may use "match ip access-group" with
"match
> class", does the IOS allow different kind of multiple match statement?
>
> Thanks a lot.
>
> Jonathan



This archive was generated by hypermail 2.1.4 : Thu Mar 03 2005 - 08:51:19 GMT-3