[ovs-dev] ovs-dpctl add-flow

Nithin Raju nithin at vmware.com
Fri Mar 21 13:13:09 UTC 2014


Hi,
You may have a syntax error in the flow you specified. You can dump existing flows and try inserting/modifying them with some changes:

An example of a flow that worked is as follows:
ovs-dpctl add-flow "openvswitch" "in_port(1),eth(src=00:11:22:33:11:02,dst=00:11:22:33:11:01),eth_type(0x0800),ipv4(src=192.168.11.2,dst=192.168.11.1,proto=1,tos=0,ttl=128,frag=no),icmp(type=0,code=0)" "2"

thanks,
Nithin


On Mar 21, 2014, at 2:53 AM, Junguk Cho <jmanbal at gmail.com> wrote:

> Hello, can I insert flow datapath with "ovs-dpctl add-flow"
> 
> I tried to use "ovs-dpctl add-flow [dp] "in_port(x)" "x".
> However, it printed out "ovs-dpctl: updating flow table (Invalid argument)"
> 
> 
> Thanks
> Junguk
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://urldefense.proofpoint.com/v1/url?u=http://openvswitch.org/mailman/listinfo/dev&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=ubrOpIWavCMqX4l4j1LEVpTfDj%2FD5Qyn8KCoJIBGvzo%3D%0A&m=%2BCWL9CMsiPOJLZFWO0snCHHwFfAp9G8YcnxOF1%2B6m6I%3D%0A&s=b5b250069245d3b20bafd05177b0900aa44b8aa3058f2d9948acb661f57fdf2a




More information about the dev mailing list