[ovs-discuss] Q-in-Q in OF1.3

Maurice Qureshi Maurice.Qureshi at calix.com
Fri Jun 17 22:20:32 UTC 2016


I just saw following thread on this alias (also attached), is it true for OVS 2.5.0 also? Is it because it is an "optional" action in OF 1.3 spec?

Thanks
Maurice

====  Previous Email Thread ====


OVS doesn't support that.



On Tue, Apr 26, 2016 at 03:53:44PM +0000, Evgeny Sandler wrote:

> Hi Ben,

>

> Yes I know, but I didn't try to configure QinQ functionality, only adding additional .1q tag, this is slightly different and can be done  by standard Ethernet switch.

>

> Evgeny

>

> On 26 ????? 2016, at 18:17, Ben Pfaff <blp at ovn.org<mailto:blp at ovn.org<mailto:blp at ovn.org%3cmailto:blp at ovn.org>>> wrote:

>

> On Tue, Apr 26, 2016 at 02:55:51PM +0000, Evgeny Sandler wrote:

> I'm using OVS-2.1.3 and I'm trying to push additional .1q VLAN tag to

> Ethernet frame which already has one VLAN tag by using ovs-ofctl

> command as follows:

>

> OVS doesn't support QinQ.

===================================

From: discuss [mailto:discuss-bounces at openvswitch.org] On Behalf Of Maurice Qureshi
Sent: Friday, June 17, 2016 2:05 PM
To: discuss at openvswitch.org
Subject: [ovs-discuss] Q-in-Q in OF1.3

I want to add a flow to push a new tag on top of an existing tag. I see following syntax in different examples:

Ovs-Ofctl Add-Flow <Bridge> <Match-Field> Actions=Push_vlan:<Ethertype>,Set_field:<Value>-\>Vlan_vid,Output:<Port>

Using push_vlan,you can push a new vlan to packets,ethertypeis the ethertype for the tag(only support 0x8100 at the moment.set_field is used to set the value of priority ,the format is like this.


Set_field is for pcp value, where do I specify the 12 bit Vlan value.

A working example will be greatly appreciated.

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160617/0277f958/attachment-0002.html>
-------------- next part --------------
An embedded message was scrubbed...
From: Ben Pfaff <blp at ovn.org>
Subject: Re: [ovs-discuss] Push_vlan action
Date: Tue, 26 Apr 2016 15:54:36 +0000
Size: 5443
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160617/0277f958/attachment-0004.mht>
-------------- next part --------------
An embedded message was scrubbed...
From: Evgeny Sandler <Evgeny.Sandler at ecitele.com>
Subject: Re: [ovs-discuss] Push_vlan action
Date: Tue, 26 Apr 2016 15:53:44 +0000
Size: 7077
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160617/0277f958/attachment-0005.mht>


More information about the discuss mailing list