[ovs-discuss] Setting MPLS label while adding a flow

Madhusudhan Kandadai madhusudhan.opendaylight at yahoo.com
Fri Feb 7 00:54:57 UTC 2014


I came to know that, the packets are not flowing from in_port to output after I push a flow with MPLS label. I tried using OVS2.0. The exact problem is, the packets are not coming at the output from in_port.

Am I doing wrong with this? I would appreciate if you can shed some light on this regard and also how to see the packets flowing..

Thanks,


Madhusudhan



On Thursday, February 6, 2014 2:18 PM, Vasu Dasari <vdasari at gmail.com> wrote:
 
I have been using >= 2.0 for quite sometime. Not sure in which baseline, the feature is introduced or where the regression could be in (if there is one). 

-Vasu



On Thu, Feb 6, 2014 at 5:04 PM, Madhusudhan Kandadai <madhusudhan.opendaylight at yahoo.com> wrote:

Thanks Vasu. It worked when I program the flows from OpenDaylight to OVS2.0 and I could see the flows as well in the switch.
>
>
>But,when I try to replicate the same thing from OpenDaylight to OVS1.12 and I am not able to see the flows in the switch.
>
>
>Have you seen this issue before? 
> 
>Thanks,
>
>Madhusudhan
>
>
>
>On Thursday, February 6, 2014 9:46 AM, Vasu Dasari <vdasari at gmail.com> wrote:
> 
>Can you try this?
>sudo ovs-ofctl add-flow br0 \
>    in_port=13,dl_dst=00:00:00:00:00:13,dl_type=0x800,nw_dst=11.1.1.0/24,dl_vlan=201,actions=push_mpls:0x8847,set_field:100-\>mpls_label,mod_vlan_vid:20,mod_dl_src:00:00:00:00:00:14,mod_dl_dst:00:00:00:00:00:04,output:14
>
>
>
>
>
>On Wed, Feb 5, 2014 at 7:41 PM, Madhusudhan Kandadai <madhusudhan.opendaylight at yahoo.com> wrote:
>
>Hello,
>>
>>
>>I am not sure whether this question has resolved. If you think this is the repeated question, I appreciate if you can point me to the right person.
>>
>>
>>I actually trying to add a flow for MPLS (Push MPLS type and set MPLS label)
>>
>>
>>sudo ovs-ofctl add-flow s2 in_port=1,dl_type=0x0800,dl_src=22:11:11:11:11:11,dl_dst=22:00:00:00:00:00,actions=push_mpls:0x8847,set_mpls_label:10,output:2 -O OpenFlow13
>>
>>
>>
>>It is throwing me an error: 
>>ovs-ofctl: Unknown action: set_mpls_label
>>
>>
>>
>>But, I try to add a flow without using set_mpls_label:10, i.e.,
>>
>>
>>sudo ovs-ofctl add-flow s2 in_port=1,dl_type=0x0800,dl_src=22:11:11:11:11:11,dl_dst=22:00:00:00:00:00,actions=push_mpls:0x8847,output:2 -O OpenFlow13
>>
>>
>>sudo ovs-ofctl dump-flows s2 -O OpenFlow13OFPST_FLOW reply (OF1.3) (xid=0x2):
>> cookie=0x0, duration=8.422s, table=0, n_packets=0, n_bytes=0, ip,in_port=1,dl_src=22:11:11:11:11:11,dl_dst=22:00:00:00:00:00 actions=push_mpls:0x8847,output:2
>>
>>
>>OVS version used here is :2.0
>>
>>
>>Thanks,
>>Madhusudhan
>>_______________________________________________
>>discuss mailing list
>>discuss at openvswitch.org
>>http://openvswitch.org/mailman/listinfo/discuss
>>
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20140206/950ff51c/attachment-0001.htm>


More information about the discuss mailing list