I am developing a mesh router prototype with the LS1021ATSN-PA.
The router needs to receive all the frames that cannot be forwarded with a set of static rules.
From these frame the router learns of the topology and setup the routing rules.
Everything is setup and the host port is receiving the data by configuring the FL_DOMAIN field of the l2-forwarding-table, but I didn't find a way to know the source port of the data.
I know it is possible to configure MAC_FLTRES and MAC_FLT fields from general-parameters-table to do that in the case of management traffic when you know the destination MAC address, but how can I know the source port of all the forwarded frames regardless of the destination address ?
Thank you for your support.