<?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 Caution regarding the Use of 'tci-overwrite' on the N/S-Series in FAQs</title>
    <link>https://community.extremenetworks.com/t5/faqs/caution-regarding-the-use-of-tci-overwrite-on-the-n-s-series/m-p/43395#M172</link>
    <description>Article ID: 11091 &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Products&lt;/B&gt;&lt;BR /&gt;
Matrix N-Series DFE&lt;BR /&gt;
S-Series&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Changes&lt;/B&gt;&lt;BR /&gt;
Manually configured a policy profile so that &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;tci-overwrite&lt;/PRE&gt;&lt;/DIV&gt; is enabled.&lt;BR /&gt;
Used the policy profile for VLAN-tagged traffic.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Symptoms&lt;/B&gt;&lt;BR /&gt;
The VLAN assignment unexpectedly changes.&lt;BR /&gt;
Traffic entering the policy profile is apparently dropped.&lt;BR /&gt;
Loss of connectivity.&lt;BR /&gt;
&lt;BR /&gt;
The Priority assignment unexpectedly changes.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Cause&lt;/B&gt;&lt;BR /&gt;
Within the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy profile...&lt;/PRE&gt;&lt;/DIV&gt;' command, there is a parameter which controls permission for rewriting elements of the TOS byte, and for rewriting the Tag Control Information - essentially, Priority and VLAN - contained within the incoming 802.1Q Tag (&lt;A href="http://bit.ly/1rOVKny" target="_blank" rel="nofollow noreferrer noopener"&gt;5811&lt;/A&gt;).&lt;BR /&gt;
&lt;BR /&gt;
This is: [tci-overwrite {enable | disable}]   Permit rewrite of the TOS byte and TCI fields?A policy can by default affect both VLAN-&lt;I&gt;un&lt;/I&gt;tagged and VLAN-tagged traffic. Further, if &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;tci-overwrite&lt;/PRE&gt;&lt;/DIV&gt; is enabled, a policy can potentially override the 802.1Q VLAN and/or 802.1P Priority present in incoming 802.1Q Tags, thereby overwriting the 802.1Q VLAN and/or 802.1P Priority used in outgoing 802.1Q Tags.&lt;BR /&gt;
&lt;BR /&gt;
Caution!: If &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;tci-overwrite&lt;/PRE&gt;&lt;/DIV&gt; is enabled, any 802.1Q-tagged traffic processed within the profile &lt;U&gt;will lose all of its TCI content&lt;/U&gt; immediately following egress from the profile - unless that information is reinforced in some manner within the profile. &lt;UL&gt; VLAN information will revert to the ingress port's Port VLAN Identifier (PVID) value ('&lt;PRE&gt;set port vlan...&lt;/PRE&gt;'), which by default equals 1. 
 
Within a policy profile, a VLAN assignment may be set/reinforced by the use of a '&lt;PRE&gt;vlan&lt;/PRE&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;vlan&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' parameter within a matching non-admin classification rule, or in the absence of such a matching rule, by the use of a '&lt;PRE&gt;pvid-status enable pvid&lt;/PRE&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;vlan&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' "catch-all" parameter in the profile command.  Priority information will revert to the ingress port's Port Priority Identifier (PPID) value ('&lt;PRE&gt;set port priority...&lt;/PRE&gt;'), which by default equals zero. 
 
Within a policy profile, a Priority assignment may be set/reinforced by the use of a '&lt;PRE&gt;cos&lt;/PRE&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;cos&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' parameter within a matching non-admin classification rule, or in the absence of such a matching rule, by the use of a '&lt;PRE&gt;cos-status enable cos&lt;/PRE&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;cos&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' "catch-all" parameter in the profile command. The &lt;PRE&gt;cos&lt;/PRE&gt; assignment ties to a "class of service" not otherwise discussed herein. &lt;/UL&gt;
Since VLAN loss is much more likely to be noticed than Priority loss, the remainder of this section discusses the VLAN element in more detail.&lt;BR /&gt;
&lt;BR /&gt;
It is important to understand that when the two parameters '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;pvid-status disable&lt;/PRE&gt;&lt;/DIV&gt;' (or '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;pvid-status enable&lt;/PRE&gt;&lt;/DIV&gt;' with no actual pvid specification) and '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;tci-overwrite enable&lt;/PRE&gt;&lt;/DIV&gt;' are used at the same time, instead the first command effectively functions as '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;pvid-status enable pvid 4095&lt;/PRE&gt;&lt;/DIV&gt;'. That is, if a VLAN assignment is not applied via a matching non-admin rule, the ingress port's PVID VLAN ID will be assigned to the traffic in question. Be aware that there is no indication in the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;show policy profile&lt;/PRE&gt;&lt;/DIV&gt;' command that this is happening - but the result can be an unexpected change in VLAN assignment, leading to apparent traffic loss.&lt;BR /&gt;
&lt;BR /&gt;
For example:N7(su)-&amp;gt;&lt;B&gt;set policy profile 1 name test1 pvid-status disable&lt;/B&gt;&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;set policy profile 2 name test2 pvid-status disable tci-overwrite enable&lt;/B&gt;&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;set policy profile 3 name test3 pvid-status enable pvid 4095&lt;/B&gt;&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;set policy profile 4 name test4 pvid-status enable pvid 4095 tci-overwrite enable&lt;/B&gt;&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;show policy profile 1&lt;/B&gt;&lt;BR /&gt;
Profile Index           :1&lt;BR /&gt;
Profile Name            :test1&lt;BR /&gt;
Row Status              :active&lt;BR /&gt;
Port VID Status         :disabled&lt;BR /&gt;
Port VID Override       :1&lt;BR /&gt;
CoS Status              :disabled&lt;BR /&gt;
CoS                     :0&lt;BR /&gt;
Tagged Egress VLAN List :none&lt;BR /&gt;
Forbidden VLAN List     :none&lt;BR /&gt;
Untagged VLAN List      :none&lt;BR /&gt;
Replace TCI Status      :disabled&lt;BR /&gt;
Rule Precedence         :1-8,12-19,21-22,25-28,31&lt;BR /&gt;
                        :MACSource (1), MACDest (2), IPXSource (3),&lt;BR /&gt;
                        :IPXDest (4), IPXSrcSocket (5), IPXDstSocket (6),&lt;BR /&gt;
                        :IPXClass (7), IPXType (8), IPSource (12),&lt;BR /&gt;
                        :IPDest (13), IPFrag (14), UDPSrcPort (15),&lt;BR /&gt;
                        :UDPDestPort (16), TCPSrcPort (17), TCPDestPort (18),&lt;BR /&gt;
                        :ICMPType (19), IPTOS (21), IPProto (22), Ether (25),&lt;BR /&gt;
                        :LLCDSAPSSAP (26), VLANTag (27), TCI (28), Port (31)&lt;BR /&gt;
Admin Profile Usage     :none&lt;BR /&gt;
Oper Profile Usage      :none&lt;BR /&gt;
Dynamic Profile Usage   :none&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;show policy profile 2&lt;/B&gt;&lt;BR /&gt;
Profile Index           :2&lt;BR /&gt;
Profile Name            :test2&lt;BR /&gt;
Row Status              :active&lt;BR /&gt;
Port VID Status         :&lt;U&gt;disabled&lt;/U&gt;&lt;BR /&gt;
Port VID Override       :&lt;U&gt;1&lt;/U&gt;&lt;BR /&gt;
CoS Status              :disabled&lt;BR /&gt;
CoS                     :0&lt;BR /&gt;
Tagged Egress VLAN List :none&lt;BR /&gt;
Forbidden VLAN List     :none&lt;BR /&gt;
Untagged VLAN List      :none&lt;BR /&gt;
Replace TCI Status      :enabled&lt;BR /&gt;
Rule Precedence         :1-8,12-19,21-22,25-28,31&lt;BR /&gt;
                        :MACSource (1), MACDest (2), IPXSource (3),&lt;BR /&gt;
                        :IPXDest (4), IPXSrcSocket (5), IPXDstSocket (6),&lt;BR /&gt;
                        :IPXClass (7), IPXType (8), IPSource (12),&lt;BR /&gt;
                        :IPDest (13), IPFrag (14), UDPSrcPort (15),&lt;BR /&gt;
                        :UDPDestPort (16), TCPSrcPort (17), TCPDestPort (18),&lt;BR /&gt;
                        :ICMPType (19), IPTOS (21), IPProto (22), Ether (25),&lt;BR /&gt;
                        :LLCDSAPSSAP (26), VLANTag (27), TCI (28), Port (31)&lt;BR /&gt;
Admin Profile Usage     :none&lt;BR /&gt;
Oper Profile Usage      :none&lt;BR /&gt;
Dynamic Profile Usage   :none&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;show policy profile 3&lt;/B&gt;&lt;BR /&gt;
Profile Index           :3&lt;BR /&gt;
Profile Name            :test3&lt;BR /&gt;
Row Status              :active&lt;BR /&gt;
Port VID Status         :enabled&lt;BR /&gt;
Port VID Override       :4095&lt;BR /&gt;
CoS Status              :disabled&lt;BR /&gt;
CoS                     :0&lt;BR /&gt;
Tagged Egress VLAN List :none&lt;BR /&gt;
Forbidden VLAN List     :none&lt;BR /&gt;
Untagged VLAN List      :none&lt;BR /&gt;
Replace TCI Status      :disabled&lt;BR /&gt;
Rule Precedence         :1-8,12-19,21-22,25-28,31&lt;BR /&gt;
                        :MACSource (1), MACDest (2), IPXSource (3),&lt;BR /&gt;
                        :IPXDest (4), IPXSrcSocket (5), IPXDstSocket (6),&lt;BR /&gt;
                        :IPXClass (7), IPXType (8), IPSource (12),&lt;BR /&gt;
                        :IPDest (13), IPFrag (14), UDPSrcPort (15),&lt;BR /&gt;
                        :UDPDestPort (16), TCPSrcPort (17), TCPDestPort (18),&lt;BR /&gt;
                        :ICMPType (19), IPTOS (21), IPProto (22), Ether (25),&lt;BR /&gt;
                        :LLCDSAPSSAP (26), VLANTag (27), TCI (28), Port (31)&lt;BR /&gt;
Admin Profile Usage     :none&lt;BR /&gt;
Oper Profile Usage      :none&lt;BR /&gt;
Dynamic Profile Usage   :none&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;show policy profile 4&lt;/B&gt;&lt;BR /&gt;
Profile Index           :4&lt;BR /&gt;
Profile Name            :test4&lt;BR /&gt;
Row Status              :active&lt;BR /&gt;
Port VID Status         :enabled&lt;BR /&gt;
Port VID Override       :4095&lt;BR /&gt;
CoS Status              :disabled&lt;BR /&gt;
CoS                     :0&lt;BR /&gt;
Tagged Egress VLAN List :none&lt;BR /&gt;
Forbidden VLAN List     :none&lt;BR /&gt;
Untagged VLAN List      :none&lt;BR /&gt;
Replace TCI Status      :enabled&lt;BR /&gt;
Rule Precedence         :1-8,12-19,21-22,25-28,31&lt;BR /&gt;
                        :MACSource (1), MACDest (2), IPXSource (3),&lt;BR /&gt;
                        :IPXDest (4), IPXSrcSocket (5), IPXDstSocket (6),&lt;BR /&gt;
                        :IPXClass (7), IPXType (8), IPSource (12),&lt;BR /&gt;
                        :IPDest (13), IPFrag (14), UDPSrcPort (15),&lt;BR /&gt;
                        :UDPDestPort (16), TCPSrcPort (17), TCPDestPort (18),&lt;BR /&gt;
                        :ICMPType (19), IPTOS (21), IPProto (22), Ether (25),&lt;BR /&gt;
                        :LLCDSAPSSAP (26), VLANTag (27), TCI (28), Port (31)&lt;BR /&gt;
Admin Profile Usage     :none&lt;BR /&gt;
Oper Profile Usage      :none&lt;BR /&gt;
Dynamic Profile Usage   :none&lt;BR /&gt;
N7(su)-&amp;gt;These policies are generally described as they will function.&lt;BR /&gt;
The exception is profile #2, which effectively will function as...Port VID Status         :enabled&lt;BR /&gt;
Port VID Override       :4095Note that since Policy Manager generally uses '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;pvid-status enable pvid 4095&lt;/PRE&gt;&lt;/DIV&gt;' (explicitly defaulting to the PVID VLAN ID if no VLAN classification rules are applied), this issue is primarily confined to instances of manual policy configuration.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution/Workaround&lt;/B&gt;&lt;BR /&gt;
Functions as Designed (FAD).&lt;BR /&gt;
&lt;BR /&gt;
When TCI Overwrite is enabled; the original VLAN Tag information is lost so must be re-established by either a policy rule, or by a default action within the policy profile, or otherwise by the ingress port's VLAN and/or Priority settings.&lt;BR /&gt;
&lt;BR /&gt;
Either disable the &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;tci-overwrite&lt;/PRE&gt;&lt;/DIV&gt; feature if it is not necessary to overwrite the TOS byte of any traffic or the VLAN/Priority of tagged traffic, or ensure that the VLAN and Priority are correctly assigned via one of the three above-stated methods.&lt;BR /&gt;
&lt;BR /&gt;
One means of correctly re-establishing the 12 bits of VLAN information on a frame which was ingressed VLAN-tagged is to classify the frame based on VLAN (it is still present at this point), then for matching frames redundantly assign the same VLAN ID. For example, for a port which serves as an 802.1Q Trunk for VLANs 100 and 200, add these rules to the controlling policy profile index 1:&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 vlantag 100 vlan 100&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 vlantag 200 vlan 200&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
One means of correctly re-establishing the 3 bits of Priority information on a frame which was ingressed VLAN-tagged is to classify the frame based on Priority (it is still present at this point), then for matching frames redundantly assign the same Priority. For example, for the same 802.1Q Trunk port as outlined above, also add a separate rule for each of the incoming priorities that are potentially present (and differ from the PPID). Note that here we are assuming the default '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set cos...&lt;/PRE&gt;&lt;/DIV&gt;' settings in which the "cos" value equals the "priority" value:&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0x00 mask 3 cos 0&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0x20 mask 3 cos 1&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0x40 mask 3 cos 2&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0x60 mask 3 cos 3&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0x80 mask 3 cos 4&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0xa0 mask 3 cos 5&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0xc0 mask 3 cos 6&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0xe0 mask 3 cos 7&lt;/PRE&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 02 May 2014 20:47:00 GMT</pubDate>
    <dc:creator>FAQ_User</dc:creator>
    <dc:date>2014-05-02T20:47:00Z</dc:date>
    <item>
      <title>Caution regarding the Use of 'tci-overwrite' on the N/S-Series</title>
      <link>https://community.extremenetworks.com/t5/faqs/caution-regarding-the-use-of-tci-overwrite-on-the-n-s-series/m-p/43395#M172</link>
      <description>Article ID: 11091 &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Products&lt;/B&gt;&lt;BR /&gt;
Matrix N-Series DFE&lt;BR /&gt;
S-Series&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Changes&lt;/B&gt;&lt;BR /&gt;
Manually configured a policy profile so that &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;tci-overwrite&lt;/PRE&gt;&lt;/DIV&gt; is enabled.&lt;BR /&gt;
Used the policy profile for VLAN-tagged traffic.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Symptoms&lt;/B&gt;&lt;BR /&gt;
The VLAN assignment unexpectedly changes.&lt;BR /&gt;
Traffic entering the policy profile is apparently dropped.&lt;BR /&gt;
Loss of connectivity.&lt;BR /&gt;
&lt;BR /&gt;
The Priority assignment unexpectedly changes.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Cause&lt;/B&gt;&lt;BR /&gt;
Within the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy profile...&lt;/PRE&gt;&lt;/DIV&gt;' command, there is a parameter which controls permission for rewriting elements of the TOS byte, and for rewriting the Tag Control Information - essentially, Priority and VLAN - contained within the incoming 802.1Q Tag (&lt;A href="http://bit.ly/1rOVKny" target="_blank" rel="nofollow noreferrer noopener"&gt;5811&lt;/A&gt;).&lt;BR /&gt;
&lt;BR /&gt;
This is: [tci-overwrite {enable | disable}]   Permit rewrite of the TOS byte and TCI fields?A policy can by default affect both VLAN-&lt;I&gt;un&lt;/I&gt;tagged and VLAN-tagged traffic. Further, if &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;tci-overwrite&lt;/PRE&gt;&lt;/DIV&gt; is enabled, a policy can potentially override the 802.1Q VLAN and/or 802.1P Priority present in incoming 802.1Q Tags, thereby overwriting the 802.1Q VLAN and/or 802.1P Priority used in outgoing 802.1Q Tags.&lt;BR /&gt;
&lt;BR /&gt;
Caution!: If &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;tci-overwrite&lt;/PRE&gt;&lt;/DIV&gt; is enabled, any 802.1Q-tagged traffic processed within the profile &lt;U&gt;will lose all of its TCI content&lt;/U&gt; immediately following egress from the profile - unless that information is reinforced in some manner within the profile. &lt;UL&gt; VLAN information will revert to the ingress port's Port VLAN Identifier (PVID) value ('&lt;PRE&gt;set port vlan...&lt;/PRE&gt;'), which by default equals 1. 
 
Within a policy profile, a VLAN assignment may be set/reinforced by the use of a '&lt;PRE&gt;vlan&lt;/PRE&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;vlan&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' parameter within a matching non-admin classification rule, or in the absence of such a matching rule, by the use of a '&lt;PRE&gt;pvid-status enable pvid&lt;/PRE&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;vlan&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' "catch-all" parameter in the profile command.  Priority information will revert to the ingress port's Port Priority Identifier (PPID) value ('&lt;PRE&gt;set port priority...&lt;/PRE&gt;'), which by default equals zero. 
 
Within a policy profile, a Priority assignment may be set/reinforced by the use of a '&lt;PRE&gt;cos&lt;/PRE&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;cos&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' parameter within a matching non-admin classification rule, or in the absence of such a matching rule, by the use of a '&lt;PRE&gt;cos-status enable cos&lt;/PRE&gt;  &amp;lt;&lt;I&gt;&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;cos&lt;/I&gt;&lt;/PRE&gt;&amp;gt;' "catch-all" parameter in the profile command. The &lt;PRE&gt;cos&lt;/PRE&gt; assignment ties to a "class of service" not otherwise discussed herein. &lt;/UL&gt;
Since VLAN loss is much more likely to be noticed than Priority loss, the remainder of this section discusses the VLAN element in more detail.&lt;BR /&gt;
&lt;BR /&gt;
It is important to understand that when the two parameters '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;pvid-status disable&lt;/PRE&gt;&lt;/DIV&gt;' (or '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;pvid-status enable&lt;/PRE&gt;&lt;/DIV&gt;' with no actual pvid specification) and '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;tci-overwrite enable&lt;/PRE&gt;&lt;/DIV&gt;' are used at the same time, instead the first command effectively functions as '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;pvid-status enable pvid 4095&lt;/PRE&gt;&lt;/DIV&gt;'. That is, if a VLAN assignment is not applied via a matching non-admin rule, the ingress port's PVID VLAN ID will be assigned to the traffic in question. Be aware that there is no indication in the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;show policy profile&lt;/PRE&gt;&lt;/DIV&gt;' command that this is happening - but the result can be an unexpected change in VLAN assignment, leading to apparent traffic loss.&lt;BR /&gt;
&lt;BR /&gt;
For example:N7(su)-&amp;gt;&lt;B&gt;set policy profile 1 name test1 pvid-status disable&lt;/B&gt;&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;set policy profile 2 name test2 pvid-status disable tci-overwrite enable&lt;/B&gt;&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;set policy profile 3 name test3 pvid-status enable pvid 4095&lt;/B&gt;&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;set policy profile 4 name test4 pvid-status enable pvid 4095 tci-overwrite enable&lt;/B&gt;&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;show policy profile 1&lt;/B&gt;&lt;BR /&gt;
Profile Index           :1&lt;BR /&gt;
Profile Name            :test1&lt;BR /&gt;
Row Status              :active&lt;BR /&gt;
Port VID Status         :disabled&lt;BR /&gt;
Port VID Override       :1&lt;BR /&gt;
CoS Status              :disabled&lt;BR /&gt;
CoS                     :0&lt;BR /&gt;
Tagged Egress VLAN List :none&lt;BR /&gt;
Forbidden VLAN List     :none&lt;BR /&gt;
Untagged VLAN List      :none&lt;BR /&gt;
Replace TCI Status      :disabled&lt;BR /&gt;
Rule Precedence         :1-8,12-19,21-22,25-28,31&lt;BR /&gt;
                        :MACSource (1), MACDest (2), IPXSource (3),&lt;BR /&gt;
                        :IPXDest (4), IPXSrcSocket (5), IPXDstSocket (6),&lt;BR /&gt;
                        :IPXClass (7), IPXType (8), IPSource (12),&lt;BR /&gt;
                        :IPDest (13), IPFrag (14), UDPSrcPort (15),&lt;BR /&gt;
                        :UDPDestPort (16), TCPSrcPort (17), TCPDestPort (18),&lt;BR /&gt;
                        :ICMPType (19), IPTOS (21), IPProto (22), Ether (25),&lt;BR /&gt;
                        :LLCDSAPSSAP (26), VLANTag (27), TCI (28), Port (31)&lt;BR /&gt;
Admin Profile Usage     :none&lt;BR /&gt;
Oper Profile Usage      :none&lt;BR /&gt;
Dynamic Profile Usage   :none&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;show policy profile 2&lt;/B&gt;&lt;BR /&gt;
Profile Index           :2&lt;BR /&gt;
Profile Name            :test2&lt;BR /&gt;
Row Status              :active&lt;BR /&gt;
Port VID Status         :&lt;U&gt;disabled&lt;/U&gt;&lt;BR /&gt;
Port VID Override       :&lt;U&gt;1&lt;/U&gt;&lt;BR /&gt;
CoS Status              :disabled&lt;BR /&gt;
CoS                     :0&lt;BR /&gt;
Tagged Egress VLAN List :none&lt;BR /&gt;
Forbidden VLAN List     :none&lt;BR /&gt;
Untagged VLAN List      :none&lt;BR /&gt;
Replace TCI Status      :enabled&lt;BR /&gt;
Rule Precedence         :1-8,12-19,21-22,25-28,31&lt;BR /&gt;
                        :MACSource (1), MACDest (2), IPXSource (3),&lt;BR /&gt;
                        :IPXDest (4), IPXSrcSocket (5), IPXDstSocket (6),&lt;BR /&gt;
                        :IPXClass (7), IPXType (8), IPSource (12),&lt;BR /&gt;
                        :IPDest (13), IPFrag (14), UDPSrcPort (15),&lt;BR /&gt;
                        :UDPDestPort (16), TCPSrcPort (17), TCPDestPort (18),&lt;BR /&gt;
                        :ICMPType (19), IPTOS (21), IPProto (22), Ether (25),&lt;BR /&gt;
                        :LLCDSAPSSAP (26), VLANTag (27), TCI (28), Port (31)&lt;BR /&gt;
Admin Profile Usage     :none&lt;BR /&gt;
Oper Profile Usage      :none&lt;BR /&gt;
Dynamic Profile Usage   :none&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;show policy profile 3&lt;/B&gt;&lt;BR /&gt;
Profile Index           :3&lt;BR /&gt;
Profile Name            :test3&lt;BR /&gt;
Row Status              :active&lt;BR /&gt;
Port VID Status         :enabled&lt;BR /&gt;
Port VID Override       :4095&lt;BR /&gt;
CoS Status              :disabled&lt;BR /&gt;
CoS                     :0&lt;BR /&gt;
Tagged Egress VLAN List :none&lt;BR /&gt;
Forbidden VLAN List     :none&lt;BR /&gt;
Untagged VLAN List      :none&lt;BR /&gt;
Replace TCI Status      :disabled&lt;BR /&gt;
Rule Precedence         :1-8,12-19,21-22,25-28,31&lt;BR /&gt;
                        :MACSource (1), MACDest (2), IPXSource (3),&lt;BR /&gt;
                        :IPXDest (4), IPXSrcSocket (5), IPXDstSocket (6),&lt;BR /&gt;
                        :IPXClass (7), IPXType (8), IPSource (12),&lt;BR /&gt;
                        :IPDest (13), IPFrag (14), UDPSrcPort (15),&lt;BR /&gt;
                        :UDPDestPort (16), TCPSrcPort (17), TCPDestPort (18),&lt;BR /&gt;
                        :ICMPType (19), IPTOS (21), IPProto (22), Ether (25),&lt;BR /&gt;
                        :LLCDSAPSSAP (26), VLANTag (27), TCI (28), Port (31)&lt;BR /&gt;
Admin Profile Usage     :none&lt;BR /&gt;
Oper Profile Usage      :none&lt;BR /&gt;
Dynamic Profile Usage   :none&lt;BR /&gt;
N7(su)-&amp;gt;&lt;B&gt;show policy profile 4&lt;/B&gt;&lt;BR /&gt;
Profile Index           :4&lt;BR /&gt;
Profile Name            :test4&lt;BR /&gt;
Row Status              :active&lt;BR /&gt;
Port VID Status         :enabled&lt;BR /&gt;
Port VID Override       :4095&lt;BR /&gt;
CoS Status              :disabled&lt;BR /&gt;
CoS                     :0&lt;BR /&gt;
Tagged Egress VLAN List :none&lt;BR /&gt;
Forbidden VLAN List     :none&lt;BR /&gt;
Untagged VLAN List      :none&lt;BR /&gt;
Replace TCI Status      :enabled&lt;BR /&gt;
Rule Precedence         :1-8,12-19,21-22,25-28,31&lt;BR /&gt;
                        :MACSource (1), MACDest (2), IPXSource (3),&lt;BR /&gt;
                        :IPXDest (4), IPXSrcSocket (5), IPXDstSocket (6),&lt;BR /&gt;
                        :IPXClass (7), IPXType (8), IPSource (12),&lt;BR /&gt;
                        :IPDest (13), IPFrag (14), UDPSrcPort (15),&lt;BR /&gt;
                        :UDPDestPort (16), TCPSrcPort (17), TCPDestPort (18),&lt;BR /&gt;
                        :ICMPType (19), IPTOS (21), IPProto (22), Ether (25),&lt;BR /&gt;
                        :LLCDSAPSSAP (26), VLANTag (27), TCI (28), Port (31)&lt;BR /&gt;
Admin Profile Usage     :none&lt;BR /&gt;
Oper Profile Usage      :none&lt;BR /&gt;
Dynamic Profile Usage   :none&lt;BR /&gt;
N7(su)-&amp;gt;These policies are generally described as they will function.&lt;BR /&gt;
The exception is profile #2, which effectively will function as...Port VID Status         :enabled&lt;BR /&gt;
Port VID Override       :4095Note that since Policy Manager generally uses '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;pvid-status enable pvid 4095&lt;/PRE&gt;&lt;/DIV&gt;' (explicitly defaulting to the PVID VLAN ID if no VLAN classification rules are applied), this issue is primarily confined to instances of manual policy configuration.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution/Workaround&lt;/B&gt;&lt;BR /&gt;
Functions as Designed (FAD).&lt;BR /&gt;
&lt;BR /&gt;
When TCI Overwrite is enabled; the original VLAN Tag information is lost so must be re-established by either a policy rule, or by a default action within the policy profile, or otherwise by the ingress port's VLAN and/or Priority settings.&lt;BR /&gt;
&lt;BR /&gt;
Either disable the &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;tci-overwrite&lt;/PRE&gt;&lt;/DIV&gt; feature if it is not necessary to overwrite the TOS byte of any traffic or the VLAN/Priority of tagged traffic, or ensure that the VLAN and Priority are correctly assigned via one of the three above-stated methods.&lt;BR /&gt;
&lt;BR /&gt;
One means of correctly re-establishing the 12 bits of VLAN information on a frame which was ingressed VLAN-tagged is to classify the frame based on VLAN (it is still present at this point), then for matching frames redundantly assign the same VLAN ID. For example, for a port which serves as an 802.1Q Trunk for VLANs 100 and 200, add these rules to the controlling policy profile index 1:&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 vlantag 100 vlan 100&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 vlantag 200 vlan 200&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
One means of correctly re-establishing the 3 bits of Priority information on a frame which was ingressed VLAN-tagged is to classify the frame based on Priority (it is still present at this point), then for matching frames redundantly assign the same Priority. For example, for the same 802.1Q Trunk port as outlined above, also add a separate rule for each of the incoming priorities that are potentially present (and differ from the PPID). Note that here we are assuming the default '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set cos...&lt;/PRE&gt;&lt;/DIV&gt;' settings in which the "cos" value equals the "priority" value:&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0x00 mask 3 cos 0&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0x20 mask 3 cos 1&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0x40 mask 3 cos 2&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0x60 mask 3 cos 3&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0x80 mask 3 cos 4&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0xa0 mask 3 cos 5&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0xc0 mask 3 cos 6&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
   &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set policy rule 1 tci 0xe0 mask 3 cos 7&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 May 2014 20:47:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/faqs/caution-regarding-the-use-of-tci-overwrite-on-the-n-s-series/m-p/43395#M172</guid>
      <dc:creator>FAQ_User</dc:creator>
      <dc:date>2014-05-02T20:47:00Z</dc:date>
    </item>
  </channel>
</rss>

