Re: QOS Question

From: Kamal Dissanayaka (kamalasiri@gmail.com)
Date: Wed Jun 20 2007 - 00:44:43 ART


Thanks tony,

But it is very confusing

See the bellow example from , page 3-14 of
http://www.cisco.com/application/pdf/en/us/guest/netsol/ns432/c649/ccmigration_09186a008049b062.pdf

class-map match-all Interactive Video

match ip dscp af41 af42 ! Recommended markings for IP/VC

class-map match-any Call Signaling

match ip dscp cs3 ! Future Call-Signaling marking

match ip dscp af31 ! Current Call-Signaling marking

in above example,
first one match all does it mean it should match both af41 af42 ?
and second one
it should match cs3 and af31 or any one of those ?

does this apply to all match commands like nbar " match ip protocol " ?

Best Regards

Kamal

On 6/20/07, Tony Schaffran <groupstudy@cconlinelabs.com> wrote:
>
> The way I am deciphering the command reference, if you use the match-any
> option and have several match statements like match ip dscp, match
> access-group and match protocol, it will match one or more of the
> criteria.
>
> In your example, you have several match ip dscp. Maybe it is seeing them
> as
> one criteria then applying the Boolean Logic AND to that one criteria.
>
>
> Tony Schaffran
> Network Analyst
> CCIE #11071
> CCNP, CCNA, CCDA,
> NNCDS, NNCSS, CNE, MCSE
>
> www.cconlinelabs.com
> Your #1 choice for online Cisco rack rentals.
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Kamal Dissanayaka
> Sent: Tuesday, June 19, 2007 8:04 PM
> To: groupstudy@cconlinelabs.com
> Cc: ccielab@groupstudy.com
> Subject: Re: QOS Question
>
> Hi Tony,
>
> Thanks a lot for your help,
>
> I wonder match-any and amtch-all key word in class-map does ?
> Thats the one confused me.
>
> Best Regards
>
> Kamal
>
>
> On 6/20/07, Tony Schaffran <groupstudy@cconlinelabs.com> wrote:
> >
> > Are you familiar with Bolean Logic and how it relates to class maps?
> >
> > Your first class map, the packet would need to match af41 AND cs4 AND
> af42
> > AND cs6 which would be impossible.
> >
> > Your second class map, the packet only needs af41 OR cs4 OR af42 OR cs6.
> >
> >
> > Tony Schaffran
> > Network Analyst
> > CCIE #11071
> > CCNP, CCNA, CCDA,
> > NNCDS, NNCSS, CNE, MCSE
> >
> > www.cconlinelabs.com
> > Your #1 choice for online Cisco rack rentals.
> >
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> > Kamal Dissanayaka
> > Sent: Tuesday, June 19, 2007 4:47 PM
> > To: ccielab@groupstudy.com
> > Subject: QOS Question
> >
> > Dear all,
> >
> > Can somebody expalin me about bellow two class-map configs need to
> perform
> > same or different functions ? Policy-map is applied on on egress of a
> WAN
> > link.
> >
> > 1. class-map match-any MM-LOW
> > match ip dscp af41
> > match ip dscp cs4
> > match ip dscp af42
> > match ip dscp cs6
> >
> > With this config there is no matches on this class map and all goes
> > through
> > default-class see the out put bellow , I get confirmed with access list
> > there are packets comming with dscp cs6.
> >
> > Class-map: MM-LOW (match-any)
> > 0 packets, 0 bytes
> > 30 second offered rate 0 bps, drop rate 0 bps
> > Match: ip dscp af41 (34)
> > 0 packets, 0 bytes
> > 30 second rate 0 bps
> > Match: ip dscp cs4 (32)
> > 0 packets, 0 bytes
> > 30 second rate 0 bps
> > Match: ip dscp af42 (36)
> > 0 packets, 0 bytes
> > 30 second rate 0 bps
> > Match: ip dscp cs6 (48)
> > 0 packets, 0 bytes
> > 30 second rate 0 bps
> > Queueing
> > Output Queue: Conversation 137
> > Bandwidth remaining 40 (%)Max Threshold 64 (packets)
> > (pkts matched/bytes matched) 0/0
> > (depth/total drops/no-buffer drops) 0/0/0
> >
> > 2. class-map match-any MM-LOW
> > match ip dscp cs4 af41 af42 cs6
> >
> > When I configure the class-map in this way it matches the packet. see
> the
> > out put bellow,
> >
> > Class-map: MM-LOW (match-any)
> > 187 packets, 168760 bytes
> > 30 second offered rate 22000 bps, drop rate 0 bps
> > Match: ip dscp cs4 (32) af41 (34) af42 (36) cs6 (48)
> > 0 packets, 0 bytes
> > 30 second rate 0 bps
> > Queueing
> > Output Queue: Conversation 137
> > Bandwidth remaining 40 (%)Max Threshold 64 (packets)
> > (pkts matched/bytes matched) 0/0
> > (depth/total drops/no-buffer drops) 0/0/0
> >
> >
> > Best Regards
> >
> > Kamal
> >
> > _______________________________________________________________________
> > 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 : Sun Jul 01 2007 - 17:24:50 ART