How to Forward Multiple Ports to Two Output Ports on MikroTik RouterOS

Hello,
I am using a MikroTik CRS326-24G-2S+IN running RouterOS v6.47.10 (long-term). I can successfully forward one port to another port using the “Mirror Source” and “Mirror Target” options in the “Switch” submenu in WebFig.
However, if possible, I would like to forward multiple ports to two output ports for logging purposes. I heard it might be possible using TCAM or some specific rules settings, but I am not sure how to implement this. Could someone point me in the right directions, as I am not sure where to start looking?

Thank you!

I’ll have to disappoint you but I don’t think the desired setup is possible with your device even though it’s a very powerful one. The only one that will work in your scenario, to my knowledge, is the RB5009

Hi TheCat12,

thank you very much for your feedback. Is it because the chip used in this model can physically only handle forwarding to one port?

Precisely. Only the 88E6393X is capable of mirroring to multiple ports:

https://help.mikrotik.com/docs/display/ROS/Switch+Chip+Features#SwitchChipFeatures-PortMirroring

Thank you again for your reply and the link.
I think I read that page some time ago, must have overlooked that crucial detail.

Just one more question. Is there a way to write some forwarding rules on the CRS326-24G-2S+IN?
For example, I am expecting packets of a certain IP-Range on two ports. Could I implement two rules, that forward those directly to two given ports. Or is that only possible, if the switch chip has TCAM?

That should be quite achievable:

/interface ethernet switch rule
add new-dst-ports=etherx,ethery src-address=x.x.x.x ports=ethera,etherb

Thank you very much for your answer. I will try this and see if that’s good enough so that I don’t need to mirror all traffic.