<?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 DFE configuration for Re-writing IP TOS of a VLAN-Tagged Packet in FAQs</title>
    <link>https://community.extremenetworks.com/t5/faqs/dfe-configuration-for-re-writing-ip-tos-of-a-vlan-tagged-packet/m-p/41822#M73</link>
    <description>Article ID: 5810&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Products&lt;/B&gt;&lt;BR /&gt;
DFE&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Protocols/Features&lt;/B&gt;&lt;BR /&gt;
DSCP&lt;BR /&gt;
TOS&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Standards&lt;/B&gt;&lt;BR /&gt;
802.1p&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Goals&lt;/B&gt;&lt;BR /&gt;
Re-write a 802.1Q VLAN tagged packet&lt;BR /&gt;
Re-write a packet's 802.1p priority&lt;BR /&gt;
Re-write packet's IP TOS&lt;BR /&gt;
Alter a packet's transmit queue&lt;BR /&gt;
Sample configuration&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution&lt;/B&gt;&lt;BR /&gt;
For this example, we have an IP Phone which is sending its VoIP traffic 802.1Q-VLAN tagged into port fe.3.11, and also is setting the IP header's TOS field.&lt;BR /&gt;
&lt;BR /&gt;
The goal of this configuration is to intercept that traffic, and modify the 802.1Q VLAN, 802.1p Priority, and TOS field (&lt;A href="http://bit.ly/1rOVKny" target="_blank" rel="nofollow noreferrer noopener"&gt;5811&lt;/A&gt;) to be in conformance with desired Quality of Service recommendations.&lt;BR /&gt;
&lt;BR /&gt;
Globally enable Class of Service awareness, including the ability to perform a TOS Rewrite:&lt;BR /&gt;
&lt;BR /&gt;
  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set cos state enable&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
Write a Class of Service (to be stored into the COS table at Index 40) specifying a desired 802.1p Priority of 6 and a desired 8-bit TOS value of 104 (triggered from a 6-bit DSCP value of 26, we are here merely ensuring that the last two TOS bits - not used by DSCP - are zeroed), and that the processed frame is to be placed into transmit queue reference 6 (per '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;show cos reference&lt;/PRE&gt;&lt;/DIV&gt;', by default this represents actual txq 6 on a 7G4270-12 - having 16 transmit queues - or actual txq 1 on other models - having 4 transmit queues) for Strict Priority Queuing. This means that a frame to which this Class of Service has been applied will ignore the normal transmit queue mapping from 802.1p Priority.&lt;BR /&gt;
&lt;BR /&gt;
  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set cos settings 40 priority 6 tos-value 104.255 txq-reference 6&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
Create a Policy Profile / "Role" (to be stored into the Policy table at Index 5 and named &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;VoIP&lt;/PRE&gt;&lt;/DIV&gt;) that permits override of 802.1Q Tag VLAN/Priority information but provides no default actions for frames not matching any profile-associated rules/classifications:&lt;BR /&gt;
&lt;BR /&gt;
  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy profile 5 name VoIP tci-overwrite enable&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
Tie policy profile #5 and its rules/classifications to only port fe.3.11, affecting only traffic which ingresses that port:&lt;BR /&gt;
&lt;BR /&gt;
  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule admin-profile port fe.3.11 mask 16 port-string fe.3.11 admin-pid 5&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
Create a policy rule operating under Policy Profile 5 that targets frames with a DSCP value of 26 (TOS value of 104) and forwards them as VLAN 3015, treating them according to CoS setting 40:&lt;BR /&gt;
&lt;BR /&gt;
  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 5 iptos 104 mask 8 vlan 3015 cos 40&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
Because the Profile provides no default action; the non-TOS-labeled, non-802.1Q-Tagged traffic of the phone's attached PC will receive its VLAN and Priority based on port fe.3.11's PVID and PPID settings - as would usually happen in the absence of Policy overrides.&lt;BR /&gt;
&lt;BR /&gt;
For more about the use of these commands, please refer to the &lt;A href="http://extranet.enterasys.com/downloads/" target="_blank" rel="nofollow noreferrer noopener"&gt;Configuration Guide&lt;/A&gt; for your product.</description>
    <pubDate>Wed, 18 Jun 2014 20:41:00 GMT</pubDate>
    <dc:creator>FAQ_User</dc:creator>
    <dc:date>2014-06-18T20:41:00Z</dc:date>
    <item>
      <title>DFE configuration for Re-writing IP TOS of a VLAN-Tagged Packet</title>
      <link>https://community.extremenetworks.com/t5/faqs/dfe-configuration-for-re-writing-ip-tos-of-a-vlan-tagged-packet/m-p/41822#M73</link>
      <description>Article ID: 5810&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Products&lt;/B&gt;&lt;BR /&gt;
DFE&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Protocols/Features&lt;/B&gt;&lt;BR /&gt;
DSCP&lt;BR /&gt;
TOS&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Standards&lt;/B&gt;&lt;BR /&gt;
802.1p&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Goals&lt;/B&gt;&lt;BR /&gt;
Re-write a 802.1Q VLAN tagged packet&lt;BR /&gt;
Re-write a packet's 802.1p priority&lt;BR /&gt;
Re-write packet's IP TOS&lt;BR /&gt;
Alter a packet's transmit queue&lt;BR /&gt;
Sample configuration&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution&lt;/B&gt;&lt;BR /&gt;
For this example, we have an IP Phone which is sending its VoIP traffic 802.1Q-VLAN tagged into port fe.3.11, and also is setting the IP header's TOS field.&lt;BR /&gt;
&lt;BR /&gt;
The goal of this configuration is to intercept that traffic, and modify the 802.1Q VLAN, 802.1p Priority, and TOS field (&lt;A href="http://bit.ly/1rOVKny" target="_blank" rel="nofollow noreferrer noopener"&gt;5811&lt;/A&gt;) to be in conformance with desired Quality of Service recommendations.&lt;BR /&gt;
&lt;BR /&gt;
Globally enable Class of Service awareness, including the ability to perform a TOS Rewrite:&lt;BR /&gt;
&lt;BR /&gt;
  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set cos state enable&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
Write a Class of Service (to be stored into the COS table at Index 40) specifying a desired 802.1p Priority of 6 and a desired 8-bit TOS value of 104 (triggered from a 6-bit DSCP value of 26, we are here merely ensuring that the last two TOS bits - not used by DSCP - are zeroed), and that the processed frame is to be placed into transmit queue reference 6 (per '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;show cos reference&lt;/PRE&gt;&lt;/DIV&gt;', by default this represents actual txq 6 on a 7G4270-12 - having 16 transmit queues - or actual txq 1 on other models - having 4 transmit queues) for Strict Priority Queuing. This means that a frame to which this Class of Service has been applied will ignore the normal transmit queue mapping from 802.1p Priority.&lt;BR /&gt;
&lt;BR /&gt;
  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set cos settings 40 priority 6 tos-value 104.255 txq-reference 6&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
Create a Policy Profile / "Role" (to be stored into the Policy table at Index 5 and named &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;VoIP&lt;/PRE&gt;&lt;/DIV&gt;) that permits override of 802.1Q Tag VLAN/Priority information but provides no default actions for frames not matching any profile-associated rules/classifications:&lt;BR /&gt;
&lt;BR /&gt;
  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy profile 5 name VoIP tci-overwrite enable&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
Tie policy profile #5 and its rules/classifications to only port fe.3.11, affecting only traffic which ingresses that port:&lt;BR /&gt;
&lt;BR /&gt;
  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule admin-profile port fe.3.11 mask 16 port-string fe.3.11 admin-pid 5&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
Create a policy rule operating under Policy Profile 5 that targets frames with a DSCP value of 26 (TOS value of 104) and forwards them as VLAN 3015, treating them according to CoS setting 40:&lt;BR /&gt;
&lt;BR /&gt;
  &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 5 iptos 104 mask 8 vlan 3015 cos 40&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
Because the Profile provides no default action; the non-TOS-labeled, non-802.1Q-Tagged traffic of the phone's attached PC will receive its VLAN and Priority based on port fe.3.11's PVID and PPID settings - as would usually happen in the absence of Policy overrides.&lt;BR /&gt;
&lt;BR /&gt;
For more about the use of these commands, please refer to the &lt;A href="http://extranet.enterasys.com/downloads/" target="_blank" rel="nofollow noreferrer noopener"&gt;Configuration Guide&lt;/A&gt; for your product.</description>
      <pubDate>Wed, 18 Jun 2014 20:41:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/faqs/dfe-configuration-for-re-writing-ip-tos-of-a-vlan-tagged-packet/m-p/41822#M73</guid>
      <dc:creator>FAQ_User</dc:creator>
      <dc:date>2014-06-18T20:41:00Z</dc:date>
    </item>
  </channel>
</rss>

