[ovs-discuss] Adding VLAN tag in flow

Nicholas Bastin nick.bastin at gmail.com
Tue Dec 22 03:07:09 UTC 2015


On Mon, Dec 21, 2015 at 12:38 AM, Benoît <benoitne at gmail.com> wrote:

> ovs-ofctl add-flow vswitch_rspan
> priority=500,in_port=8,actions=push_vlan:0x8100,set_field:0-\>vlan_vid,output:7
>
>

I am not sure what this should end up doing - VID 0x000 and 0xFFF are
reserved, with 0x000 having special meaning that the packet is not VLAN
tagged, but carries a priority (in the vlan_pcp field).  I would expect
that for this to work you'd at least have to set vlan_pcp to a legal value.

--
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20151221/5a75ca1c/attachment-0002.html>


More information about the discuss mailing list