[ovs-discuss] Push vlan action from ovs-ofctl
shivansh sharan
shivansh3kiit at gmail.com
Fri Feb 7 02:28:59 UTC 2014
Thanks Joe.
On Wed, Feb 5, 2014 at 10:36 PM, Joe Stringer <joestringer at nicira.com>wrote:
> From the FAQ (
> http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=FAQ;hb=HEAD
> ):
>
> Q: What versions of OpenFlow does Open vSwitch support?
>
> A: Open vSwitch 1.9 and earlier support only OpenFlow 1.0 (plus
> extensions that bring in many of the features from later versions
> of OpenFlow).
>
> Open vSwitch 1.10 and later have experimental support for OpenFlow
> 1.2 and 1.3. On these versions of Open vSwitch, the following
> command enables OpenFlow 1.0, 1.2, and 1.3 on bridge br0:
>
> ovs-vsctl set bridge br0 protocols=OpenFlow10,OpenFlow12,OpenFlow13
>
> Open vSwitch version 2.0 and later will have experimental support
> for OpenFlow 1.1, 1.2, and 1.3. On these versions of Open vSwitch,
> the following command enables OpenFlow 1.0, 1.1, 1.2, and 1.3 on
> bridge br0:
>
> ovs-vsctl set bridge br0 protocols=OpenFlow10,OpenFlow11,OpenFlow12,OpenFlow13
>
> Use the -O option to enable support for later versions of OpenFlow
> in ovs-ofctl. For example:
>
> ovs-ofctl -O OpenFlow13 dump-flows br0
>
> Support for OpenFlow 1.1, 1.2, and 1.3 is still incomplete. Work
> to be done is tracked in OPENFLOW-1.1+ in the Open vSwitch sources
> (also via http://openvswitch.org/development/openflow-1-x-plan/).
> When support for a given OpenFlow version is solidly implemented,
> Open vSwitch will enable that version by default.
>
>
>
> On 5 February 2014 03:12, shivansh sharan <shivansh3kiit at gmail.com> wrote:
>
>> Hi,
>>
>> ovs-version - 2.0 15th OCT release.
>>
>> I am tring to perform push vlan action from ofctl command.
>> Using command
>> ./ovs-ofctl add-flow br0
>> "in_port=1,dl_src=00:00:00:00:00:22,dl_dst=00:00:00:00:00:11,actions=push_vlan:0x8100,20,output:2"
>>
>> But seems to some issue with comand syntax.
>> getting following error message:-
>> ovs-ofctl: none of the usable flow formats (OXM,OpenFlow11) is among the
>> allowed flow formats (OpenFlow10,NXM)
>>
>> already updated the ofctl version using ovs-vsctl command :-
>> vs-vsctl add-br br0 -- set Bridge br0 protocols="OpenFlow10, OpenFlow11,
>> OpenFlow12, OpenFlow13"
>>
>> Thanks in advance
>> Shivansh
>>
>> _______________________________________________
>> discuss mailing list
>> discuss at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/discuss
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140207/6457578e/attachment.html>
More information about the discuss
mailing list