You can try this for pushing two MPLS labels:

-Vasu

> sudo ovs-ofctl add-flow br0
in_port=1,dl_type=0x0800,dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:02,dl_vlan=1,actions=push_mpls:0x8847,set_field:100-\>mpls_label,set_field:200-\>mpls_label,output:2

> sudo ovs-ofctl dump-flows br0
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=186.246s, table=0, n_packets=0, n_bytes=0,
idle_age=186, priority=0 actions=NORMAL
 cookie=0x0, duration=2.34s, table=0, n_packets=0, n_bytes=0, idle_age=2,
ip,in_port=1,dl_vlan=1,dl_src=00:00:00:00:01:01,dl_dst=00:00:00:00:01:02
actions=push_mpls:0x8847,load:0x64->OXM_OF_MPLS_LABEL[],load:0xc8->OXM_OF_MPLS_LABEL[],output:2



On Thu, Dec 12, 2013 at 12:51 AM, Senthil <geetha_sent...@sbcglobal.net>wrote:

> Hi
>
> I heard that OVS supports upto 2 labels. I have an application that adds
> flow to push/pop two lables.
> Have any one tried it? Is so, what is the config command?
>
> Thanks
> =Senthil
>
> _______________________________________________
> 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