Re: MQC - Nested Class-maps

From: Kian Wah Lai (kian_wah@qala.com.sg)
Date: Thu Nov 18 2004 - 11:26:53 GMT-3


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