[ovs-discuss] cannot pop mpls label :

Mounir Azizi mounir.azizi at gmail.com
Sun Jan 19 15:01:04 UTC 2014


Any idea guys ?


On Fri, Jan 17, 2014 at 12:44 PM, Mounir Azizi <mounir.azizi at gmail.com>wrote:

> Hi,
> I'm using openvswitch 2.1.90 for a simple MPLS scenario :
>
> h1 --- S1----S3----S2--- h2
>
> I'm setting OpenFlow13 to all switches :
> # ovs-vsctl set Bridge Si protocols=OpenFlow13
>
> - setting S1 to do push mpls label action :
>
> # ovs-ofctl -O OpenFlow13 add-flow S1
> "in_port=1,actions=push_mpls=0x8847,set_field:10->mpls_label,output=2"
>
> # ovs-ofctl -O openflow13 dump-flows S1
> OFPST_FLOW reply (OF1.3) (xid=0x2):
>  cookie=0x0, duration=295.257s, table=0, n_packets=0, n_bytes=0, in_port=1
> actions=push_mpls:0x8847,set_field:10->mpls_label,output:2
>
> - Setting S3 to do swap mpls label:
>
> # ovs-ofctl -O OpenFlow13 add-flow S3
> "in_port=1,dl_type=0x8847,mpls_label=10,actions=set_field:20->mpls_label,output=2"
>
>
> # ovs-ofctl -O openflow13 dump-flows S3
> OFPST_FLOW reply (OF1.3) (xid=0x2):
>  cookie=0x0, duration=302.336s, table=0, n_packets=0, n_bytes=0,
> mpls,in_port=1,mpls_label=10 actions=set_field:20->mpls_label,output:2
>
>
>
> - but I fail to pop mpls label at S2 :
>
> # ovs-ofctl -O OpenFlow13 add-flow S2
> "in_port=2,dl_type=0x8847,mpls_label=20,actions=pop_mpls:0x0800,output=1"
> ovs-ofctl: none of the usable flow formats (NXM) is among the allowed flow
> formats (OXM-OpenFlow13)
>
>
> Can someone please advise on how to resolve this issue ?
>
> Kind Regards,
>
> Mounir
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140119/36da729a/attachment.html>


More information about the discuss mailing list