I’m not sure if the following is possible, I certainly have failed to make it work with my limited scripting knowledge, and was hoping someone can point me in the right direction or tell me it’s not feasible.
I’d like to track MAC-Address to port’s for reference, and to avoid manual lookup when needed. (I support a lot of clients that have folks that will re-cable without approval / documenting changes).
For one client, the relevant info is in /interface bridge host print, but I can not figure out how to extract the elements (mac-address, on-interface) for further processing or storage. I’m aware that some interfaces will have multiple mac-addresses, etc.
Any assistance, or indication I’m wasting my time, would be appreciated.
I regularly find new reasons to love RouterOS, and my customer base (I work at a regional VAR + MSP) is gradually migrating to routerboard hardware at my near-insistence.