cbwfq classes with traffic matching multiple classes

Answered Question
Apr 16th, 2009
User Badges:

Hi

Using CBWFQ with access-lists to match traffic assigned to classes. If access-lists are not very specific, what happens to traffic that is matched by 2 or more access-lists i.e. traffic could be put multiple classes?

What is the process for the router uses to determine which class to assign that traffic too?


thanks

Peter


Correct Answer by Giuseppe Larosa about 8 years 2 months ago

Hello Peter,

the order of referring of the class-maps in the policy-amp config counts and so traffic will match on only one class the first one in the order for which the traffic flow matches a criteria like an ACL.


you can see the order in the output of


sh policy-map


This is not good practice and should be avoided if possible by defining ACLs with no possible matches in common for a clean configuration.


Hope to help

Giuseppe


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Giuseppe Larosa Thu, 04/16/2009 - 23:17
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Peter,

the order of referring of the class-maps in the policy-amp config counts and so traffic will match on only one class the first one in the order for which the traffic flow matches a criteria like an ACL.


you can see the order in the output of


sh policy-map


This is not good practice and should be avoided if possible by defining ACLs with no possible matches in common for a clean configuration.


Hope to help

Giuseppe


Actions

This Discussion