<?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: What is the line length limit on policy file redirect-port-list command? in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/what-is-the-line-length-limit-on-policy-file-redirect-port-list/m-p/42691#M10117</link>
    <description>HI David,&lt;BR /&gt;
&lt;BR /&gt;
For the follow-up question, if we specify the ports 3-5, the port 4 will not be ignored. Because the redirect-port-list does not take VLAN into consideration. &lt;BR /&gt;
If the port 4 is not active or not used, then we can use the above suggestion. &lt;BR /&gt;
&lt;BR /&gt;
Regarding the limits in the characters as reported, I will work with the Engineering and see if this limit can be increased. Will keep this thread updated. &lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;</description>
    <pubDate>Wed, 25 Jan 2017 10:52:00 GMT</pubDate>
    <dc:creator>Prashanth_KG</dc:creator>
    <dc:date>2017-01-25T10:52:00Z</dc:date>
    <item>
      <title>What is the line length limit on policy file redirect-port-list command?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/what-is-the-line-length-limit-on-policy-file-redirect-port-list/m-p/42687#M10113</link>
      <description>Is there a line length limit in ACL policy files, if so what is it?&lt;BR /&gt;
Is there a line continuation command to allow for longer command lengths?&lt;BR /&gt;
Is this error trying to tell me something else?&lt;BR /&gt;
&lt;BR /&gt;
I am getting the following error when I attempt to configure my ingress acces-list:&lt;BR /&gt;
&lt;BR /&gt;
* Slot-1 Stack.3 # configure access-list x450_fsr_afdx_a vlan afdx_a ingressError: &lt;B&gt;Policy x450_fsr_afdx_a has syntax errors&lt;/B&gt;&lt;BR /&gt;
&lt;B&gt;Line 594 : 1:43,1:25,1:33,1:13,1:41,1:23,1:9,1:11,1:1,1:3,1:19,1:15,1:17,1:5,1:7,1:45,1:27,1:39,1:21,1:31 is too long.&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
The policy defined at line 594 is:  (redirect-port-list command is all on one line, 120 characters long).&lt;BR /&gt;
entry VL-1180 {&lt;BR /&gt;
 if match all {    ethernet-destination-address 03:00:00:00:04:9C;   } then {    permit;    redirect-port-list 1:43,1:25,1:33,1:13,1:41,1:23,1:9,1:11,1:1,1:3,1:19,1:15,1:17,1:5,1:7,1:45,1:27,1:39,1:21,1:31;   }  }    All of the ports listed are in the vlan:&lt;BR /&gt;
configure vlan afdx_a add ports 1:1,1:3,1:5,1:7,1:9,1:11,1:13,1:15,1:17,1:19,1:21,1:23,1:25,1:27,1:29,1:31,1:33,1:35,1:37,1:39,1:41,1:43,1:45 untagged &lt;BR /&gt;
&lt;BR /&gt;
Switch version:  Summit-X450-G2-48t-10GE4&lt;BR /&gt;
&lt;BR /&gt;
* Slot-1 Stack.1 # show version&lt;BR /&gt;
Slot-1      : 800600-00-03 1531N-42369 Rev 3.0 BootROM: 1.0.2.1    IMG: 21.1.1.4&lt;BR /&gt;
Slot-2      :&lt;BR /&gt;
Slot-3      :&lt;BR /&gt;
Slot-4      :&lt;BR /&gt;
Slot-5      :&lt;BR /&gt;
Slot-6      :&lt;BR /&gt;
Slot-7      :&lt;BR /&gt;
Slot-8      :&lt;BR /&gt;
&lt;BR /&gt;
Image   : ExtremeXOS version 21.1.1.4 by release-manager&lt;BR /&gt;
          on Mon Mar 7 16:12:04 EST 2016&lt;BR /&gt;
BootROM : 1.0.2.1&lt;BR /&gt;
Diagnostics : 5.3&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jan 2017 01:16:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/what-is-the-line-length-limit-on-policy-file-redirect-port-list/m-p/42687#M10113</guid>
      <dc:creator>David_Winter</dc:creator>
      <dc:date>2017-01-24T01:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: What is the line length limit on policy file redirect-port-list command?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/what-is-the-line-length-limit-on-policy-file-redirect-port-list/m-p/42688#M10114</link>
      <description>I am not aware of a maximum line length, but instead of adding every port manually you could use action redirect-vlan (without anything behind it). This will flood the packets to all ports in the vlan.&lt;BR /&gt;
Your ACL would look like:&lt;BR /&gt;
entry VL-1180 {&lt;BR /&gt;
     if match all {&lt;BR /&gt;
        ethernet-destination-address 03:00:00:00:04:9C;&lt;BR /&gt;
     } then {&lt;BR /&gt;
       redirect-vlan;&lt;BR /&gt;
   }&lt;BR /&gt;
}</description>
      <pubDate>Tue, 24 Jan 2017 14:23:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/what-is-the-line-length-limit-on-policy-file-redirect-port-list/m-p/42688#M10114</guid>
      <dc:creator>OscarK</dc:creator>
      <dc:date>2017-01-24T14:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: What is the line length limit on policy file redirect-port-list command?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/what-is-the-line-length-limit-on-policy-file-redirect-port-list/m-p/42689#M10115</link>
      <description>Hi David,&lt;BR /&gt;
&lt;BR /&gt;
It looks like the redirect-port-list is actually allowing only 64 characters including ;. That is why, we are not able to apply the policy after certain length. We will work internally and see if we increase this length. &lt;BR /&gt;
&lt;BR /&gt;
1:23,1:9,1:11,1:1,1:3,1:19,1:15,1:17,1:5,1:7,1:45,1:27,1:39,1:21 -  This does not work.&lt;BR /&gt;
&lt;BR /&gt;
1:9,1:11,1:1,1:3,1:19,1:15,1:17,1:5,1:7,1:45,1:27,1:39,1:21 - This works. &lt;BR /&gt;
&lt;BR /&gt;
It is not a limit with the number of ports but the characters used after the action modifier redirect-port-list.&lt;BR /&gt;
&lt;BR /&gt;
redirect-port-list 1:1-48; &lt;BR /&gt;
&lt;BR /&gt;
will certainly work. So, we may need to reduce the number of characters by grouping different ports in a range. &lt;BR /&gt;
&lt;BR /&gt;
For example, if port 1:4 is not active and not used, instead of writing, 1:3,1:5&lt;BR /&gt;
&lt;BR /&gt;
we can write 1:3-5 which will reduce the number of characters used. &lt;BR /&gt;
&lt;BR /&gt;
Hope this helps! &lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jan 2017 14:47:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/what-is-the-line-length-limit-on-policy-file-redirect-port-list/m-p/42689#M10115</guid>
      <dc:creator>Prashanth_KG</dc:creator>
      <dc:date>2017-01-24T14:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: What is the line length limit on policy file redirect-port-list command?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/what-is-the-line-length-limit-on-policy-file-redirect-port-list/m-p/42690#M10116</link>
      <description>A follow up question, if my vlan is all the odd ports, and I use a redirect-port-list as suggested (i.e. 1:3-5) will port 4 be ignored since it is not included in the vlan?&lt;BR /&gt;
&lt;BR /&gt;
Also, I did find this statement (I guess erroneous?) in the EXOS_User_Guide_21_1.pdf:&lt;BR /&gt;
&lt;BR /&gt;
"redirect-port-list port_list—Supports multiple redirect ports as arguments. When used inan ACL, matching packets are now redirected to multiple ports as specified in the ACL while&lt;BR /&gt;
overriding the default forwarding decision. &lt;B&gt;Maximum number of ports that can be mentioned in this&lt;/B&gt;&lt;BR /&gt;
&lt;B&gt;list is 64. (Summit X450-G2, X460-G2, X670-G2, X770, X440-G2, and X620)&lt;/B&gt;."&lt;BR /&gt;
&lt;BR /&gt;
Thanks, I will give this a try.</description>
      <pubDate>Tue, 24 Jan 2017 21:07:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/what-is-the-line-length-limit-on-policy-file-redirect-port-list/m-p/42690#M10116</guid>
      <dc:creator>David_Winter</dc:creator>
      <dc:date>2017-01-24T21:07:00Z</dc:date>
    </item>
    <item>
      <title>RE: What is the line length limit on policy file redirect-port-list command?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/what-is-the-line-length-limit-on-policy-file-redirect-port-list/m-p/42691#M10117</link>
      <description>HI David,&lt;BR /&gt;
&lt;BR /&gt;
For the follow-up question, if we specify the ports 3-5, the port 4 will not be ignored. Because the redirect-port-list does not take VLAN into consideration. &lt;BR /&gt;
If the port 4 is not active or not used, then we can use the above suggestion. &lt;BR /&gt;
&lt;BR /&gt;
Regarding the limits in the characters as reported, I will work with the Engineering and see if this limit can be increased. Will keep this thread updated. &lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jan 2017 10:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/what-is-the-line-length-limit-on-policy-file-redirect-port-list/m-p/42691#M10117</guid>
      <dc:creator>Prashanth_KG</dc:creator>
      <dc:date>2017-01-25T10:52:00Z</dc:date>
    </item>
  </channel>
</rss>

