[ovs-discuss] Setting MPLS label while adding a flow
Madhusudhan Kandadai
madhusudhan.opendaylight at yahoo.com
Thu Feb 6 00:41:52 UTC 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140205/1cce9e28/attachment.html>
More information about the discuss
mailing list