From: ccie2be (ccie2be@nyc.rr.com)
Date: Sat Nov 20 2004 - 10:08:50 GMT-3
Hi Kian,
As your example illustrates, the nested class-map structure wasn't required.
The same result could be achieved without the nesting. Are there any
requirements which can only be fulfilled by using nested class-maps?
I've tried to come up with requirements that required using nested
class-maps, but everytime I saw the same results could be gotten wihtout
nesting.
Thanks, Tim
----- Original Message -----
From: "Kian Wah Lai" <kian_wah@qala.com.sg>
To: "ccie2be" <ccie2be@nyc.rr.com>
Cc: "Group Study" <ccielab@groupstudy.com>
Sent: Thursday, November 18, 2004 9:26 AM
Subject: Re: MQC - Nested Class-maps
> class-map A
> match access-group 1
> match protocol ip
> match fr-de
>
> class-map B
> match class-map A
> match ip prec 5
>
> OR
>
> class-map B
> match access-group 1
> match protocol ip
> match fr-de
> match ip pre 5
>
> Reuse what you've created :) (reminds me of OOP in programming). Save
> you time from typing everything again. For more info:
>
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122tcr/122tqr/qftcmd4.htm#wp1098391
>
> Regards,
> Kian Wah
> 3 routers and one PIX rental at SGD2/hr
> http://rack.sgcug.org/
> Singapore Cisco User Group
>
>
>
> ccie2be wrote:
>
> >Hi guys,
> >
> >I'm trying to think of a scenario where using a nested class-map would be
> >required or even the best way of fulfilling a requirement. So far, no
luck.
> >If someone could come up with an example of this being needed, I would
greatly
> >appreciate it.
> >
> >class-map PARENT
> > match class-map CHILD
> >
> >
> >If you do this, you can see that this is a valid option.
> >
> >class-map Parent
> > match ?
> >
> >TIA, Tim
> >
> >_______________________________________________________________________
> >Subscription information may be found at:
> >http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Thu Dec 02 2004 - 06:57:47 GMT-3