<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: QoS - Voice Traffic Queueing in Routing and SD-WAN</title>
    <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325801#M126364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok let me rephrase then, when I put bypass an active shaper/scheduler and straight to the LLQ (Hardware Queue) I mean't the packet would pass into the LLQ (software) and straight through to the Hardware Queue, this is a Serial circuit so the TX ring has a value of 16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why did I believe it bypassed a shaper? simply because voice can't tolerate Jitter and a shaper by its very nature adds variable delay and jitter when active, surely this defeats the very idea of using a shaper with voice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regard to Joseph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class RealTime1MQC &lt;/P&gt;&lt;P&gt;priority 200 &lt;/P&gt;&lt;P&gt;police 200  &amp;lt;-- this line isnt needed as priority 200 indicates its to be policed at 200, this is a maximum value, not a minimum value that is specified when using the Syntax "bandwidth 200" within a CBWFQ class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So are we saying that if I use the following form of nested policy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map test1-Child-CE&lt;/P&gt;&lt;P&gt;  class System MQC&lt;/P&gt;&lt;P&gt;   bandwidth 24&lt;/P&gt;&lt;P&gt;   random-detect dscp-based&lt;/P&gt;&lt;P&gt;  class RealTime1MQC&lt;/P&gt;&lt;P&gt;   priority 200&lt;/P&gt;&lt;P&gt;  class RealTime2MQC&lt;/P&gt;&lt;P&gt;   priority 512&lt;/P&gt;&lt;P&gt;  class Application4MQC&lt;/P&gt;&lt;P&gt;   bandwidth 512&lt;/P&gt;&lt;P&gt;   random-detect dscp-based&lt;/P&gt;&lt;P&gt;policy-map test-Parent-CE&lt;/P&gt;&lt;P&gt;  class class-default&lt;/P&gt;&lt;P&gt;   shape average 2048000 16384&lt;/P&gt;&lt;P&gt;   service-policy test1-Child-CE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Voice traffic will be queued when the shaper is active, basically in effect making the LLQ null and void?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The policy to ensure that the LLQ is used correctly and not queued would need to look something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map test1-Child-CE&lt;/P&gt;&lt;P&gt;  class System MQC&lt;/P&gt;&lt;P&gt;   bandwidth 24&lt;/P&gt;&lt;P&gt;   random-detect dscp-based&lt;/P&gt;&lt;P&gt;  class RealTime2MQC&lt;/P&gt;&lt;P&gt;   priority 512&lt;/P&gt;&lt;P&gt;  class Application4MQC&lt;/P&gt;&lt;P&gt;   bandwidth 512&lt;/P&gt;&lt;P&gt;   random-detect dscp-based&lt;/P&gt;&lt;P&gt;policy-map test-Parent-CE&lt;/P&gt;&lt;P&gt;  class RealTime1MQC&lt;/P&gt;&lt;P&gt;   priority 200&lt;/P&gt;&lt;P&gt;  class class-default&lt;/P&gt;&lt;P&gt;   shape average 1848000&lt;/P&gt;&lt;P&gt;   service-policy test1-Child-CE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2009 12:38:23 GMT</pubDate>
    <dc:creator>analysts</dc:creator>
    <dc:date>2009-08-18T12:38:23Z</dc:date>
    <item>
      <title>QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325795#M126358</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've an issue thats been bugging me for some time, I have a hierarchical policy map applied to an outbound interface, this Policy is shaping traffic to the Maximum circuit rate, within this is a policy map to detail how traffic matching Voice, Video and AF traffic is to be treated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my understanding was, that even when the shaper was active traffic matching EF or CS5 would by-pass the shaper and schedualer go directly to the the LLQ (hardware Queue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when reviewing the polic-map I am seeing packets that are queueing within the voice queue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serial0: DLCI 100 -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Service-policy output: Test1-Parent-CE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Class-map: class-default (match-any)&lt;/P&gt;&lt;P&gt;      233085 packets, 235568795 bytes&lt;/P&gt;&lt;P&gt;      30 second offered rate 17000 bps, drop rate 0 bps&lt;/P&gt;&lt;P&gt;      Match: any&lt;/P&gt;&lt;P&gt;      Traffic Shaping&lt;/P&gt;&lt;P&gt;           Target/Average   Byte   Sustain   Excess    Interval  Increment&lt;/P&gt;&lt;P&gt;             Rate           Limit  bits/int  bits/int  (ms)      (bytes)&lt;/P&gt;&lt;P&gt;          2048000/2048000   4096   16384     16384     8         2048&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Adapt  Queue     Packets   Bytes     Packets   Bytes     Shaping&lt;/P&gt;&lt;P&gt;        Active Depth                         Delayed   Delayed   Active&lt;/P&gt;&lt;P&gt;        -      0         233124    235617887 170210    215529114 no&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Service-policy : Test1-Child-CE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Class-map: RealTime1MQC (match-any)&lt;/P&gt;&lt;P&gt;          25713 packets, 1473074 bytes&lt;/P&gt;&lt;P&gt;          30 second offered rate 13000 bps, drop rate 0 bps&lt;/P&gt;&lt;P&gt;          Match:  dscp ef&lt;/P&gt;&lt;P&gt;            25713 packets, 1473074 bytes&lt;/P&gt;&lt;P&gt;            30 second rate 13000 bps&lt;/P&gt;&lt;P&gt;          Queueing&lt;/P&gt;&lt;P&gt;            Strict Priority&lt;/P&gt;&lt;P&gt;            Output Queue: Conversation 136&lt;/P&gt;&lt;P&gt;            Bandwidth 200 (kbps) Burst 5000 (Bytes)&lt;/P&gt;&lt;P&gt;            (pkts matched/bytes matched) 2479/137055 &amp;lt;----- this&lt;/P&gt;&lt;P&gt;            (total drops/bytes drops) 0/0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cisco themselves say the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pkts matched/bytes matched &lt;/P&gt;&lt;P&gt;Number of packets (also shown in bytes) matching this class that were placed in the queue. This number reflects the total number of matching packets queued at any time. Packets matching this class are queued only when congestion exists. If packets match the class but are never queued because the network was not congested, those packets are not included in this total. However, if process switching is in use, the number of packets is always incremented even if the network is not congested. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my Question is, why am I queueing EF traffic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 13:46:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325795#M126358</guid>
      <dc:creator>analysts</dc:creator>
      <dc:date>2019-03-04T13:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325796#M126359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LLQ is &lt;B&gt;not&lt;/B&gt; a hardware queue - on the contrary, it is a software queue. The entire software queueing defined by your policy-map kicks in only when the hardware queue of your interface starts to fill. If there still is a space in your hardware queue, the packets are stored there, bypassing all your class-based QoS configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LLQ is also called PQ/CBWFQ (Priority Queueing/Class Based Weighted Fair Queueing). The idea of LLQ is to have one software priority queue also called a LLQ queue, and a number of software CBWFQ queues. The priority queue is served until it is empty. If and only if it is empty, the remaining queues are served in the CBWFQ fashion. So, if the hardware queue starts to fill, next packets will be stored in software queues according to their classification. The voice packets are stored into the priority queue and they will be dequeued as soon as possible, before any other software queues - but only if there is space for at least one packet in the hardware queue. If there is none, the packets will stay queued in software queues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it is normal if you see even your voice packets queued. You should be concerned only if the perceived voice quality starts to decline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 11:21:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325796#M126359</guid>
      <dc:creator>Peter Paluch</dc:creator>
      <dc:date>2009-08-18T11:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325797#M126360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;I&gt;Now my understanding was, that even when the shaper was active traffic matching EF or CS5 would by-pass the shaper and schedualer go directly to the the LLQ (hardware Queue) &lt;/I&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What lead you to believe EF/CS5 traffic would bypass an active shaper?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(BTW, LLQ isn't a hardware queue, it's CBWFQ's priority (software) queue.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your policies are like these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(NB: syntax may be incorrect.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map Test1-Child-CE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class RealTime1MQC &lt;/P&gt;&lt;P&gt;priority 200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map Test1-Parent-CE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class class-default&lt;/P&gt;&lt;P&gt;shape average 2000&lt;/P&gt;&lt;P&gt;service-policy Test1-Child-CE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parent's shaper, when active, pushes traffic to the child policy, including your RealTime1MQC matches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if your policies were:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map Test1-Child-CE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map Test1-Parent-CE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class RealTime1MQC &lt;/P&gt;&lt;P&gt;priority 200&lt;/P&gt;&lt;P&gt;police 200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class class-default&lt;/P&gt;&lt;P&gt;shape average 1800&lt;/P&gt;&lt;P&gt;service-policy Test1-Child-CE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then your RealTime1MQC class traffic would bypass the shaper.  (Normally, wouldn't recommend the 2nd set of policies since unused RealTime1MQC isn't available to other traffic.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 11:26:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325797#M126360</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2009-08-18T11:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325798#M126361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;I&gt;The entire software queueing defined by your policy-map kicks in only when the hardware queue of your interface starts to fill. If there still is a space in your hardware queue, the packets are stored there, bypassing all your class-based QoS configuration. &lt;/I&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two points of clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CBWFQ policies using shapers or policers don't depend on hardware queue for activation.  I.e. shaper described in OP would not depend on hardware queue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not when hardware queue "starts to fill" but when hardware queue overflows; i.e. it's filled.  Or, when not "If there still is a space in your hardware queue".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS:&lt;/P&gt;&lt;P&gt;BTW, on many interfaces hardware queue capacity can be adjusted, and for real-time traffic, you often need to adjust it smaller to insure real-time traffic doesn't queue behind (too much) non real-time traffic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 11:48:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325798#M126361</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2009-08-18T11:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325799#M126362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for clarifying my vague description. I appreciate it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 11:53:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325799#M126362</guid>
      <dc:creator>Peter Paluch</dc:creator>
      <dc:date>2009-08-18T11:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325800#M126363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't think it was vague; thought it quite good. I appreciate you appreciate the clarifications.  Thanks for letting me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 12:05:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325800#M126363</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2009-08-18T12:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325801#M126364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok let me rephrase then, when I put bypass an active shaper/scheduler and straight to the LLQ (Hardware Queue) I mean't the packet would pass into the LLQ (software) and straight through to the Hardware Queue, this is a Serial circuit so the TX ring has a value of 16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why did I believe it bypassed a shaper? simply because voice can't tolerate Jitter and a shaper by its very nature adds variable delay and jitter when active, surely this defeats the very idea of using a shaper with voice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regard to Joseph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class RealTime1MQC &lt;/P&gt;&lt;P&gt;priority 200 &lt;/P&gt;&lt;P&gt;police 200  &amp;lt;-- this line isnt needed as priority 200 indicates its to be policed at 200, this is a maximum value, not a minimum value that is specified when using the Syntax "bandwidth 200" within a CBWFQ class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So are we saying that if I use the following form of nested policy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map test1-Child-CE&lt;/P&gt;&lt;P&gt;  class System MQC&lt;/P&gt;&lt;P&gt;   bandwidth 24&lt;/P&gt;&lt;P&gt;   random-detect dscp-based&lt;/P&gt;&lt;P&gt;  class RealTime1MQC&lt;/P&gt;&lt;P&gt;   priority 200&lt;/P&gt;&lt;P&gt;  class RealTime2MQC&lt;/P&gt;&lt;P&gt;   priority 512&lt;/P&gt;&lt;P&gt;  class Application4MQC&lt;/P&gt;&lt;P&gt;   bandwidth 512&lt;/P&gt;&lt;P&gt;   random-detect dscp-based&lt;/P&gt;&lt;P&gt;policy-map test-Parent-CE&lt;/P&gt;&lt;P&gt;  class class-default&lt;/P&gt;&lt;P&gt;   shape average 2048000 16384&lt;/P&gt;&lt;P&gt;   service-policy test1-Child-CE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Voice traffic will be queued when the shaper is active, basically in effect making the LLQ null and void?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The policy to ensure that the LLQ is used correctly and not queued would need to look something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map test1-Child-CE&lt;/P&gt;&lt;P&gt;  class System MQC&lt;/P&gt;&lt;P&gt;   bandwidth 24&lt;/P&gt;&lt;P&gt;   random-detect dscp-based&lt;/P&gt;&lt;P&gt;  class RealTime2MQC&lt;/P&gt;&lt;P&gt;   priority 512&lt;/P&gt;&lt;P&gt;  class Application4MQC&lt;/P&gt;&lt;P&gt;   bandwidth 512&lt;/P&gt;&lt;P&gt;   random-detect dscp-based&lt;/P&gt;&lt;P&gt;policy-map test-Parent-CE&lt;/P&gt;&lt;P&gt;  class RealTime1MQC&lt;/P&gt;&lt;P&gt;   priority 200&lt;/P&gt;&lt;P&gt;  class class-default&lt;/P&gt;&lt;P&gt;   shape average 1848000&lt;/P&gt;&lt;P&gt;   service-policy test1-Child-CE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 12:38:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325801#M126364</guid>
      <dc:creator>analysts</dc:creator>
      <dc:date>2009-08-18T12:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325802#M126365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;I&gt;Why did I believe it bypassed a shaper? simply because voice can't tolerate Jitter and a shaper by its very nature adds variable delay and jitter when active, surely this defeats the very idea of using a shaper with voice?&lt;/I&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes a shaper does distort the traffic flow timing, but VoIP can tolerate some jitter.  (Remember the size of the hardware tx queue can also have similar impact.)  When working with a shaper, you can minimize such impact by reducing the Tc.  (I've found 10 ms seems to work well.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for using the shaper is to match some futher downstream bottleneck that we can't directly configure QoS for.  With a nested policy, the child's LLQ insures traffic in that queue is dequeued first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;I&gt;police 200 &amp;lt;-- this line isnt needed as priority 200 indicates its to be policed at 200, this is a maximum value, not a minimum value that is specified when using the Syntax "bandwidth 200" within a CBWFQ &lt;/I&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, the LLQ's implicit policer often only engages when there's congestion, so it's possible to transmit more LLQ traffic then is intended.  Normally, this isn't an issue, but if we use the parent policy with both LLQ and a shaper, we should insure class allocations are as we expect.  So, in this situation, having it is good idea (for another reason, it may detect bursts that you wouldn't otherwise know were happening).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;I&gt;Then Voice traffic will be queued when the shaper is active, basically in effect making the LLQ null and void? &lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The policy to ensure that the LLQ is used correctly and not queued would need to look something like this? "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, the fact that VoIP traffic is shaped, and queued, doesn't imply a child's LLQ is null and void or make for a VoIP quality issue.  As Peter noted, the issue is whether there's an actual VoIP quality issue.  If there is, I would insure the shaper's Tc is reduced and that the hardware tx queue is reduced (and shape for actual available bandwidth - see postscript info).  If these don't resolve the quality issue, then you can try the second policy approach to insure the VoIP traffic isn't subject to the shaper.  (With the latter, you still want to control tx queue allocation.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS:&lt;/P&gt;&lt;P&gt;BTW, one issue with shapers, I suspect they manage (on some platform IOS combinations) their own queue, or queues, and only when these overflow are the child policy's queues used.  If this is true, this could be another reason why you might need to bypass the shaper using the second policy approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also BTW, in your policy postings I see you have two LLQ classes, RealTime1MQC and RealTime2MQC.  Within a single policy there's only one actual LLQ.  The different LLQ classes only provide different implicit policers.  If you move RealTime1MQC to the parent policy, RealTime2MQC would only dequeue if there's no RealTime1MQC traffic.  If this is fine, then you can use it as you've defined it, otherwise you'll need to move this class to the parent policy too and adjust the parent's class-default shaper allocation again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also BTW, shapers, I believe, don't account for L2 overhead, so to really insure correct shaping you need to reduce the rate to allow for it.  (NB: L2 overhead % varies per packet size, which mean you may need to allow for worst case to fully guarantee VoIP performance.  However, again given typical VoIP tolerance, allowing for your average L2 overhead usually seems to work okay.  I've found 10% seems to serve well.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2009 14:36:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325802#M126365</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2009-08-18T14:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325803#M126366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;I&gt;Yes a shaper does distort the traffic flow timing, but VoIP can tolerate some jitter. (Remember the size of the hardware tx queue can also have similar impact.) When working with a shaper, you can minimize such impact by reducing the Tc. (I've found 10 ms seems to work well.)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe my maths here is wrong, I thought that Tc was calculated by Bc/CIR so in this case it would be 16384/2048000 = 0.008 which is 8ms, however Cisco's IOS was locked down to 10ms as a minimum as documented here - hxxp://www.cisco.com/warp/public/788/voip/fr_traffic.html&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could be wrong as I've never had anyone explain it but that was my understanding from reading the literature, have I got the wrong end of the stick? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;The reason for using the shaper is to match some futher downstream bottleneck that we can't directly configure QoS for&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use Shapers as we often provide sub-rate speeds on access circuits, so we use a shaper to reduce the impact of TCP Slow/Start, rather than a policer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;With a nested policy, the child's LLQ insures traffic in that queue is dequeued first. Actually, the LLQ's implicit policer often only engages when there's congestion, so it's possible to transmit more LLQ traffic then is intended. Normally, this isn't an issue, but if we use the parent policy with both LLQ and a shaper, we should insure class allocations are as we expect. So, in this situation, having it is good idea (for another reason, it may detect bursts that you wouldn't otherwise know were happening).&lt;/I&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wasn't aware the policer only activated during periods of congestion, although I've yet to see an LLQ exhaust all other queues, but that's more likely down to end users not having enough Voice traffic at any given time to max the circuit out, thanks for the heads up on that one ï&amp;#129;&amp;#138;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Again, the fact that VoIP traffic is shaped, and queued, doesn't imply a child's LLQ is null and void or make for a VoIP quality issue. As Peter noted, the issue is whether there's an actual VoIP quality issue. If there is, I would insure the shaper's Tc is reduced and that the hardware tx queue is reduced (and shape for actual available bandwidth - see postscript info). If these don't resolve the quality issue, then you can try the second policy approach to insure the VoIP traffic isn't subject to the shaper. (With the latter, you still want to control tx queue allocation.)&lt;/I&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure the Tc value is ok (depending on maths of course) so I can adjust the TX_limited, but even so its currently at Ciscos suggested Default of 16, my concern is if I adjust this too low I'm going to negatively impact other traffic types as they will sit for longer in the software queues, As to Quality of calls, usually its fine, only under periods of Congestion do they report any kind of quality issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Also BTW, in your policy postings I see you have two LLQ classes, RealTime1MQC and RealTime2MQC. Within a single policy there's only one actual LLQ. The different LLQ classes only provide different implicit policers. If you move RealTime1MQC to the parent policy, RealTime2MQC would only dequeue if there's no RealTime1MQC traffic. If this is fine, then you can use it as you've defined it, otherwise you'll need to move this class to the parent policy too and adjust the parent's class-default shaper allocation again.&lt;/I&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah I'm aware of that, I only moved the single queue as an example to see if that's the kind of config you where referring to, I should of done it properly my bad ï&amp;#129;&amp;#138;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the heads up though, its certainly helped clear some confusion in my head, obviously my concern is Cisco's literature states the policy should be under the shaper, I would of thought that they would of mentioned a caveat that in this type of build, Voice traffic will be queued in the event the shaper becomes active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 07:51:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325803#M126366</guid>
      <dc:creator>analysts</dc:creator>
      <dc:date>2009-08-19T07:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325804#M126367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you're correct on how Tc is calculated.  (I didn't actually do the math on your values.)  BTW, I believe some of the later 12.4T versions, Tc can go even smaller (4 ms?) and it might default to the value other than a default(?) of 25 ms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;I&gt;We use Shapers as we often provide sub-rate speeds on access circuits, so we use a shaper to reduce the impact of TCP Slow/Start, rather than a policer&lt;/I&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The defaults for policers vs. shapers tend to have the former emulate an interface with a very shallow FIFO queue and the latter an interface with WFQ (except for 12.4.20T, and later, shapers).  Both can be adjusted (somewhat) on how they impact traffic flows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When supporting VoIP and using shapers, I believe you also need to account for the L2 overhead, otherwise a shaper can pass data faster then really intended.  For example, if you had an E3 on the transmitting side and an E1 on the receiving side, setting a shape rate to 2 Mbps might allow FIFO congestion on the E1 link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;I&gt;I wasn't aware the policer only activated during periods of congestion, although I've yet to see an LLQ exhaust all other queues, but that's more likely down to end users not having enough Voice traffic at any given time to max the circuit out, thanks for the heads up on that one&lt;/I&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simple rule seems to be, the LLQ implicit policer only activates when there's traffic in the LLQ, not just hitting the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;I&gt;I'm sure the Tc value is ok (depending on maths of course) so I can adjust the TX_limited, but even so its currently at Ciscos suggested Default of 16, my concern is if I adjust this too low I'm going to negatively impact other traffic types as they will sit for longer in the software queues, As to Quality of calls, usually its fine, only under periods of Congestion do they report any kind of quality issue&lt;/I&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem isn't sitting in the software queues, the issue is whether an inteface can be kept 100% busy w/o sufficient packets in the hardware queue.  Given a choice between insuring something like VoIP works correctly, vs. driving an interface at maximum possible efficienty, I chose the former.  I.e. I size the hardware queue to minimize the impact of its FIFO queue.  Consider if your hardware queue allows for 16 packets, and those 16 packets could be maximum size FTP packets, all might need to be transmitted before your VoIP packet.  The impact of this depends on interface bandwidth, but for 2 Mbps (my math?) indicates a delay of 96 ms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[edit]&lt;/P&gt;&lt;P&gt;If your encountering VoIP quality issues when there's periods of congestion, then there's likely other packets getting ahead of the VoIP packets when they shouldn't.  I've found the hardware TX queue can be an issue and/or, for cloud links, pushing more then the other side can actually accept.  (Also for cloud links, you got to watch if more than one site can send to the receiver.)  Both tend to FIFO queue packets where VoIP packets get delayed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 09:51:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325804#M126367</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2009-08-19T09:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325805#M126368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joseph most of that makes sense, one thing I have noticed however is when I labbed this up this morning, when I run the standard config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;policy-map test-child-2Mb-CE&lt;/I&gt;&lt;/P&gt;&lt;P&gt; class Voice&lt;/P&gt;&lt;P&gt;  priority percent 30&lt;/P&gt;&lt;P&gt; class System&lt;/P&gt;&lt;P&gt;  bandwidth percent 1&lt;/P&gt;&lt;P&gt;  random-detect dscp-based&lt;/P&gt;&lt;P&gt; class Standard&lt;/P&gt;&lt;P&gt;  bandwidth percent 69&lt;/P&gt;&lt;P&gt; random-detect dscp-based&lt;/P&gt;&lt;P&gt;policy-map test-shape&lt;/P&gt;&lt;P&gt; class class-default&lt;/P&gt;&lt;P&gt;  shape average 2048000&lt;/P&gt;&lt;P&gt;  service-policy test-child-2Mb-CE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;map-class frame-relay MapClass_0&lt;/P&gt;&lt;P&gt; service-policy output test-shape&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Serial0/0/0&lt;/P&gt;&lt;P&gt; description 2Mb&lt;/P&gt;&lt;P&gt; bandwidth 2048&lt;/P&gt;&lt;P&gt; ip address xxx.xxx.xxx.xxx 255.255.255.252&lt;/P&gt;&lt;P&gt; encapsulation frame-relay&lt;/P&gt;&lt;P&gt; load-interval 30&lt;/P&gt;&lt;P&gt; frame-relay class MapClass_0&lt;/P&gt;&lt;P&gt; frame-relay interface-dlci 200&lt;/P&gt;&lt;P&gt; max-reserved-bandwidth 100&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Serial0/0/0: DLCI 200 -&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Service-policy output: test-shape&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Class-map: class-default (match-any)&lt;/P&gt;&lt;P&gt;      92895 packets, 20616429 bytes&lt;/P&gt;&lt;P&gt;      30 second offered rate 201000 bps, drop rate 0 bps&lt;/P&gt;&lt;P&gt;      Match: any&lt;/P&gt;&lt;P&gt;      Traffic Shaping&lt;/P&gt;&lt;P&gt;           Target/Average   Byte   Sustain   Excess    Interval  Increment&lt;/P&gt;&lt;P&gt;             Rate           Limit  bits/int  bits/int  (ms)      (bytes)&lt;/P&gt;&lt;P&gt;          2048000/2048000   12800  51200     51200     25        6400&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Adapt  Queue     Packets   Bytes     Packets   Bytes     Shaping&lt;/P&gt;&lt;P&gt;        Active Depth                         Delayed   Delayed   Active&lt;/P&gt;&lt;P&gt;        -      0         92888     20611910  4343      2754011   no&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Service-policy : test-child-2Mb-CE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Class-map: Voice (match-all)&lt;/P&gt;&lt;P&gt;          38183 packets, 2491037 bytes&lt;/P&gt;&lt;P&gt;          30 second offered rate 20000 bps, drop rate 0 bps&lt;/P&gt;&lt;P&gt;          Match:  dscp cs5 (40)&lt;/P&gt;&lt;P&gt;          Queueing&lt;/P&gt;&lt;P&gt;            Strict Priority&lt;/P&gt;&lt;P&gt;            Output Queue: Conversation 136&lt;/P&gt;&lt;P&gt;            Bandwidth 30 (%)&lt;/P&gt;&lt;P&gt;            Bandwidth 614 (kbps) Burst 15350 (Bytes)&lt;/P&gt;&lt;P&gt;            (pkts matched/bytes matched) 685/44666&lt;/P&gt;&lt;P&gt;            (total drops/bytes drops) 0/0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class-map: System (match-all)&lt;/P&gt;&lt;P&gt;          169 packets, 25978 bytes&lt;/P&gt;&lt;P&gt;          30 second offered rate 1000 bps, drop rate 0 bps&lt;/P&gt;&lt;P&gt;          Match:  dscp cs6 (48)&lt;/P&gt;&lt;P&gt;          Queueing&lt;/P&gt;&lt;P&gt;            Output Queue: Conversation 137&lt;/P&gt;&lt;P&gt;            Bandwidth 1 (%)&lt;/P&gt;&lt;P&gt;            Bandwidth 20 (kbps)&lt;/P&gt;&lt;P&gt;            (pkts matched/bytes matched) 3/151&lt;/P&gt;&lt;P&gt;        (depth/total drops/no-buffer drops) 0/0/0&lt;/P&gt;&lt;P&gt;             exponential weight: 9&lt;/P&gt;&lt;P&gt;             mean queue depth: 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   dscp    Transmitted      Random drop      Tail drop    Minimum Maximum  Mark&lt;/P&gt;&lt;P&gt;           pkts/bytes       pkts/bytes       pkts/bytes    thresh  thresh  prob&lt;/P&gt;&lt;P&gt;    cs6     179/29690           0/0              0/0           32      40  1/10&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however when I then remove this and try running the policy we mentioned yesterday&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;policy-map test-child-2Mb-CE&lt;/I&gt;&lt;/P&gt;&lt;P&gt; class System&lt;/P&gt;&lt;P&gt;  bandwidth percent 1&lt;/P&gt;&lt;P&gt;  random-detect dscp-based&lt;/P&gt;&lt;P&gt; class Standard&lt;/P&gt;&lt;P&gt;  bandwidth percent 98&lt;/P&gt;&lt;P&gt;  random-detect dscp-based&lt;/P&gt;&lt;P&gt;policy-map test-shape&lt;/P&gt;&lt;P&gt; class Voice&lt;/P&gt;&lt;P&gt;  priority 614&lt;/P&gt;&lt;P&gt;  police 614000&lt;/P&gt;&lt;P&gt; Class class-default&lt;/P&gt;&lt;P&gt;  shape average 1434000 1000&lt;/P&gt;&lt;P&gt;  service-policy test-child-2Mb-CE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;map-class frame-relay MapClass_0&lt;/P&gt;&lt;P&gt; service-policy output test-shape&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Serial0/0/0&lt;/P&gt;&lt;P&gt; description 2Mb&lt;/P&gt;&lt;P&gt; bandwidth 2048&lt;/P&gt;&lt;P&gt; ip address xxx.xxx.xxx.xxx 255.255.255.252&lt;/P&gt;&lt;P&gt; encapsulation frame-relay&lt;/P&gt;&lt;P&gt; load-interval 30&lt;/P&gt;&lt;P&gt; frame-relay class MapClass_0&lt;/P&gt;&lt;P&gt; frame-relay interface-dlci 200&lt;/P&gt;&lt;P&gt; max-reserved-bandwidth 100&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get no response back from the show policy-map command, the same as if no policy is applied to the interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 10:02:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325805#M126368</guid>
      <dc:creator>analysts</dc:creator>
      <dc:date>2009-08-19T10:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325806#M126369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't easily say, especially my experience with QoS and frame-relay has used subinterface per-VC vs. frame-relay maps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, what it might be, there are some limitations on using CBWFQ where the policy doesn't "know" how much bandwidth it has to manage (before 12.4.20T?).  For test purposes, try the test policy under the serial0/0/0 interface.  (BTW, also see if any error messages, after applying the policy, are in syslog.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 10:44:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325806#M126369</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2009-08-19T10:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325807#M126370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great call Joseph, I'm used to working on Ethernet Circuits so the policy-map goes onto the interface directly, however as this is a frame-relay circuit I kinda got tunnel vision with regards to applying the policy under the map-class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've managed *I think* to get it sorted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The config currently looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;policy-map Test-child-2Mb-CE&lt;/I&gt;&lt;/P&gt;&lt;P&gt; class System&lt;/P&gt;&lt;P&gt;  bandwidth percent 1&lt;/P&gt;&lt;P&gt;  random-detect dscp-based&lt;/P&gt;&lt;P&gt; class Standard&lt;/P&gt;&lt;P&gt;  bandwidth percent 90&lt;/P&gt;&lt;P&gt;  random-detect dscp-based&lt;/P&gt;&lt;P&gt;policy-map test-shape&lt;/P&gt;&lt;P&gt; class Voice&lt;/P&gt;&lt;P&gt;  priority 700&lt;/P&gt;&lt;P&gt;  police cir 700000 bc 5000&lt;/P&gt;&lt;P&gt; class class-default&lt;/P&gt;&lt;P&gt;  shape average 1348000 10000&lt;/P&gt;&lt;P&gt;  service-policy Test-child-2Mb-CE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've applied the policy map directly to the serial interface and its now being used, however I was still getting queued voice packets, I've adjusted the TX_limit value from 16 to 10, the frequency of queued packets decreased but they where still evident. I then added the Bc Value to the police statement under the Voice class to bring the Tc down to just over 7ms&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the results I'm now seeing are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Serial0/0/0&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Service-policy output: test-shape&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Class-map: Voice (match-all)&lt;/P&gt;&lt;P&gt;      7034 packets, 506012 bytes&lt;/P&gt;&lt;P&gt;      30 second offered rate 0 bps, drop rate 0 bps&lt;/P&gt;&lt;P&gt;      Match:  dscp cs5 (40)&lt;/P&gt;&lt;P&gt;      Queueing&lt;/P&gt;&lt;P&gt;        Strict Priority&lt;/P&gt;&lt;P&gt;        Output Queue: Conversation 264&lt;/P&gt;&lt;P&gt;        Bandwidth 700 (kbps) Burst 17500 (Bytes)&lt;/P&gt;&lt;P&gt;        (pkts matched/bytes matched) 1/64&lt;/P&gt;&lt;P&gt;        (total drops/bytes drops) 0/0&lt;/P&gt;&lt;P&gt;      police:&lt;/P&gt;&lt;P&gt;          cir 700000 bps, bc 5000 bytes&lt;/P&gt;&lt;P&gt;        conformed 7034 packets, 506012 bytes; actions:&lt;/P&gt;&lt;P&gt;          transmit&lt;/P&gt;&lt;P&gt;        exceeded 0 packets, 0 bytes; actions:&lt;/P&gt;&lt;P&gt;          drop&lt;/P&gt;&lt;P&gt;        conformed 0 bps, exceed 0 bps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 packet queued out of 7k packets transmitted, Oh and I think you where right about being able to drop the Tc value to 4ms, I initial set the value to the lowest (1000) which was accepted by the router fine, however, I was getting an error when I tried to apply the policy directly to the interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Lab1(config-if)#service-policy output test-shape&lt;/I&gt;&lt;/P&gt;&lt;P&gt;shaping interval is 0 milliseconds. intervals below 4 milliseconds rejected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So 4ms does look like the lowest Cisco will accept&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will continue to test this and see what I come back with, thanks for your help and guidance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 11:24:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325807#M126370</guid>
      <dc:creator>analysts</dc:creator>
      <dc:date>2009-08-19T11:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: QoS - Voice Traffic Queueing</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325808#M126371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again, don't become overly concerned if you see packet counting in the LLQ.  Any software queueing just means the hardware queued overflowed (which is what we want since the hardware queue is FIFO).  However, you shouldn't see many packets queued (depth, not overall queued percentage) in the LLQ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't place your LLQ within the child policy, the Tc doesn't need to be as small.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For VoIP and LLQ, the idea is not allow other packets to get in front of them.  This is why we want a minimum hardware queue and, if used, minimum shaper bursting, so that packets are placed into the software queues where LLQ will be dequeued first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 13:29:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/qos-voice-traffic-queueing/m-p/1325808#M126371</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2009-08-19T13:29:49Z</dc:date>
    </item>
  </channel>
</rss>

