Hello,

I am sure this is going to be the repeated question. But this time, I tried to 
debug what exactly going on with my problem.

I have inserted a flow and it is mentioned below:
ovs-ofctl add-flow s1 
in_port=1,ip,actions=push_mpls:0x8847,set_field:100-\>mpls_label,output:2 -O 
OpenFlow13


These are the flows in the switch:
cookie=0x0, duration=322.009s, table=0, n_packets=346,
n_bytes=33908, ip,in_port=1
actions=push_mpls:0x8847,set_field:100->mpls_label,output:2


I had a quick peek into the log and found the error and it is shown below:

root@mininet-vm:~# tail -f /var/log/syslog | grep mpls
Feb  6 18:43:55 mininet-vm ovs-vswitchd:
ovs|00634|dpif(miss_handler)|WARN|system@ovs-system: execute
push_mpls(label=100,tc=0,ttl=64,bos=1,eth_type=0x8847),6 failed (Invalid
argument) on packet
icmp,metadata=0,in_port=0,vlan_tci=0x0000,dl_src=2a:31:dd:28:ea:f2,dl_dst=4a:0e:05:fd:80:3d,nw_src=10.0.0.1,nw_dst=10.0.0.2,nw_tos=0,nw_ecn=0,nw_ttl=64,icmp_type=8,icmp_code=0

Can you let me know why I am getting this error? After inserting a flow, and 
when I use 'ifconfig'  to see the packets flowing in the switch, unfortunately, 
the packets are not coming at the output port even-though the packets are 
sending at the input port. Can you guide me how to overcome this error with 
step by step procedure?


Thanks,
Madhusudhan
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to