From: Alex De Gruiter \(AU\) (Alex.deGruiter@didata.com.au)
Date: Fri Sep 15 2006 - 01:06:59 ART
Hi Tim,
Order matters. Once a match is made, the policy map is no longer parsed.
With your commands below, an SMTP packet of length 1300 would match the
first class-map. If you wanted to exclude SMTP, you could always use the
following:
class-map match-all BIG
  match not protocol smtp
  match packet length min 1251
That would exclude SMTP from your definition, and ensure that large SMTP
packets don't jump the queue. 
Regards,
Alex
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Tim Chan
Sent: Friday, 15 September 2006 10:40 AM
To: ccielab@groupstudy.com
Subject: Policy-map order
Does the order under a policy-map make a difference?  For example, I've
got two
class-maps, one match smtp traffic and one match packets that are over
1250 in size.
Under the policy-map, I'm calling each class-map, but how does the
router process them?
They are not nested, so if an SMTP packet that is 1300 in size, what's
gonna happen?
class-map match-all SMTP
  match protocol smtp
class-map match-all BIG
  match packet length min 1251 
!
policy-map qos
  class BIG
   police 2500000
  class SMTP
   bandwidth 1500
Any comments are appreciated..
-tim
This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:40 ART