Thanks a lot.
+Senthil
________________________________
From: Vasu Dasari <[email protected]>
To: Senthil <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Thursday, December 12, 2013 8:38 AM
Subject: Re: [ovs-discuss] Push/pop two MPLS labels in OVS
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 <[email protected]> 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
>[email protected]
>http://openvswitch.org/mailman/listinfo/discuss
>
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss