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

Ben Pfaff blp at nicira.com
Thu Jul 25 16:31:09 UTC 2013


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



More information about the discuss mailing list