<?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: Can flow-redirect be used on layer 2 ? if yes, Syntax please in ExtremeSwitching (Other)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86488#M3965</link>
    <description>Are both ports in the same VLAN?  You cannot do an L2 redirect across VLANs.  Here's a simple output I took from the lab&lt;BR /&gt;
&lt;BR /&gt;
# vi redir.pol entry l2_redir { if {} then { count redirected ; redirect-port 10 ; }}# create vlan v10 tag 10 # configure vlan v10 add ports 1-2,10 untagged&lt;BR /&gt;
# configure access-list redir port 1 ingress  # show access-list counter &lt;BR /&gt;
Policy Name       Vlan Name        Port   Direction  &lt;BR /&gt;
    Counter Name                   Packet Count         Byte Count           &lt;BR /&gt;
==================================================================&lt;BR /&gt;
redir             *                1      ingress   &lt;BR /&gt;
  &lt;B&gt;  redirected                     42 &lt;/B&gt;                  &lt;BR /&gt;
A second take after a minute:&lt;BR /&gt;
        # show access-list counter &lt;BR /&gt;
Policy Name       Vlan Name        Port   Direction  &lt;BR /&gt;
    Counter Name                   Packet Count         Byte Count           &lt;BR /&gt;
==================================================================&lt;BR /&gt;
redir             *                1      ingress   &lt;BR /&gt;
&lt;B&gt;    redirected                     157   &lt;/B&gt;    # show ports 1,10 statistics &lt;BR /&gt;
Port Statistics                                                                        Mon Apr 16 09:26:26 2018&lt;BR /&gt;
Port      Link       Tx Pkt     Tx Byte      Rx Pkt     Rx Byte      Rx Pkt      Rx Pkt      Tx Pkt      Tx Pkt&lt;BR /&gt;
          State       Count       Count       Count       Count       Bcast       Mcast       Bcast       Mcast&lt;BR /&gt;
========= ===== =========== =========== =========== =========== =========== =========== =========== ===========&lt;BR /&gt;
1         A               8         972          &lt;B&gt;14&lt;/B&gt;         896          14           0           1           7&lt;BR /&gt;
10        A             &lt;B&gt; 19 &lt;/B&gt;       1789           0           0           0           0          13           5&lt;BR /&gt;
========= ===== =========== =========== =========== =========== =========== =========== =========== ===========</description>
    <pubDate>Thu, 12 Apr 2018 18:35:04 GMT</pubDate>
    <dc:creator>Kawawa</dc:creator>
    <dc:date>2018-04-12T18:35:04Z</dc:date>
    <item>
      <title>Can flow-redirect be used on layer 2 ? if yes, Syntax please</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86482#M3959</link>
      <description>I want to redirect flows based on port numbers. Is there a way to achieve that?</description>
      <pubDate>Mon, 09 Apr 2018 17:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86482#M3959</guid>
      <dc:creator>Danial_Jalil</dc:creator>
      <dc:date>2018-04-09T17:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can flow-redirect be used on layer 2 ? if yes, Syntax please</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86483#M3960</link>
      <description>You can do L2 Redirects and this is documented in the user guide and there are examples as well: &lt;A href="https://documentation.extremenetworks.com/exos_22.4/exos_21_1/acl/r_layer-2-policybased-redirect.shtml" target="_blank" rel="nofollow noreferrer noopener"&gt;https://documentation.extremenetworks.com/exos_22.4/exos_21_1/acl/r_layer-2-policybased-redirect.sht...&lt;/A&gt;  I am not sure what you mean by "redirect based on port numbers"...are you referring to using physical ports as the source condition? Not possible,  Or using physical ports as the destination of the redirected traffic? Possible as outlined in link!</description>
      <pubDate>Mon, 09 Apr 2018 20:58:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86483#M3960</guid>
      <dc:creator>Kawawa</dc:creator>
      <dc:date>2018-04-09T20:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can flow-redirect be used on layer 2 ? if yes, Syntax please</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86484#M3961</link>
      <description>yes i mean using physical ports. can i use physical ports as the destination of the redirected traffic?</description>
      <pubDate>Thu, 12 Apr 2018 18:35:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86484#M3961</guid>
      <dc:creator>Danial_Jalil</dc:creator>
      <dc:date>2018-04-12T18:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can flow-redirect be used on layer 2 ? if yes, Syntax please</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86485#M3962</link>
      <description>Yes, the &lt;B&gt;redirect-port&lt;/B&gt; and &lt;B&gt;﻿redirect-port-list &lt;/B&gt;action-modifiers help achieve this.  Please see examples in links I provided the link I shared in my previous comment.</description>
      <pubDate>Thu, 12 Apr 2018 18:35:01 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86485#M3962</guid>
      <dc:creator>Kawawa</dc:creator>
      <dc:date>2018-04-12T18:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can flow-redirect be used on layer 2 ? if yes, Syntax please</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86486#M3963</link>
      <description>But it is not working. I have the following configuration.. I am receiving the traffic with no tags nothing just normal Ethernet frames on port 47 but somehow the ACL is not redirecting them port 48. Am I missing something? &lt;BR /&gt;
&lt;BR /&gt;
* X670V-48x.54 # show access-list&lt;BR /&gt;
Vlan Name    Port   Policy Name          Dir      Rules  Dyn Rules&lt;BR /&gt;
================================================================&lt;BR /&gt;
*            47     testing              ingress  1      0&lt;BR /&gt;
&lt;BR /&gt;
* X670V-48x.55 #vi testing.pol&lt;BR /&gt;
entry rule {&lt;BR /&gt;
if match all {&lt;BR /&gt;
} then {&lt;BR /&gt;
redirect-port 48&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
* X670V-48x.59 # show ports 47-48 statistics&lt;BR /&gt;
Port Statistics                                                                        Thu Apr 12 10:09:00 2018&lt;BR /&gt;
Port      Link       Tx Pkt     Tx Byte      Rx Pkt     Rx Byte      Rx Pkt      Rx Pkt      Tx Pkt      Tx Pkt&lt;BR /&gt;
          State       Count       Count       Count       Count       Bcast       Mcast       Bcast       Mcast&lt;BR /&gt;
========= ===== =========== =========== =========== =========== &lt;BR /&gt;
47        A               0           0     8469676  1084118656           0           0           0           0&lt;BR /&gt;
48        A               0           0           0           0           0           0           0           0&lt;BR /&gt;
&lt;BR /&gt;
========= ===== =========== =========== =========== =========== &lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2018 18:35:02 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86486#M3963</guid>
      <dc:creator>Danial_Jalil</dc:creator>
      <dc:date>2018-04-12T18:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can flow-redirect be used on layer 2 ? if yes, Syntax please</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86487#M3964</link>
      <description>Any help here guys?&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2018 18:35:03 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86487#M3964</guid>
      <dc:creator>Danial_Jalil</dc:creator>
      <dc:date>2018-04-12T18:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can flow-redirect be used on layer 2 ? if yes, Syntax please</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86488#M3965</link>
      <description>Are both ports in the same VLAN?  You cannot do an L2 redirect across VLANs.  Here's a simple output I took from the lab&lt;BR /&gt;
&lt;BR /&gt;
# vi redir.pol entry l2_redir { if {} then { count redirected ; redirect-port 10 ; }}# create vlan v10 tag 10 # configure vlan v10 add ports 1-2,10 untagged&lt;BR /&gt;
# configure access-list redir port 1 ingress  # show access-list counter &lt;BR /&gt;
Policy Name       Vlan Name        Port   Direction  &lt;BR /&gt;
    Counter Name                   Packet Count         Byte Count           &lt;BR /&gt;
==================================================================&lt;BR /&gt;
redir             *                1      ingress   &lt;BR /&gt;
  &lt;B&gt;  redirected                     42 &lt;/B&gt;                  &lt;BR /&gt;
A second take after a minute:&lt;BR /&gt;
        # show access-list counter &lt;BR /&gt;
Policy Name       Vlan Name        Port   Direction  &lt;BR /&gt;
    Counter Name                   Packet Count         Byte Count           &lt;BR /&gt;
==================================================================&lt;BR /&gt;
redir             *                1      ingress   &lt;BR /&gt;
&lt;B&gt;    redirected                     157   &lt;/B&gt;    # show ports 1,10 statistics &lt;BR /&gt;
Port Statistics                                                                        Mon Apr 16 09:26:26 2018&lt;BR /&gt;
Port      Link       Tx Pkt     Tx Byte      Rx Pkt     Rx Byte      Rx Pkt      Rx Pkt      Tx Pkt      Tx Pkt&lt;BR /&gt;
          State       Count       Count       Count       Count       Bcast       Mcast       Bcast       Mcast&lt;BR /&gt;
========= ===== =========== =========== =========== =========== =========== =========== =========== ===========&lt;BR /&gt;
1         A               8         972          &lt;B&gt;14&lt;/B&gt;         896          14           0           1           7&lt;BR /&gt;
10        A             &lt;B&gt; 19 &lt;/B&gt;       1789           0           0           0           0          13           5&lt;BR /&gt;
========= ===== =========== =========== =========== =========== =========== =========== =========== ===========</description>
      <pubDate>Thu, 12 Apr 2018 18:35:04 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86488#M3965</guid>
      <dc:creator>Kawawa</dc:creator>
      <dc:date>2018-04-12T18:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can flow-redirect be used on layer 2 ? if yes, Syntax please</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86489#M3966</link>
      <description>yes, this works, but what about the tagged packets. if packets come with some specfic tag and i want to redirect them how would i do that? because i am expecting untagged, single tagged and double tagged packets in my traffic? &amp;amp; i wont be knowing the tag of the traffic in case of tagged traffic... so i cannot set it as a vlan tag ..</description>
      <pubDate>Thu, 12 Apr 2018 18:35:05 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86489#M3966</guid>
      <dc:creator>Danial_Jalil</dc:creator>
      <dc:date>2018-04-12T18:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can flow-redirect be used on layer 2 ? if yes, Syntax please</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86490#M3967</link>
      <description>any help regarding this question???</description>
      <pubDate>Thu, 12 Apr 2018 18:35:06 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86490#M3967</guid>
      <dc:creator>Danial_Jalil</dc:creator>
      <dc:date>2018-04-12T18:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can flow-redirect be used on layer 2 ? if yes, Syntax please</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86491#M3968</link>
      <description>??</description>
      <pubDate>Thu, 12 Apr 2018 18:35:07 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86491#M3968</guid>
      <dc:creator>Danial_Jalil</dc:creator>
      <dc:date>2018-04-12T18:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can flow-redirect be used on layer 2 ? if yes, Syntax please</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86492#M3969</link>
      <description>I would suggest contacting the GTAC if you still have some questions outstanding. &lt;BR /&gt;
&lt;A href="https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-contact-Extreme-Networks-Global-Technical-Assistance-Center-GTAC" target="_blank" rel="nofollow noreferrer noopener"&gt;https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-contact-Extreme-Networks-Global-Tec...&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2018 18:35:08 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86492#M3969</guid>
      <dc:creator>Doug</dc:creator>
      <dc:date>2018-04-12T18:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can flow-redirect be used on layer 2 ? if yes, Syntax please</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86493#M3970</link>
      <description>&lt;BR /&gt;
&lt;BR /&gt;
Kawawa, Did you actually try to do this or did you just quote the manual?&lt;BR /&gt;
&lt;BR /&gt;
Has anyone had success?&lt;BR /&gt;
&lt;BR /&gt;
I am trying to redirect back to the sending port and the whole "echo kill overide" thing was removed from the newr manuals I am running 15.6.  Was this because the wording of both "egress port change" and "overides echo kill" is redundant or because it doesn't work and is it not possible?  However, I cannot get redirection to any other ports, either.  Which seems like it never worked to begin with.  If you google this topic there are several messages found where people ask the question but no one ever answers - or extreme goes out and sanitizes the answers so they can get paid for them.  Any one know?  &lt;BR /&gt;
&lt;BR /&gt;
entry cdnal {&lt;BR /&gt;
	if {&lt;BR /&gt;
#SUBSTITUTE A VALID MAC ADDRESS&lt;BR /&gt;
		ethernet-destination-address XX:XX:XX:XX:XX:XX; &lt;BR /&gt;
	} then {&lt;BR /&gt;
	#default action&lt;BR /&gt;
		permit; &lt;BR /&gt;
		redirect-port-list 1,4;&lt;BR /&gt;
		count cdnal;&lt;BR /&gt;
&lt;BR /&gt;
	}&lt;BR /&gt;
}	&lt;BR /&gt;
entry cdnac {&lt;BR /&gt;
	if {&lt;BR /&gt;
#SUBSTITUTE A VALID MAC ADDRESS&lt;BR /&gt;
		ethernet-destination-address XX:XX:XX:XX:XX:XX; &lt;BR /&gt;
	} then {&lt;BR /&gt;
	#default action&lt;BR /&gt;
		permit; &lt;BR /&gt;
		redirect-port-list 3,4;&lt;BR /&gt;
		count cdnac;&lt;BR /&gt;
	}&lt;BR /&gt;
}	&lt;BR /&gt;
entry cdnar {&lt;BR /&gt;
	if {&lt;BR /&gt;
#SUBSTITUTE A VALID MAC ADDRESS&lt;BR /&gt;
		ethernet-destination-address XX:XX:XX:XX:XX:XX; &lt;BR /&gt;
	} then {&lt;BR /&gt;
	#default action&lt;BR /&gt;
		permit; &lt;BR /&gt;
		redirect-port-list 5,4;&lt;BR /&gt;
		count cdnar;&lt;BR /&gt;
	}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
Tried applying both as an access-list to a vlan or redirect-port-list to a vlan or port-list.  Amyriad of combinatoins has been attempted and not one frame was ever seen redirected.  My counters count.  But monitoring any segment of the structure with wireshark (and an old HUB) I never see anything sent back to the sender.</description>
      <pubDate>Thu, 14 Feb 2019 00:36:27 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/can-flow-redirect-be-used-on-layer-2-if-yes-syntax-please/m-p/86493#M3970</guid>
      <dc:creator>rdc</dc:creator>
      <dc:date>2019-02-14T00:36:27Z</dc:date>
    </item>
  </channel>
</rss>

