Cloning a package and send to a different destiny

Hi,
I’m learning p4 and I want to use it on a monitoring tool that I developed. I already checked the forum and tutorials but I can’t find even if it is possible to clone a package and send the clone to a different host, keeping the original to their destiny. I’m a new at this, could someone explain to me if this is even possible and how/where can I find how to do it?
Thanks a lot!

Hi @dnredson,

You can clone/mirror a packet easilly, for example in the behavioral model the clone can be “deployed” in 2 steps:

This bheavior should be similar also in other siwtches (SW/HW)