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

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to