From: Kamal Dissanayaka (kamalasiri@gmail.com)
Date: Wed Jun 20 2007 - 07:30:34 ART
Hi Tarun,
Thanks for your help.
I am trying to understand the function of match-any and match-all keywords
in the class maps and unexpected behaviour found in one of our implementaion
(please see my first mail).
1. class-map match-all Interactive Video
match ip dscp af41 af42 ! Recommended markings for IP/VC
logically it should match both since it has match-all key word. but your
explanation - matching Video traffic which is af41 or af42
is it due to both in a single match command ?
2. class-map match-any Call Signaling
match ip dscp cs3 ! Future Call-Signaling marking
match ip dscp af31 ! Current Call-Signaling marking
I agree with you but dont behave like that ( please refer my first email)
could it be ios bug ?
Best regards
Kamal
On 6/20/07, Tarun Pahuja <pahujat@gmail.com> wrote:
>
> Kamal,
> In the following example:
>
> 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
>
> You are matching Video traffic which is af41 or af42 under the first
> class-map, the second class-map would match Voice signaling based on cs3 or
> af31 DSCP Value.
>
> Up to eight IP DSCP values can be matched in one match statement. For
> example, if you wanted the IP DCSP values of 0, 1, 2, 3, 4, 5, 6, or 7 (note
> that only one of the IP DSCP values must be a successful match criterion,
> not all of the specified IP DSCP values), enter the match ip dscp 0 1 2 3 4
> 5 6 7 command.
>
>
> HTH,
> Tarun Pahuja
> CCIE#7707(R&S,Security,SP,Voice,Storage),CCSI
>
>
>
>
>
>
>
> On 6/20/07, Alexei Monastyrnyi <alexeim@orcsoftware.com> wrote:
> >
> > Kamal,
> > which platform/IOS version you're on?
> >
> > A.
> >
> > on 6/20/2007 1:47 AM Kamal Dissanayaka wrote:
> > > 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