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.opendayli...@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@openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to