policy-map logic

From: Ahsan Mohiuddin (ahsan.mohiuddin@gmail.com)
Date: Wed May 21 2008 - 06:41:08 ART


Hello group,

I have following policy-maps configured:

*Policy Map CBWFQ-LLQ
    Class VOICE
      Strict Priority
      Bandwidth 65 (%)
    Class class-default
      Bandwidth 20 (%) Max Threshold 64 (packets)
  Policy Map COMPLEX
    Class class-default
     police cir 80000 bc 2000
       conform-action transmit
       exceed-action drop
      Traffic Shaping
         Average Rate Traffic Shaping
         CIR 128000 (bps) Max. Buffers Limit 1000 (Packets)
      service-policy CBWFQ-LLQ*

I want to know how the individual QoS tools within the policy-map will be
applied when I apply policy-map COMPLEX to an interface outbound.

My logic is that the statement I put first (e.g. "police" command in the
policy-map COMPLEX above) will apply last. That is, when a packet arrives at
the interface and suffers congestion, it will first be put into an LLQ or
CBWFQ (depending on its classification). Next it will be shaped to an avg of
128kbps. Then, finally it will be policed before being handed over to
Software queues.

Is this logic correct, meaning that the QoS tool applied first in the
policy-map will apply last to the outbound packet?

Regards,
Ahsan



This archive was generated by hypermail 2.1.4 : Mon Jun 02 2008 - 06:59:17 ART