[ovs-discuss] ovs-ofctl dump-flows command error : ***parse error***

Dickens Yeh dickens.yeh at gmail.com
Thu Apr 14 02:41:47 UTC 2016


2016-04-14 2:40 GMT+08:00 Ben Pfaff <blp at ovn.org>:

> On Wed, Apr 13, 2016 at 05:17:03PM +0800, Dickens Yeh wrote:
> > I have use the tool ovs-ofctl to dump flows.
> > When I dump, if the flow have match the nw_proto with 17, it shown
> ***parse
> > error*** like this.
> >
> > ovs-ofctl dump-flows tcp:192.168.130.74:6633 -O OpenFlow13
> > 2016-04-13T08:54:43Z|00001|ofp_util|WARN|OFPST_FLOW reply bad match
> > OFPST_FLOW reply (OF1.3) (xid=0x2): flags=[more] ***parse error***
> > OFPST_FLOW reply (OF1.3) (xid=0x2):
> >  cookie=0x4ee8, duration=3572.078s, table=0, n_packets=0, n_bytes=0,
>
> Can you tell us how to reproduce the problem?  What version of Open
> vSwitch is this?
>

Hello Ben,

I use a hardware switch ( from Brocade ), and use the following command to
add the flow entry.
the version of Open vSwitch is 2.5.0, and also the version 2.5.9 have same
problem.

# /home/lab/openvswitch-2.5.0/utilities/ovs-ofctl -O OpenFlow13 -t 10
add-flow tcp:192.168.130.74:6633
priority=24998,table=0,cookie=10200,eth_type=2048,ip_proto=17,in_port=2,tcp_dst=53,actions=output:1

# /home/lab/openvswitch-2.5.0/utilities/ovs-ofctl -O OpenFlow13 dump-flows
tcp:192.168.130.74:6633
2016-04-14T02:21:21Z|00001|ofp_util|WARN|OFPST_FLOW reply bad match
OFPST_FLOW reply (OF1.3) (xid=0x2): ***parse error***

It works if I dump the flows by Ryu-Controller, so I attach the two pcap
files.

In pcap file,
192.168.130.74 is the switch ip
192.168.140.204 is the controller ip

best wishes,
Dickens Yeh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160414/c49b11e3/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: by_ovs_ofctl.pcap
Type: application/octet-stream
Size: 1472 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160414/c49b11e3/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: by_ryu_ctrl.pcap
Type: application/octet-stream
Size: 486 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160414/c49b11e3/attachment-0005.obj>


More information about the discuss mailing list