<?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: ACL issue for QoS in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-issue-for-qos/m-p/27821#M4134</link>
    <description>Hi Sumanta,&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;"if match all"&lt;/B&gt; means all match condition lines must be true to take the defined action&lt;BR /&gt;
&lt;B&gt;"if match any"&lt;/B&gt; means just 1 line must be true to take the defined action&lt;BR /&gt;
&lt;BR /&gt;
For access-list you cannot repeat the same match condition. That means you have to create 1 rule for each IP (using the same .pol file).&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Example:&lt;/B&gt;&lt;BR /&gt;
&lt;B&gt;&lt;/B&gt;&lt;BR /&gt;
entry replace_DSCP_40_a {&lt;BR /&gt;
if match all {&lt;BR /&gt;
 source-address 10.53.5.16/29 ;&lt;BR /&gt;
 }&lt;BR /&gt;
then {&lt;BR /&gt;
    qosprofile qp8 ;&lt;BR /&gt;
    replace-dscp  ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
entry replace_DSCP_40_b {&lt;BR /&gt;
if match all {&lt;BR /&gt;
 source-address 10.53.5.24/29 ;&lt;BR /&gt;
 }&lt;BR /&gt;
then {&lt;BR /&gt;
    qosprofile qp8 ;&lt;BR /&gt;
    replace-dscp  ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
entry replace_DSCP_40_c {&lt;BR /&gt;
if match all {&lt;BR /&gt;
 source-address 10.53.5.32/30 ;&lt;BR /&gt;
 }&lt;BR /&gt;
then {&lt;BR /&gt;
    qosprofile qp8 ;&lt;BR /&gt;
    replace-dscp  ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
And so on...&lt;BR /&gt;</description>
    <pubDate>Wed, 21 Sep 2016 18:37:00 GMT</pubDate>
    <dc:creator>Henrique</dc:creator>
    <dc:date>2016-09-21T18:37:00Z</dc:date>
    <item>
      <title>ACL issue for QoS</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-issue-for-qos/m-p/27818#M4131</link>
      <description>I am trying to classify traffic on ingress port/vlan and remark DSCP values in them. Not sure if I use only "if" statement or "if match any/all" statement? What is the difference between any and all?&lt;BR /&gt;
&lt;BR /&gt;
I also got an error while trying to use the ACL via a policy file.&lt;BR /&gt;
&lt;BR /&gt;
"Error: Policy Test has syntax errors &lt;BR /&gt;
Line 4 : Attribute source-address already exists as a match statement in Acl entry. "&lt;BR /&gt;
&lt;BR /&gt;
CLI given below:-&lt;BR /&gt;
&lt;BR /&gt;
SWT-01 # vi qos-1.pol&lt;BR /&gt;
entry replace_DSCP_40 {&lt;BR /&gt;
if match all {&lt;BR /&gt;
 source-address &lt;A href="http://10.53.5.16/29" target="_blank" rel="nofollow noreferrer noopener"&gt;10.53.5.16/29&lt;/A&gt; ;&lt;BR /&gt;
 source-address &lt;A href="http://10.53.5.24/29" target="_blank" rel="nofollow noreferrer noopener"&gt;10.53.5.24/29&lt;/A&gt; ;&lt;BR /&gt;
 source-address &lt;A href="http://10.53.5.32/30" target="_blank" rel="nofollow noreferrer noopener"&gt;10.53.5.32/30&lt;/A&gt; ;&lt;BR /&gt;
 source-address &lt;A href="http://10.53.5.36/30" target="_blank" rel="nofollow noreferrer noopener"&gt;10.53.5.36/30&lt;/A&gt; ;&lt;BR /&gt;
 source-address &lt;A href="http://10.53.5.40/30" target="_blank" rel="nofollow noreferrer noopener"&gt;10.53.5.40/30&lt;/A&gt; ;&lt;BR /&gt;
 source-address &lt;A href="http://10.53.5.44/30" target="_blank" rel="nofollow noreferrer noopener"&gt;10.53.5.44/30&lt;/A&gt; ;&lt;BR /&gt;
 source-address &lt;A href="http://10.53.5.48/28" target="_blank" rel="nofollow noreferrer noopener"&gt;10.53.5.48/28&lt;/A&gt; ;&lt;BR /&gt;
 source-address &lt;A href="http://10.53.5.64/28" target="_blank" rel="nofollow noreferrer noopener"&gt;10.53.5.64/28&lt;/A&gt; ;&lt;BR /&gt;
 source-address &lt;A href="http://10.53.5.80/30" target="_blank" rel="nofollow noreferrer noopener"&gt;10.53.5.80/30&lt;/A&gt; ;&lt;BR /&gt;
 source-address &lt;A href="http://10.53.5.84/30" target="_blank" rel="nofollow noreferrer noopener"&gt;10.53.5.84/30&lt;/A&gt; ;&lt;BR /&gt;
 source-address &lt;A href="http://10.53.5.88/30" target="_blank" rel="nofollow noreferrer noopener"&gt;10.53.5.88/30&lt;/A&gt; ;&lt;BR /&gt;
 source-address &lt;A href="http://10.53.5.92/30" target="_blank" rel="nofollow noreferrer noopener"&gt;10.53.5.92/30&lt;/A&gt; ;&lt;BR /&gt;
 }&lt;BR /&gt;
then {&lt;BR /&gt;
    qosprofile qp8 ;&lt;BR /&gt;
    replace-dscp  ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
configure diffserv replacement qp8 code-point 40&lt;BR /&gt;
&lt;BR /&gt;
configure access-list qos-1 VLAN/PORT [ingress|egress]&lt;BR /&gt;
&lt;BR /&gt;
save&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Sep 2016 18:22:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-issue-for-qos/m-p/27818#M4131</guid>
      <dc:creator>Sumanta_Ghosh</dc:creator>
      <dc:date>2016-09-21T18:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: ACL issue for QoS</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-issue-for-qos/m-p/27819#M4132</link>
      <description>Hello Sumanta,&lt;BR /&gt;
&lt;BR /&gt;
You will need to make those individual entries. You cannot have multiple match conditions be the same in one entry.</description>
      <pubDate>Wed, 21 Sep 2016 18:28:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-issue-for-qos/m-p/27819#M4132</guid>
      <dc:creator>Patrick_Voss</dc:creator>
      <dc:date>2016-09-21T18:28:00Z</dc:date>
    </item>
    <item>
      <title>RE: ACL issue for QoS</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-issue-for-qos/m-p/27820#M4133</link>
      <description>You can only use match statement source-address once in every entry. The only ACL where it is possible to have multiple match statements with the same keyword are nlri match statements that are used in bgp for example.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Sep 2016 18:29:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-issue-for-qos/m-p/27820#M4133</guid>
      <dc:creator>OscarK</dc:creator>
      <dc:date>2016-09-21T18:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: ACL issue for QoS</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-issue-for-qos/m-p/27821#M4134</link>
      <description>Hi Sumanta,&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;"if match all"&lt;/B&gt; means all match condition lines must be true to take the defined action&lt;BR /&gt;
&lt;B&gt;"if match any"&lt;/B&gt; means just 1 line must be true to take the defined action&lt;BR /&gt;
&lt;BR /&gt;
For access-list you cannot repeat the same match condition. That means you have to create 1 rule for each IP (using the same .pol file).&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Example:&lt;/B&gt;&lt;BR /&gt;
&lt;B&gt;&lt;/B&gt;&lt;BR /&gt;
entry replace_DSCP_40_a {&lt;BR /&gt;
if match all {&lt;BR /&gt;
 source-address 10.53.5.16/29 ;&lt;BR /&gt;
 }&lt;BR /&gt;
then {&lt;BR /&gt;
    qosprofile qp8 ;&lt;BR /&gt;
    replace-dscp  ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
entry replace_DSCP_40_b {&lt;BR /&gt;
if match all {&lt;BR /&gt;
 source-address 10.53.5.24/29 ;&lt;BR /&gt;
 }&lt;BR /&gt;
then {&lt;BR /&gt;
    qosprofile qp8 ;&lt;BR /&gt;
    replace-dscp  ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
entry replace_DSCP_40_c {&lt;BR /&gt;
if match all {&lt;BR /&gt;
 source-address 10.53.5.32/30 ;&lt;BR /&gt;
 }&lt;BR /&gt;
then {&lt;BR /&gt;
    qosprofile qp8 ;&lt;BR /&gt;
    replace-dscp  ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
And so on...&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Sep 2016 18:37:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-issue-for-qos/m-p/27821#M4134</guid>
      <dc:creator>Henrique</dc:creator>
      <dc:date>2016-09-21T18:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: ACL issue for QoS</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-issue-for-qos/m-p/27822#M4135</link>
      <description>Hi All&lt;BR /&gt;
&lt;BR /&gt;
Many thanks for all your help. I'll try accordingly and let you know.&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Sep 2016 19:47:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-issue-for-qos/m-p/27822#M4135</guid>
      <dc:creator>Sumanta_Ghosh</dc:creator>
      <dc:date>2016-09-21T19:47:00Z</dc:date>
    </item>
  </channel>
</rss>

