It seems that vyos does not support port mirroring. In some routers and switch devices, supporting port mirroring can facilitate network analysis and sampling. I found that it seems that the tee module of iptables can be used for port mirroring
https://superuser.com/questions/753294/mirror-port-via-iptables
http://ipset.netfilter.org/iptables-extensions.man.html#lbDU
Consider how to support the ERSPAN protocol
- https://developers.redhat.com/blog/2019/05/17/an-introduction-to-linux-virtual-interfaces-tunnels/#erspan
- http://vger.kernel.org/lpc_net2018_talks/erspan-linux-presentation.pdf
- https://www.youtube.com/watch?v=DItjNsku9zY