<?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 QOS Problem: ASA won't let me match dscp in policy in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772382#M171130</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have an ASA 5505 and I am trying to configure QOS so that SIP &amp;amp; Polycom traffic will have priority. I am trusting DSCP in my LAN, and I know DSCP trust needs to be configured everywhere or the markings get dropped.&amp;nbsp; My config is fine up to the point where I try to match dscp ef in the class-map on the ASA.&amp;nbsp; I get the following:&lt;/P&gt;
&lt;P&gt;FW180-SH5505-A# config t&lt;BR /&gt;FW180-SH5505-A(config)# class-map voip_qos_out&lt;BR /&gt;FW180-SH5505-A(config-cmap)# match access-list voip_priority_out&lt;BR /&gt;FW180-SH5505-A(config-cmap)# &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;match dscp ef&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR: Multiple match commands are not supported except for the 'match tunnel-group or default-inspect-traffic' command.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;After some digging, this appears to be bug CSCeh87405.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;I need to know if my QOS will still work if I am only specifying the ACL as the match condition under the class-map or if I absolutely NEED to have the match dscp ef command for my dscp markings from the LAN to be trusted.&lt;/STRONG&gt; &lt;STRONG&gt;Thanks in advance.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Full Config Below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;object-group network 8x8&lt;BR /&gt;&amp;nbsp;network-object 192.xx.xx.0 255.255.255.0&lt;BR /&gt;&amp;nbsp;network-object 192.xx.xx.0 255.255.255.0&lt;BR /&gt;&amp;nbsp;network-object 63.xxx.xx.0 255.255.255.0&lt;BR /&gt;&amp;nbsp;network-object 8.x.xxx.0 255.255.255.0&lt;BR /&gt;&amp;nbsp;network-object 8.xx.x.0 255.255.252.0&lt;BR /&gt;&lt;BR /&gt;object-group service 8x8_VOIP_Ports tcp-udp&lt;BR /&gt;port-object range 5196 5199&lt;BR /&gt;port-object range 5060 5061&lt;BR /&gt;port-object range 2222 2269&lt;BR /&gt;port-object eq 5299&lt;BR /&gt;port-object eq 5443&lt;BR /&gt;&lt;BR /&gt;access-list voip_priority_out extended permit udp 192.168.180.0 255.255.255.0 object-group 8x8 object-group 8x8_VOIP_Ports&lt;BR /&gt;access-list voip_priority_out extended permit tcp 192.168.180.0 255.255.255.0 object-group 8x8 object-group 8x8_VOIP_Ports&lt;BR /&gt;&lt;BR /&gt;access-list voip_priority_in extended permit udp object-group 8x8 192.168.180.0 255.255.255.0 object-group 8x8_VOIP_Ports&lt;BR /&gt;access-list voip_priority_in extended permit tcp 192.168.180.0 255.255.255.0 object-group 8x8 object-group 8x8_VOIP_Ports&lt;BR /&gt;&lt;BR /&gt;priority-queue outside&lt;BR /&gt;&lt;BR /&gt;class-map voip_qos_out&lt;BR /&gt;match access-list voip_priority_out&lt;BR /&gt;&lt;BR /&gt;class-map voip_qos_in&lt;BR /&gt;match access-list voip_priority_in&lt;BR /&gt;&lt;BR /&gt;policy-map Voicepolicy&lt;BR /&gt;class voip_qos_in&lt;BR /&gt;class voip_qos_out&lt;BR /&gt;&amp;nbsp;priority&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;service-policy Voicepolicy interface outside&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 06:48:49 GMT</pubDate>
    <dc:creator>Dean Romanelli</dc:creator>
    <dc:date>2019-03-12T06:48:49Z</dc:date>
    <item>
      <title>QOS Problem: ASA won't let me match dscp in policy</title>
      <link>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772382#M171130</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have an ASA 5505 and I am trying to configure QOS so that SIP &amp;amp; Polycom traffic will have priority. I am trusting DSCP in my LAN, and I know DSCP trust needs to be configured everywhere or the markings get dropped.&amp;nbsp; My config is fine up to the point where I try to match dscp ef in the class-map on the ASA.&amp;nbsp; I get the following:&lt;/P&gt;
&lt;P&gt;FW180-SH5505-A# config t&lt;BR /&gt;FW180-SH5505-A(config)# class-map voip_qos_out&lt;BR /&gt;FW180-SH5505-A(config-cmap)# match access-list voip_priority_out&lt;BR /&gt;FW180-SH5505-A(config-cmap)# &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;match dscp ef&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR: Multiple match commands are not supported except for the 'match tunnel-group or default-inspect-traffic' command.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;After some digging, this appears to be bug CSCeh87405.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;I need to know if my QOS will still work if I am only specifying the ACL as the match condition under the class-map or if I absolutely NEED to have the match dscp ef command for my dscp markings from the LAN to be trusted.&lt;/STRONG&gt; &lt;STRONG&gt;Thanks in advance.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Full Config Below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;object-group network 8x8&lt;BR /&gt;&amp;nbsp;network-object 192.xx.xx.0 255.255.255.0&lt;BR /&gt;&amp;nbsp;network-object 192.xx.xx.0 255.255.255.0&lt;BR /&gt;&amp;nbsp;network-object 63.xxx.xx.0 255.255.255.0&lt;BR /&gt;&amp;nbsp;network-object 8.x.xxx.0 255.255.255.0&lt;BR /&gt;&amp;nbsp;network-object 8.xx.x.0 255.255.252.0&lt;BR /&gt;&lt;BR /&gt;object-group service 8x8_VOIP_Ports tcp-udp&lt;BR /&gt;port-object range 5196 5199&lt;BR /&gt;port-object range 5060 5061&lt;BR /&gt;port-object range 2222 2269&lt;BR /&gt;port-object eq 5299&lt;BR /&gt;port-object eq 5443&lt;BR /&gt;&lt;BR /&gt;access-list voip_priority_out extended permit udp 192.168.180.0 255.255.255.0 object-group 8x8 object-group 8x8_VOIP_Ports&lt;BR /&gt;access-list voip_priority_out extended permit tcp 192.168.180.0 255.255.255.0 object-group 8x8 object-group 8x8_VOIP_Ports&lt;BR /&gt;&lt;BR /&gt;access-list voip_priority_in extended permit udp object-group 8x8 192.168.180.0 255.255.255.0 object-group 8x8_VOIP_Ports&lt;BR /&gt;access-list voip_priority_in extended permit tcp 192.168.180.0 255.255.255.0 object-group 8x8 object-group 8x8_VOIP_Ports&lt;BR /&gt;&lt;BR /&gt;priority-queue outside&lt;BR /&gt;&lt;BR /&gt;class-map voip_qos_out&lt;BR /&gt;match access-list voip_priority_out&lt;BR /&gt;&lt;BR /&gt;class-map voip_qos_in&lt;BR /&gt;match access-list voip_priority_in&lt;BR /&gt;&lt;BR /&gt;policy-map Voicepolicy&lt;BR /&gt;class voip_qos_in&lt;BR /&gt;class voip_qos_out&lt;BR /&gt;&amp;nbsp;priority&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;service-policy Voicepolicy interface outside&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 06:48:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772382#M171130</guid>
      <dc:creator>Dean Romanelli</dc:creator>
      <dc:date>2019-03-12T06:48:49Z</dc:date>
    </item>
    <item>
      <title>Hi Dean,</title>
      <link>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772383#M171131</link>
      <description>&lt;P&gt;Hi Dean,&lt;/P&gt;
&lt;P&gt;You could perform QoS by specifying only ACL in the class-map. dscp with ef bit is mainly used when you are performing priority on VPN traffic as "Type of Service (ToS) bits in the original IP header are copied to the IP header of the encrypted packet so that QoS policies can be enforced after encryption. This allows the DSCP/DiffServ bits to be used for priority anywhere in the QoS policy."&lt;/P&gt;
&lt;P&gt;Please refer the link below to have clear understanding of only ACL based QoS :&lt;/P&gt;
&lt;P&gt;http://www.cisco.com/c/en/us/support/docs/security/asa-5500-x-series-next-generation-firewalls/82310-qos-voip-vpn.html#anc18&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Akshay Rastogi&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 15:31:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772383#M171131</guid>
      <dc:creator>Akshay Rastogi</dc:creator>
      <dc:date>2015-10-30T15:31:35Z</dc:date>
    </item>
    <item>
      <title>Thank you Akshay.</title>
      <link>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772384#M171132</link>
      <description>&lt;P&gt;Thank you Akshay.&lt;/P&gt;
&lt;P&gt;So in this case since the traffic is not riding over a VPN tunnel, I don't need to match dscp ef on the ASA even if I am trusting dscp everywhere in the LAN right? Will the ASA still honor the DSCP markings it gets from my LAN switch?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 16:11:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772384#M171132</guid>
      <dc:creator>Dean Romanelli</dc:creator>
      <dc:date>2015-10-30T16:11:41Z</dc:date>
    </item>
    <item>
      <title>Hi Dean,</title>
      <link>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772385#M171133</link>
      <description>&lt;P&gt;Hi Dean,&lt;/P&gt;
&lt;P&gt;Yes, i belive so. As ASA would not be looking at the ToS bit here so, it will still honor DSCP marking and would classify/ match the traffic on the basis of IP address and ports mentioned in the access-list.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Akshay Rastogi&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 16:38:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772385#M171133</guid>
      <dc:creator>Akshay Rastogi</dc:creator>
      <dc:date>2015-10-30T16:38:27Z</dc:date>
    </item>
    <item>
      <title>Thanks Akshay.</title>
      <link>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772386#M171134</link>
      <description>&lt;P&gt;Thanks Akshay.&lt;/P&gt;
&lt;P&gt;Now what if I wanted QOS on traffic that will be going into a VPN tunnel? Would I just replace the "&lt;SPAN style="color: #000000;"&gt;match access-list voip_priority_out" under the class-map with "match dscp ef?"&amp;nbsp; If so, would that be enough for the ASA to know what to give priority to without an ACL to match the traffic against?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 18:50:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772386#M171134</guid>
      <dc:creator>Dean Romanelli</dc:creator>
      <dc:date>2015-10-30T18:50:40Z</dc:date>
    </item>
    <item>
      <title>Hi Dean,</title>
      <link>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772387#M171135</link>
      <description>&lt;P&gt;Hi Dean,&lt;/P&gt;
&lt;P&gt;Correct. It identifies the tunnel with the help of tunnel destination configuration present in class-map with match dscp ef.&lt;/P&gt;
&lt;P&gt;The link I provided earlier has all the possible scenarios with configuration examples(check the index). It is a very good document to understand the configuration part and what could be done in what situation.&lt;/P&gt;
&lt;P&gt;You could even configure QoS with ACL for VPN as well without using DSCP. refer the link below :&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Akshay Rastogi&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 19:02:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772387#M171135</guid>
      <dc:creator>Akshay Rastogi</dc:creator>
      <dc:date>2015-10-30T19:02:53Z</dc:date>
    </item>
    <item>
      <title>Thanks Again.</title>
      <link>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772388#M171136</link>
      <description>&lt;P&gt;Thanks Again.&lt;/P&gt;
&lt;P&gt;So anytime I am assigning QOS to any traffic flows that go over a VPN tunnel, whether I am matching dscp ef or not I would need the match tunnel-group command under the class map?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2015 19:13:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/qos-problem-asa-won-t-let-me-match-dscp-in-policy/m-p/2772388#M171136</guid>
      <dc:creator>Dean Romanelli</dc:creator>
      <dc:date>2015-10-30T19:13:44Z</dc:date>
    </item>
  </channel>
</rss>

