[ovs-discuss] How to close mac learning of OVS ?

Andy Zhou azhou at nicira.com
Wed Dec 18 06:52:06 UTC 2013


Assuming "close" means "turn off"

One possible solution is by using open flow rules:

1) Set the bridge'fail-mode' to secure, using ovs-vsctl.  'standalone' is
the default value.
2) Set up open flow rules with ovs-ofctl:   Set up an openflow rule with
high priority, matches the in_port, apply action other than normal.
3) The in_port the needs mac learning traffic should still have the action
of normal.
4) Use 'ovs-ofctl dump-flows' to verify open flow rules
5) Use 'ovs-appctl fdb/show' to show learned macs.

Hope this helps, Sorry if "close" means something different.


On Tue, Dec 17, 2013 at 10:31 PM, Ben Pfaff <blp at nicira.com> wrote:

> I have no idea what "close" means here.
>
> On Wed, Dec 18, 2013 at 02:30:51PM +0800, ?????j wrote:
> > When close mac learning on one special port, and in this port there
> would be no mac learning table.
> >
> >
> >
> >
> > ------------------ Original ------------------
> > From:  "Ben Pfaff";<blp at nicira.com>;
> > Date:  Wed, Dec 18, 2013 02:26 PM
> > To:  "?????j"<303429515 at qq.com>;
> > Cc:  "discuss"<discuss at openvswitch.org>;
> > Subject:  Re: [ovs-discuss] How to close mac learning of OVS ?
> >
> >
> >
> > What does it mean to close the mac learning mechanism?
> >
> > On Wed, Dec 18, 2013 at 01:59:10PM +0800, ?????j wrote:
> > > Recently, my requirement is to close the mac learning mechanism in one
> special port. Do you know how to do that ?
> > >
> > >
> > >
> > > ------------------ Original ------------------
> > > From: "Ben Pfaff";
> > > Date: 2013??12??18??(??????) ????1:42
> > > To: "?????j"<303429515 at qq.com>;
> > > Cc: "discuss";
> > > Subject: Re: [ovs-discuss] How to close mac learning of OVS ?
> > >
> > >
> > >
> > > On Wed, Dec 18, 2013 at 09:51:20AM +0800, ?????j wrote:
> > > >      Can I close the mac learning mechanism in OVS, and how to do
> that ?
> > >
> > > What does it mean to close to mac learning mechanism?
> > > .
> > .
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131217/39461776/attachment.html>


More information about the discuss mailing list