First, need to dump hex string from Wireshark like below

Enter the ovs-ofctl command
ovs-ofctl packet-out switch in_port actions packet...
Example:
sudo ovs-ofctl packet-out s3 packet=c402326b0000c4013258000008060001080006040001c401325800000a000001c402326b00000a000002000000000000000000000000000000000000,action=mod_vlan_vid:10,output:1
There is no example on the internet, just share the simple command.