From: Kamal Dissanayaka (kamalasiri@gmail.com)
Date: Wed Jun 20 2007 - 00:04:00 ART
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
This archive was generated by hypermail 2.1.4 : Sun Jul 01 2007 - 17:24:50 ART