<?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 Show Policy-Map in Switching</title>
    <link>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003202#M225124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you'd apply these as output and not input. Try: service-policy output QoS-PM-Voice on the WAN interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2012 10:33:25 GMT</pubDate>
    <dc:creator>John Blakley</dc:creator>
    <dc:date>2012-08-23T10:33:25Z</dc:date>
    <item>
      <title>Show Policy-Map</title>
      <link>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003197#M225119</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have applied QoS on the ATM interface hoping to improve the VoIP calls quality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface ATM0.1&lt;/P&gt;&lt;P&gt;service-policy input QoS-PM-Voice&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;ip access-list extended QoS-ACL-Voice&lt;/P&gt;&lt;P&gt;permit ip 0.0.0.0 0.0.0.0 123.123.123.0 255.255.255.0&lt;/P&gt;&lt;P&gt;! &lt;/P&gt;&lt;P&gt;class-map match-all QoS-CM-Voice&lt;/P&gt;&lt;P&gt;match access-group name QoS-ACL-Voice&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;policy-map QoS-PM-Voice&lt;/P&gt;&lt;P&gt;class QoS-CM-Voice&lt;/P&gt;&lt;P&gt;&amp;nbsp; set dscp ef&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;123.123.123.0 is the PBX hosted externally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After few days, I get some counters from show Policy-map:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Router887W#sho policy-map int atm0.1&lt;/P&gt;&lt;P&gt; ATM0.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Service-policy input: QoS-PM-Voice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Class-map: QoS-CM-Voice (match-all)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 packets, 0 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 minute offered rate 0 bps, drop rate 0 bps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match: access-group name QoS-ACL-Voice&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QoS Set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dscp ef&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Packets marked 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Class-map: class-default (match-any)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15623489 packets, 15318282698 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 minute offered rate 506000 bps, drop rate 0 bps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match: any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Service-policy output: QoS-PM-Voice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Class-map: QoS-CM-Voice (match-all)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 126696 packets, 37368476 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 minute offered rate 0 bps, drop rate 0 bps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match: access-group name QoS-ACL-Voice&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QoS Set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dscp ef&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Packets marked 126696&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Class-map: class-default (match-any)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12328457 packets, 2569388096 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 minute offered rate 87000 bps, drop rate 0 bps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match: any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1. Why there is no counter on for the Service-policy Input?&lt;/P&gt;&lt;P&gt;2. Class-map: QoS-CM-Voice: The counter for total matched packes is equal to the Packets marked (126696).&lt;/P&gt;&lt;P&gt;Does it mean the interface is heavily congested? What can be done to optimise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Pei Wai&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 16:22:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003197#M225119</guid>
      <dc:creator>leepeiwai</dc:creator>
      <dc:date>2019-03-07T16:22:05Z</dc:date>
    </item>
    <item>
      <title>Show Policy-Map</title>
      <link>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003198#M225120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pei Wai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the PBX is hosted externally, the acl that you've applied seems to be marking anything going to that subnet. I'm assuming that 123.123.123.0/24 isn't your subnet, but instead the subnet that the phone switch resides on. With that in mind, the policy that's applied inbound is traffic coming from the outside into your router. A policy that's applied outbound is applied to traffic leaving your router. With that in mind, the acl that you could apply for inbound traffic could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list 123 permit ip 123.123.123.0 0.0.0.255 any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you should start matching packets inbound. For your second question, the packets will always be marked as I don't believe this is a function of congestion by simply marking. The router doesn't know if the packet may be dropped later down the path so it's going to mark in times of non-congestion as well.&amp;nbsp; From the looks of it, you're not prioritizing anything in your policy which may help. The only problem that you might have is with your phone switch being hosted elsewhere. If you don't control both ends, or they've not set qos on their side, you're going to have a hard time getting great quality but you should be able to get acceptable. Try applying this policy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class-map match-all QoS-CM-Voice&lt;/P&gt;&lt;P&gt;match access-group name QoS-ACL-Voice&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;policy-map QoS-PM-Voice&lt;/P&gt;&lt;P&gt;class QoS-CM-Voice&lt;/P&gt;&lt;P&gt;priority percent 5&amp;nbsp; &lt;/P&gt;&lt;P&gt;set dscp ef&lt;/P&gt;&lt;P&gt;class class-default&lt;/P&gt;&lt;P&gt;fair-queue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to play with the percentage for the LLQ, but overall this is a decent start. The policy is now telling the router to give voice packets priority and set the dscp marking to EF. The phone system provider on the other end should be matching EF inbound and giving it priority over FTP, Web, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*** Please rate all useful posts ***&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 10:52:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003198#M225120</guid>
      <dc:creator>John Blakley</dc:creator>
      <dc:date>2012-08-16T10:52:59Z</dc:date>
    </item>
    <item>
      <title>Show Policy-Map</title>
      <link>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003199#M225121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I have tried to read a bit more about LLQ and need your help to explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #f7fafb; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;policy-map QoS-PM-Voice&lt;/P&gt;&lt;P style="background-color: #f7fafb; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;class QoS-CM-Voice&lt;/P&gt;&lt;P style="background-color: #f7fafb; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;priority percent 5 &lt;/P&gt;&lt;P style="background-color: #f7fafb; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;set dscp ef&lt;/P&gt;&lt;P style="background-color: #f7fafb; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;class class-default&lt;/P&gt;&lt;P style="background-color: #f7fafb; border-collapse: collapse; font-size: 12px; list-style: none; font-family: Arial, verdana, sans-serif;"&gt;fair-queue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. why apply fair-queue on class-default (instead of QoS-CM-Voice)?&lt;/P&gt;&lt;P&gt;2. Use priority instead of bandwidth on QoS-CM-Voice?&lt;/P&gt;&lt;P&gt;3. If I only apply dscp ef (without fair-queue and priority), would the traffic be prioritised?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hannah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 07:38:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003199#M225121</guid>
      <dc:creator>leepeiwai</dc:creator>
      <dc:date>2012-08-17T07:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Show Policy-Map</title>
      <link>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003200#M225122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;1. why apply fair-queue on class-default (instead of QoS-CM-Voice)?&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;This is for all of your other traffic. Anything that doesn't match your voice class is going to fall into the class default class (unless you plan on creating other classes later on). Turning on fair-queue allows the router to give fair bandwidth usage to each flow coming through the router.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;2. Use priority instead of bandwidth on QoS-CM-Voice?&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Yes. Priority also polices the traffic and doesn't allow the voice class to take up all of the bandwidth. The voice class would get 5 percent minimum, but also 5 percent maximum. If you were to use bandwidth command, the class would get a guarantee but it wouldn't be capped (unless you put a police command in the same class).&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;3. If I only apply dscp ef (without fair-queue and priority), would the traffic be prioritised?&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; That's going to depend on what's on the other side. This local router wouldn't prioritize it simply because it's just setting the dscp value. You really need to tell it to set aside some bandwidth, with the priority command, for it to be prioritized. Cisco recommends an LLQ for voice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 10:43:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003200#M225122</guid>
      <dc:creator>John Blakley</dc:creator>
      <dc:date>2012-08-17T10:43:34Z</dc:date>
    </item>
    <item>
      <title>Show Policy-Map</title>
      <link>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003201#M225123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I apply LLQ as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map QoS-PM-Voice&lt;/P&gt;&lt;P&gt;class QoS-CM-Voice&lt;/P&gt;&lt;P&gt;priority percent 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get error: &lt;/P&gt;&lt;P&gt;Low Latency Queueing feature not supported in input policy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I apply:&lt;/P&gt;&lt;P&gt;class class-default&lt;/P&gt;&lt;P&gt;fair-queue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get error:&lt;/P&gt;&lt;P&gt;Flow Fair Queueing feature not supported in input policy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Pei Wai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 07:55:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003201#M225123</guid>
      <dc:creator>leepeiwai</dc:creator>
      <dc:date>2012-08-23T07:55:05Z</dc:date>
    </item>
    <item>
      <title>Show Policy-Map</title>
      <link>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003202#M225124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you'd apply these as output and not input. Try: service-policy output QoS-PM-Voice on the WAN interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 10:33:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003202#M225124</guid>
      <dc:creator>John Blakley</dc:creator>
      <dc:date>2012-08-23T10:33:25Z</dc:date>
    </item>
    <item>
      <title>Show Policy-Map</title>
      <link>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003203#M225125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I remove input from ATM interface:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface ATM0.1 point-to-point&lt;/P&gt;&lt;P&gt;no service-policy input QoS-PM-Voice&lt;/P&gt;&lt;P&gt; service-policy output QoS-PM-Voice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I still get error:&lt;/P&gt;&lt;P&gt;(config)#policy-map QoS-PM-Voice&lt;/P&gt;&lt;P&gt;(config-pmap)#class QoS-CM-Voice&lt;/P&gt;&lt;P&gt;(config-pmap-c)#priority percent 5&lt;/P&gt;&lt;P&gt;Configuration failed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(config-pmap-c)#class class-default&lt;/P&gt;&lt;P&gt;(config-pmap-c)#fair-queue&lt;/P&gt;&lt;P&gt;Configuration failed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;peiwai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 07:47:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/show-policy-map/m-p/2003203#M225125</guid>
      <dc:creator>leepeiwai</dc:creator>
      <dc:date>2012-08-29T07:47:30Z</dc:date>
    </item>
  </channel>
</rss>

