Get Mac address of digi IX10 or WR31 via SSH

Good morning ,
As part of NIS2, I need to list all the IP addresses and their Mac Address of our modems.

I have more than 250 modems in the fleet.
I have already made several python scripts to send commands via SSH to configure the 250 modems remotely (time change, forcing 4 G, etc.).

On the other hand, I have been looking for a way to send an SSH command for several days that would return me the Mac Address of the modem. I dont want to have to go phisically at each device to copy the mac adress

Could you help me?

Thank you in advance for your help

Good afternoon,

Regarding the IX10, the Admin CLI commands ‘show system’ and ‘show manufacture’ show the Ethernet MAC address (among other things, so it would need to be parsed).

Regarding the WR31, the CLI command ‘eth 0 status’ shows the MAC address (among other things, so it would need to be parsed).

Is this sufficient?