Is there a command I can use to return just the IP address assigned to a specific interface?
A search resulted in something close to following line, but it doesnty work.
:put [/ip address get ether3]
Thanks,
Mike
Is there a command I can use to return just the IP address assigned to a specific interface?
A search resulted in something close to following line, but it doesnty work.
:put [/ip address get ether3]
Thanks,
Mike
:put [/ip address get [find interface=“ether”] address ]
:put simply is like echo … its just for debug really. You could also assign that single IP to a variable
:local myip [/ip address get [find interface=“5-coxBiz”] address ]