[ovs-dev] MPLS Label Stacking - Issue with single POP

null pointer null.pointer.boom at gmail.com
Fri Dec 5 02:01:29 UTC 2014


Hi,

I have a problem similar to this

http://openvswitch.org/pipermail/dev/2014-April/038779.html

I am using OVSSwitch V2.3 with OpenFlow 1.3 for multiple MPLS labels.

I need to pop one MPLS label while retaining the other labels.
But whenever I use POP_MPLS=0x8847, I get error

sudo ovs-ofctl -O OpenFlow13 add-flow $S1
"table=1,in_port=2,eth_type=0x8847,mpls_bos=0,actions=pop_mpls:0x8847,output:3"
OFPT_ERROR (OF1.3) (xid=0x2): OFPBAC_BAD_ARGUMENT
OFPT_FLOW_MOD (OF1.3) (xid=0x2):
(***truncated to 64 bytes from 104***)
00000000  04 0e 00 68 00 00 00 02-00 00 00 00 00 00 00 00 |...h............|
00000010  00 00 00 00 00 00 00 00-01 00 00 00 00 00 80 00 |................|
00000020  ff ff ff ff ff ff ff ff-ff ff ff ff 00 00 00 00 |................|
00000030  00 01 00 17 80 00 00 04-00 00 00 02 80 00 0a 02 |................|

sudo ovs-ofctl -O OpenFlow13 add-flow $S6
"table=1,in_port=2,eth_type=0x8847,mpls_bos=0,actions=pop_mpls:0x8847,resubmit(,1)"
OFPT_ERROR (OF1.3) (xid=0x2): OFPBAC_BAD_ARGUMENT
OFPT_FLOW_MOD (OF1.3) (xid=0x2):
(***truncated to 64 bytes from 104***)
00000000  04 0e 00 68 00 00 00 02-00 00 00 00 00 00 00 00 |...h............|
00000010  00 00 00 00 00 00 00 00-01 00 00 00 00 00 80 00 |................|
00000020  ff ff ff ff ff ff ff ff-ff ff ff ff 00 00 00 00 |................|
00000030  00 01 00 17 80 00 00 04-00 00 00 02 80 00 0a 02 |................|

However, for POP_MPLS=0x800 this error does not occur
sudo ovs-ofctl -O OpenFlow13 add-flow $S6
"table=1,in_port=2,eth_type=0x8847,mpls_bos=0,actions=pop_mpls:0x800,resubmit(,1)"

It would be very helpful if somebody points out my mistake.

Thanks & Regards,
Maiti



More information about the dev mailing list