From: Grant Stevenson (grant.h.stevenson@virgin.net)
Date: Sat Nov 20 2004 - 11:28:44 GMT-3
Or when you get buggy IOS :-)
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Kevin
Sent: 20 November 2004 14:22
To: Kian Wah Lai; ccie2be
Cc: Group Study
Subject: Re: MQC - Nested Class-maps
I see nested class maps needed in 3 situations:
1. Class reuse (as stated before)
2. If you need to use a match-all within a match-any
class or vice versa (listed on Doc CD).
3. To use queuing on a subinterface (Shaping is
allowed by default, but queuing only allowed if
calling a nested service-class).
Kevin
--- Kian Wah Lai <kian_wah@qala.com.sg> wrote:
> Nested class-maps saves you from re-typing the same
> thing again only i
> believe so I don't think there are any. Whatever you
> can do in class-map
> A can be done in class-map B.
>
> Anyone else?
>
> Regards,
> Kian Wah
> 3 routers and one PIX rental at SGD2/hr
> http://rack.sgcug.org/
> Singapore Cisco User Group
>
>
>
> ccie2be wrote:
>
> >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/12
2tcr/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
> >>>
> >>>
> >
>
>_______________________________________________________________________
> >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:48 GMT-3