<?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 802.1p mapping on ingress port in Scripting</title>
    <link>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21104#M341</link>
    <description>Christoph,&lt;BR /&gt;
&lt;BR /&gt;
Here is a example.  Lets say your ingress port is 1:1  and you want to add a dot1p value of 4 to all the traffic coming into  that port.  This is what you would do.&lt;BR /&gt;
&lt;BR /&gt;
1. Apply this ACL to port 1:1:&lt;BR /&gt;
&lt;BR /&gt;
entry replace_dot1p_4{&lt;BR /&gt;
if match all {&lt;BR /&gt;
} then {&lt;BR /&gt;
    permit  ;&lt;BR /&gt;
    replace-dot1p-value 4  ;&lt;BR /&gt;
&lt;BR /&gt;
} }&lt;BR /&gt;
&lt;BR /&gt;
Note:  Dot1p is in the 802.1q part of the frame so 802.1q tagged frames will  have the dot1p value.  If port 1:1 is untagged it will not work.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://gtacknowledge.extremenetworks.com/articles/How_To/How-to-mark-incoming-frames-with-802-1p-value-in-EXOS" target="_blank" rel="nofollow noreferrer noopener"&gt;Link to GTAC Knowledge Article on this topic&lt;BR /&gt;
&lt;/A&gt;</description>
    <pubDate>Tue, 05 May 2015 18:48:00 GMT</pubDate>
    <dc:creator>StephenW</dc:creator>
    <dc:date>2015-05-05T18:48:00Z</dc:date>
    <item>
      <title>QoS 802.1p mapping on ingress port</title>
      <link>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21101#M338</link>
      <description>Hi all,&lt;BR /&gt;
&lt;BR /&gt;
I would like to do a 802.1p marking on the ingress port on the switch, because the end node itself cannot mark 802.1p or DSCP value on its frame/packet.&lt;BR /&gt;
&lt;BR /&gt;
How I can do this?&lt;BR /&gt;
&lt;BR /&gt;
BR&lt;BR /&gt;
&lt;BR /&gt;
Lu</description>
      <pubDate>Tue, 05 May 2015 10:09:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21101#M338</guid>
      <dc:creator>Zhang_Lu</dc:creator>
      <dc:date>2015-05-05T10:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: QoS 802.1p mapping on ingress port</title>
      <link>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21102#M339</link>
      <description>What Hardware do you have?&lt;BR /&gt;</description>
      <pubDate>Tue, 05 May 2015 11:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21102#M339</guid>
      <dc:creator>Christoph</dc:creator>
      <dc:date>2015-05-05T11:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: QoS 802.1p mapping on ingress port</title>
      <link>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21103#M340</link>
      <description>BD 8806 SW</description>
      <pubDate>Tue, 05 May 2015 11:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21103#M340</guid>
      <dc:creator>Zhang_Lu</dc:creator>
      <dc:date>2015-05-05T11:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: QoS 802.1p mapping on ingress port</title>
      <link>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21104#M341</link>
      <description>Christoph,&lt;BR /&gt;
&lt;BR /&gt;
Here is a example.  Lets say your ingress port is 1:1  and you want to add a dot1p value of 4 to all the traffic coming into  that port.  This is what you would do.&lt;BR /&gt;
&lt;BR /&gt;
1. Apply this ACL to port 1:1:&lt;BR /&gt;
&lt;BR /&gt;
entry replace_dot1p_4{&lt;BR /&gt;
if match all {&lt;BR /&gt;
} then {&lt;BR /&gt;
    permit  ;&lt;BR /&gt;
    replace-dot1p-value 4  ;&lt;BR /&gt;
&lt;BR /&gt;
} }&lt;BR /&gt;
&lt;BR /&gt;
Note:  Dot1p is in the 802.1q part of the frame so 802.1q tagged frames will  have the dot1p value.  If port 1:1 is untagged it will not work.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://gtacknowledge.extremenetworks.com/articles/How_To/How-to-mark-incoming-frames-with-802-1p-value-in-EXOS" target="_blank" rel="nofollow noreferrer noopener"&gt;Link to GTAC Knowledge Article on this topic&lt;BR /&gt;
&lt;/A&gt;</description>
      <pubDate>Tue, 05 May 2015 18:48:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21104#M341</guid>
      <dc:creator>StephenW</dc:creator>
      <dc:date>2015-05-05T18:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: QoS 802.1p mapping on ingress port</title>
      <link>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21105#M342</link>
      <description>Thanks! Really helpful.</description>
      <pubDate>Tue, 05 May 2015 18:48:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21105#M342</guid>
      <dc:creator>Zhang_Lu</dc:creator>
      <dc:date>2015-05-05T18:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: QoS 802.1p mapping on ingress port</title>
      <link>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21106#M343</link>
      <description>Hi Williams,&lt;BR /&gt;
&lt;BR /&gt;
Can we also change the DSCP value for a packet, if there is no L3 function enabled on the switch?&lt;BR /&gt;
&lt;BR /&gt;
I mean, like a vlan which is not enabling ipforwarding, can we do a DSCP marking on the ingress untagged port for the traffic from that vlan?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 07 May 2015 07:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21106#M343</guid>
      <dc:creator>Zhang_Lu</dc:creator>
      <dc:date>2015-05-07T07:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: QoS 802.1p mapping on ingress port</title>
      <link>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21107#M344</link>
      <description>Zhang,&lt;BR /&gt;
&lt;BR /&gt;
Yes you can.  You can do this by using an Ingress  ACL to add a dscp value based on the diffserv replacement  mappings on the switch.  In this example below a DSCP code point of 32 will be added on egress.  &lt;B&gt;&lt;BR /&gt;
&lt;BR /&gt;
Note:  When you add a new DSCP value on ingress it will not be examined on egress.  But the next switch in line will be able to prioritize the traffic on egress.&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
1 Apply ACL to your ingress port:&lt;BR /&gt;
&lt;BR /&gt;
entry replace_DSCP_32 { &lt;BR /&gt;
if match all { &lt;BR /&gt;
}&lt;BR /&gt;
then {&lt;BR /&gt;
    qosprofile qp5 ;&lt;BR /&gt;
    replace-dscp  ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
2. Change the diffserv replacement  mappings&lt;BR /&gt;
&lt;BR /&gt;
Switch# configure diffserv replacement qp5 code-point 32&lt;BR /&gt;
Switch# show diffserv replacement &lt;BR /&gt;
QOSProfile-&amp;gt;CodePoint mapping:&lt;BR /&gt;
        QP1 -&amp;gt; 00&lt;BR /&gt;
        QP5 -&amp;gt; 32&lt;BR /&gt;
        QP8 -&amp;gt; 56&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps.</description>
      <pubDate>Thu, 07 May 2015 17:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21107#M344</guid>
      <dc:creator>StephenW</dc:creator>
      <dc:date>2015-05-07T17:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: QoS 802.1p mapping on ingress port</title>
      <link>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21108#M345</link>
      <description>Also, don't forget to enable diffserv replacement on the ingress port.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Switch# enable diffserv replacement ports &lt;I&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;/I&gt;</description>
      <pubDate>Thu, 07 May 2015 17:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/qos-802-1p-mapping-on-ingress-port/m-p/21108#M345</guid>
      <dc:creator>StephenW</dc:creator>
      <dc:date>2015-05-07T17:52:00Z</dc:date>
    </item>
  </channel>
</rss>

