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

Andy Zhou azhou at nicira.com
Wed Dec 18 08:01:51 UTC 2013


man ovs-ofctl,

https://mail.google.com/mail/u/0/#apps/%E5%BC%B5%E3%81%B5%E6%B8%8F/141ea60ae55a9720

Have you had a chance to finish the "tutorial"

On Tue, Dec 17, 2013 at 11:44 PM, 張ふ渏 <303429515 at qq.com> wrote:

> I'm sorry, I can not understand "action other than normal" and how can I
> add the open flow rule ?
>
>
> ------------------ Original ------------------
> *From: * "Andy Zhou";<azhou at nicira.com>;
> *Date: * Wed, Dec 18, 2013 02:52 PM
> *To: * "Ben Pfaff"<blp at nicira.com>;
> *Cc: * "張ふ渏"<303429515 at qq.com>; "discuss at openvswitch.org"<
> discuss at openvswitch.org>;
> *Subject: * Re: [ovs-discuss] How to close mac learning of OVS ?
>
> 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/20131218/ee295e96/attachment.html>


More information about the discuss mailing list