Community discussions

MikroTik App

Search found 1 match

by choks
Wed Nov 08, 2023 10:24 pm
Forum: Scripting
Topic: Get Mac Address first interface
Replies: 7
Views: 49776

Re: Get Mac Address first interface

:put [/interface ethernet get 0 mac-address ]  
works too , but much shorter to type.

or
:put [/interface ethernet get <current interface name> mac-address ]