[ovs-dev] [PATCH] Document issues with RSPAN and MAC learning.

Jesse Gross jesse at nicira.com
Tue Sep 29 18:15:31 UTC 2009

Ben Pfaff wrote:
> Keith Amidon <keith at nicira.com> writes:
>> Open vSwitch currently use the following key to indicate the VLAN on which
>> RSPANed packets will be copied:
>>     mirror.brname.pmname.output.vlan=vid
>> Would it make sense to disable MAC learning on each VLAN referenced by such a
>> key in the configuration?  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.
> Currently, if no source is selected, all packets are mirrored.
> I would prefer to add a new key to indicate that MAC learning
> should be disabled on a VLAN.

I agree that adding a new key is cleaner than overloading the existing 
RSPAN one.  In any case, this should be pretty easy to implement, we 
just thought it best to reduce code churn and focus on other issues if 
this isn't too important in the short term.  I filed feature #2136 so we 
remember to implement the real fix.

In the meantime, I pushed the documentation commit (minus the extra 
blank line) since it applies no matter what.

More information about the dev mailing list