<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.3">
</HEAD>
<BODY>
Open vSwitch currently use the following key to indicate the VLAN on which RSPANed packets will be copied:<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD WIDTH="89%" ALIGN="left" VALIGN="top">
<BLOCKQUOTE>
    <B>mirror.</B><I>brname</I><B>.</B><I>pmname</I><B>.output.vlan=</B><I>vid</I>
</BLOCKQUOTE>
</TD>
</TR>
</TABLE>
<BR>
Would it make sense to disable MAC learning on each VLAN referenced by such a key in the configuration?&nbsp; In the case of an intermediate switch on which no switch-local traffic needs to be copied this key would be present to disable learning for the VLAN but there wouldn't be any corresponding select key to indicate the source of data to be copied.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --- Keith<BR>
<BR>
<BR>
On Mon, 2009-09-28 at 20:18 -0700, Ben Pfaff wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Looks good, but drop the blank line that it adds.  (For whatever
reason it's considered bad style to have blank lines in troff
input, so I've trying to follow that style in manpages as I
continue to write them.)

Jesse Gross &lt;<A HREF="mailto:jesse@nicira.com">jesse@nicira.com</A>&gt; writes:

&gt; Bug #2118
&gt; ---
&gt;  vswitchd/ovs-vswitchd.conf.5.in |   10 +++++++++-
&gt;  1 files changed, 9 insertions(+), 1 deletions(-)
&gt;
&gt; diff --git a/vswitchd/ovs-vswitchd.conf.5.in b/vswitchd/ovs-vswitchd.conf.5.in
&gt; index 12fea6c..e7f0e2e 100644
&gt; --- a/vswitchd/ovs-vswitchd.conf.5.in
&gt; +++ b/vswitchd/ovs-vswitchd.conf.5.in
&gt; @@ -282,7 +282,15 @@ correctly pointed to port 1, with one that incorrectly points to port
&gt;  the end host to the Open vSwitch on port 2, instead of to the end host
&gt;  on port 1, disrupting connectivity.  If mirroring to a VLAN is desired
&gt;  in this scenario, then the physical switch must be replaced by one
&gt; -that learns Ethernet addresses on a per-VLAN basis.
&gt; +that learns Ethernet addresses on a per-VLAN basis.  In addition,
&gt; +learning should be disabled on the VLAN containing mirrored traffic.
&gt; +If this is not done then the intermediate switch will learn the MAC
&gt; +address of each end host from the mirrored traffic.  If packets being
&gt; +sent to that end host are also mirrored, then they will be dropped
&gt; +since the switch will attempt to send them out the input port.
&gt; +Disabling learning for the VLAN will cause the switch to correctly
&gt; +send the packet out all ports configured for that VLAN.
&gt; +
&gt;  .ST &quot;Example&quot;
&gt;  The following \fBovs\-vswitchd\fR configuration copies all frames received
&gt;  on \fBeth1\fR or \fBeth2\fR to \fBeth3\fR.

_______________________________________________
dev mailing list
<A HREF="mailto:dev@openvswitch.org">dev@openvswitch.org</A>
<A HREF="http://openvswitch.org/mailman/listinfo/dev_openvswitch.org">http://openvswitch.org/mailman/listinfo/dev_openvswitch.org</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>