[ovs-discuss] How to turn off mac-learning on specific port

Baohua Yang yangbaohua at gmail.com
Fri Jul 26 01:20:18 UTC 2013


So any rule in the switch with NORMAL action will result in mac-learning on
all inports?
Or only enable mac-learning at the inport related to the rule?
Thanks!


On Fri, Jul 26, 2013 at 12:31 AM, Ben Pfaff <blp at nicira.com> wrote:

> Only the "normal" action does MAC learning, so "flood" will not.
>
> On Thu, Jul 25, 2013 at 01:19:06PM +0800, Baohua Yang wrote:
> > Hi Ben
> >      Thank for your reply!
> >      That rule will flood the flow to all other ports, right?
> >      How can it affect the mac-learning on that port?
> >      Could you please explain a little more or give some reference?
> >      Thanks!
> >
> >
> > On Wed, Jul 24, 2013 at 11:32 PM, Ben Pfaff <blp at nicira.com> wrote:
> >
> > > On Wed, Jul 24, 2013 at 01:46:32PM +0800, Baohua Yang wrote:
> > > >      I know that ovsd has a built-in mac-learning switch, and it is
> > > > necessary to support the "NORMAL" action.
> > > >     Now I want to stop the mac-learning on a given port, but other
> ports
> > > > should work normally.
> > > >     How to implement this? I check the ovs manual, but find no
> solution.
> > >
> > > A flow like
> > >         in_port=123,actions=flood
> > > might do what you want.
> > >
> >
> >
> >
> > --
> > Best wishes!
> > Baohua
>



-- 
Best wishes!
Baohua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130726/6e6c5362/attachment.html>


More information about the discuss mailing list