On Mon, Dec 21, 2015 at 09:38:36AM +0100, Benoît wrote: > I have tried : > ovs-ofctl add-flow vswitch_rspan > priority=500,in_port=8,actions=mod_vlan_vid:888,output:7 > > but I am not seeing the VLAN id.
That should work. > I found another command type but I got an error. > ovs-ofctl add-flow vswitch_rspan > priority=500,in_port=8,actions=push_vlan:0x8100,set_field:0-\>vlan_vid,output:7 > > ovs-ofctl: none of the usable flow formats (OXM,OpenFlow11) is among the > allowed flow formats (OpenFlow10,NXM) You do need to specify what protocol you want, since OpenFlow 1.0 doesn't support push_vlan. But it's weird that you want VLAN 0. > Is there another way to add vlan, or do I make mistake doing like this? _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss