RE: class-map selection within policy-map

From: Dennis J. Hartmann (dennisjhartmann@hotmail.com)
Date: Wed Nov 09 2005 - 21:23:33 GMT-3


        Class-maps in a policy-map are evaluated in a top-down manner just
like ACLs, prefix-lists, and route-maps. Unfortunately, there's no sequence
numbering to differentiate this. The policy-map is processed the way it was
written. In your example, AorB would be evaluated first, then AandB, then
the class-default.

-Dennis Hartmann

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of The
Great Ryan
Sent: Thursday, October 27, 2005 1:08 PM
To: Cisco certification
Subject: class-map selection within policy-map

Hi Group,

If there are similar class-map within policy-map, is there any rule to
select the class-map ? Is there any sequence number to trace ? like
route-map ?

For example. the following condition contains some overlapping condition
either A or B -> police 64k condition both A and B -> minimum bandwidth 128K

class-map match-any AorB
 match A
 match B
class-map match-all AandB
 match A
 match B
policy-map qos
 class AorB
  police 64000
 class AandB
  bandwidth 128

=====================
Case 2
condition A and/or B -> police 64k

class-map match-any AB
 match A
 match B
policy-map qos
 class AB
  police 64000

Is the above class-map match "A and/or B" condition ?

Thanks
Ryan



This archive was generated by hypermail 2.1.4 : Thu Dec 01 2005 - 09:12:06 GMT-3