You can have a look of "man ovs-ofctl" and the "tutorial" directory,

An example of adding flow is:

ovs-ofctl add-flow [bridge_name] 'in_port=[OpenFlow port number], arp,
actions=drop'

[bridge_name]: the name of the bridge,
[OpenFlow port number]: can be obtained by the "ovs-ofctl show" command
The command will make the specified port drop all arp received.
There are more options listed in "man ovs-ofctl" with explanation, have a
look and apply what you need,


On Thu, Oct 24, 2013 at 6:50 PM, ��ふ�j <[email protected]> wrote:

> Thanks very much!
>      Exactly,I need the function similar with "split-horizon".That is when
> one port receives broadcast packets,then it does not forward these packets
> to other ports.
>      In addition, could you give me the example of configure? I am not
> very do at ovs now.
> Thank you!
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "Alex Wang"**;
> *发送时间:* 2013年10月25日(星期五) 上午9:26
> *收件人:* "��ふ�j"<[email protected]>;
> *主题:* Re: 回复: [ovs-discuss] how to use ovs to controll one port's forward
>
> On Thu, Oct 24, 2013 at 6:16 PM, ��ふ�j <[email protected]> wrote:
>
>> Hi,Alex.
>>    Thanks for your replay. But if I set one port "mod-port no-flood",then
>> the seted port itself can not send ARP broadcast.this leads to the port can
>> not communicate to others.
>>     Do you have other solutions?
>>
>
>
> The "mod-port" is supposed to be run on other ports (ports you do not wish
> to send broadcast pkt to, not the one received the broadcast pkt).
>
> Or, you can add a particular flow so that broadcast pkt received on the
> port is dropped or output to only selected ports.
>
> Thanks,
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to