2016-04-14 2:40 GMT+08:00 Ben Pfaff <b...@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
by_ovs_ofctl.pcap
Description: Binary data
by_ryu_ctrl.pcap
Description: Binary data
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss