On Thu, Mar 10, 2016 at 10:51:35AM -0800, Ben Warren wrote:
> Hi,
> 
> I’m wondering how to strip VLAN tags when using OpenFlow version 1.1 or 
> greater messaging.  The “strip_vlan” action in “ovs-ofctl” seems to be 
> version 1.0-only.  The “parse_op_flow_mod_str()” function returns 0xa, which 
> = (OFPUTIL_P_OF10_STD_TID | OFPUTIL_P_OF10_NXM_TID).  I’ve tried the 
> following:
> 
>       • Use “pop_vlan” instead of “strip_vlan”, but they seem to be aliased
>       • Use “mod_vlan_vid=0”, but that still sends 802.1Q frames
>       • Use “mod_vlan_vid=-1” and “mod_vlan_vid=0xffff”, but get syntax 
> errors 

Make sure you match on the presence of a VLAN tag; OF1.1+ requires this.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to